Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ReadTimeout
Message:      The read operation timed out
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
                  yield
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 127, in __iter__
                  for part in self._httpcore_stream:
                              ^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/connection_pool.py", line 407, in __iter__
                  raise exc from None
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/connection_pool.py", line 403, in __iter__
                  for part in self._stream:
                              ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/http11.py", line 342, in __iter__
                  raise exc
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/http11.py", line 334, in __iter__
                  for chunk in self._connection._receive_response_body(**kwargs):
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/http11.py", line 203, in _receive_response_body
                  event = self._receive_event(timeout=timeout)
                File "/usr/local/lib/python3.14/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event
                  data = self._network_stream.read(
                      self.READ_NUM_BYTES, timeout=timeout
                  )
                File "/usr/local/lib/python3.14/site-packages/httpcore/_backends/sync.py", line 126, in read
                  with map_exceptions(exc_map):
                       ~~~~~~~~~~~~~~^^^^^^^^^
                File "/usr/local/lib/python3.14/contextlib.py", line 162, in __exit__
                  self.gen.throw(value)
                  ~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
                  raise to_exc(exc) from exc
              httpcore.ReadTimeout: The read operation timed out
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 179, in _generate_tables
                  training_examples = convert_traces_to_training_data(trace_file)
                File "/usr/local/lib/python3.14/site-packages/teich/converter.py", line 3635, in convert_traces_to_training_data
                  rows.extend(_convert_jsonl_file_to_training_rows(path))
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/teich/converter.py", line 3596, in _convert_jsonl_file_to_training_rows
                  rows = load_trace_file(jsonl_file)
                File "/usr/local/lib/python3.14/site-packages/teich/converter.py", line 3025, in load_trace_file
                  for raw_line in handle:
                                  ^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 732, in track_read
                  out = f_read(*args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 1238, in read
                  return super().read(length)
                         ~~~~~~~~~~~~^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/fsspec/spec.py", line 1897, in read
                  out = self.cache._fetch(self.loc, self.loc + length)
                File "/usr/local/lib/python3.14/site-packages/fsspec/caching.py", line 234, in _fetch
                  self.cache = self.fetcher(start, end)  # new block replaces old
                               ~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 1194, in _fetch_range
                  r = http_backoff("GET", url, headers=headers, timeout=constants.HF_HUB_DOWNLOAD_TIMEOUT)
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 559, in http_backoff
                  return next(
                      _http_backoff_base(
                  ...<9 lines>...
                      )
                  )
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 479, in _http_backoff_base
                  raise err
                File "/usr/local/lib/python3.14/site-packages/huggingface_hub/utils/_http.py", line 467, in _http_backoff_base
                  response = client.request(method=method, url=url, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 825, in request
                  return self.send(request, auth=auth, follow_redirects=follow_redirects)
                         ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 928, in send
                  raise exc
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 922, in send
                  response.read()
                  ~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_models.py", line 881, in read
                  self._content = b"".join(self.iter_bytes())
                                  ~~~~~~~~^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_models.py", line 897, in iter_bytes
                  for raw_bytes in self.iter_raw():
                                   ~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_models.py", line 951, in iter_raw
                  for raw_stream_bytes in self.stream:
                                          ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_client.py", line 153, in __iter__
                  for chunk in self._stream:
                               ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 126, in __iter__
                  with map_httpcore_exceptions():
                       ~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/contextlib.py", line 162, in __exit__
                  self.gen.throw(value)
                  ~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
                  raise mapped_exc(message) from exc
              httpx.ReadTimeout: The read operation timed out
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1880, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

harness
string
session_id
string
prompt
string
messages
list
tools
list
metadata
unknown
sent_at
string
num_user_messages
int64
num_tool_calls
int64
trace
unknown
file_path
string
claude_code
001ff8d2-ee5a-4976-9052-45f61230e52d
Implement the following plan: # Plan: Auto-Continue on Model Stop + Max Iterations UX ## Context A user reported that Moltis "just stops" mid-task with no explanation. Their log showed: ``` agent run complete iterations=12 tool_calls=11 ``` **Diagnosis:** The log says `"agent run complete"` (success path), not `"ag...
[{"role":"user","content":"Implement the following plan:\n\n# Plan: Auto-Continue on Model Stop + Ma(...TRUNCATED)
[{"type":"function","function":{"name":"Bash","description":"Run a shell command.","parameters":{"ty(...TRUNCATED)
{"source_file":"001ff8d2-ee5a-4976-9052-45f61230e52d.jsonl","session_id":"001ff8d2-ee5a-4976-9052-45(...TRUNCATED)
2026-04-08T09:35:10.552Z
12
162
"{\"parentUuid\": \"379fd7dd-1157-4977-a8af-206927d2479d\", \"isSidechain\": false, \"promptId\": \"(...TRUNCATED)
traces/001ff8d2-ee5a-4976-9052-45f61230e52d.jsonl
claude_code
002a787f-a3b7-4a3a-b6e4-fe3a95615d0b
<command-message>pr-create</command-message> <command-name>/pr-create</command-name>
[{"role":"system","content":"Claude Code system event (bridge_status):\n/remote-control is active. C(...TRUNCATED)
[{"type":"function","function":{"name":"Bash","description":"Run a shell command.","parameters":{"ty(...TRUNCATED)
{"source_file":"002a787f-a3b7-4a3a-b6e4-fe3a95615d0b.jsonl","session_id":"002a787f-a3b7-4a3a-b6e4-fe(...TRUNCATED)
2026-03-14T01:03:57.850Z
2
4
"{\"parentUuid\": \"48e58554-a091-4385-820d-27fd87b6428d\", \"isSidechain\": false, \"type\": \"syst(...TRUNCATED)
traces/002a787f-a3b7-4a3a-b6e4-fe3a95615d0b.jsonl
claude_code
0042d351-fad5-4c90-8890-a26276efc046
Implement the following plan: # Plan: Integration & UX Testing (3 Layers) ## Context Current tests verify data transformation but not user-facing behavior. Backend WS subscription tests don't verify full flows (set PIN → WS reflects change). Frontend tests ONLY cover extracted pure functions — no component rendering...
[{"role":"user","content":"Implement the following plan:\n\n# Plan: Integration & UX Testing (3 Laye(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Call the Claude deferred tool Agent.",(...TRUNCATED)
{"source_file":"0042d351-fad5-4c90-8890-a26276efc046.jsonl","session_id":"0042d351-fad5-4c90-8890-a2(...TRUNCATED)
2026-03-29T08:36:16.446Z
101
340
"{\"parentUuid\": \"432d0105-8bae-4f40-97a5-9e092e5ec68f\", \"isSidechain\": false, \"promptId\": \"(...TRUNCATED)
traces/0042d351-fad5-4c90-8890-a26276efc046.jsonl
claude_code
004407cd-4bb6-40a4-9ab1-445b085e4dfe
Implement the following plan: # Phase 4: Seamless Chapter Transitions ## Context Currently Pressy is an MPA — each chapter is a separate HTML page with its own JS bundle that statically imports one MDX chapter. Clicking "next chapter" triggers a full page reload (`window.location.href`). This breaks the reading flow...
[{"role":"user","content":"Implement the following plan:\n\n# Phase 4: Seamless Chapter Transitions\(...TRUNCATED)
[{"type":"function","function":{"name":"Bash","description":"Run a shell command.","parameters":{"ty(...TRUNCATED)
{"source_file":"004407cd-4bb6-40a4-9ab1-445b085e4dfe.jsonl","session_id":"004407cd-4bb6-40a4-9ab1-44(...TRUNCATED)
2026-02-15T18:35:57.400Z
36
184
"{\"parentUuid\": \"c26164d1-989d-4968-8f90-92006ea78090\", \"isSidechain\": false, \"userType\": \"(...TRUNCATED)
traces/004407cd-4bb6-40a4-9ab1-445b085e4dfe.jsonl
claude_code
00468b34-359e-43a2-b0bb-30677f1aee5e
<local-command-caveat>Caveat: The messages below were generated by the user while running local commands. DO NOT respond to these messages or otherwise consider them in your response unless the user explicitly asks you to.</local-command-caveat>
[{"role":"assistant","content":"I'll download the artifacts from the latest CI run first.","reasonin(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Call the Claude deferred tool Agent.",(...TRUNCATED)
{"source_file":"00468b34-359e-43a2-b0bb-30677f1aee5e.jsonl","session_id":"00468b34-359e-43a2-b0bb-30(...TRUNCATED)
2026-03-07T00:33:00.954Z
13
52
"{\"parentUuid\": \"a6b2138a-0531-4a84-9e6b-846f5e6471ef\", \"isSidechain\": false, \"userType\": \"(...TRUNCATED)
traces/00468b34-359e-43a2-b0bb-30677f1aee5e.jsonl
claude_code
005f0e42-2d4a-421a-a981-465404b60aab
Coverage gaps to fix on branch feat/guild-roster: - src/daemon/commands.ts: lines 132, 469, 478, 667-679 - src/wow/client.ts: lines 454, 457, 735-758 - src/wow/world-handlers.ts: lines 653-655, 659-663 Add tests to cover these lines. Must reach 100% line coverage on all files. Run mise test:coverage to verify. Push w...
[{"role":"user","content":"Coverage gaps to fix on branch feat/guild-roster:\n\n- src/daemon/command(...TRUNCATED)
[{"type":"function","function":{"name":"Bash","description":"Run a shell command.","parameters":{"ty(...TRUNCATED)
{"source_file":"005f0e42-2d4a-421a-a981-465404b60aab.jsonl","session_id":"005f0e42-2d4a-421a-a981-46(...TRUNCATED)
2026-03-03T05:41:20.698Z
2
41
"{\"parentUuid\": \"dbb58a81-1aa5-4aba-a34c-dbaefdae43f0\", \"isSidechain\": false, \"userType\": \"(...TRUNCATED)
traces/005f0e42-2d4a-421a-a981-465404b60aab.jsonl
claude_code
006568a5-6793-4fe0-ac98-1ddb8d2ba23b
Implement the following plan: # Refactor: Condense at Each Commit (Remove Deferred Condensation) ## Context The manual-commit strategy currently defers condensation when an agent is ACTIVE during a commit. This creates a complex lifecycle involving `PendingCheckpointID`, the `ACTIVE_COMMITTED` phase, `handleTurnEndC...
[{"role":"user","content":"Implement the following plan:\n\n# Refactor: Condense at Each Commit (Rem(...TRUNCATED)
[{"type":"function","function":{"name":"Bash","description":"Run a shell command.","parameters":{"ty(...TRUNCATED)
{"source_file":"006568a5-6793-4fe0-ac98-1ddb8d2ba23b.jsonl","session_id":"006568a5-6793-4fe0-ac98-1d(...TRUNCATED)
2026-02-12T13:07:58.638Z
8
198
"{\"parentUuid\": \"7078fe6d-e9cc-42e6-8d9e-6440551e4f8a\", \"isSidechain\": false, \"userType\": \"(...TRUNCATED)
traces/006568a5-6793-4fe0-ac98-1ddb8d2ba23b.jsonl
claude_code
007f1a33-fa8e-44c6-9836-4a6fa6e03c0a
Implement the following plan: # スクリーンショットを meow リポジトリに差し替え ## Context 記事「コードを読むのをやめた——AIが書いたコードはどうレビューするのか」のスクリーンショットが、現在 documents リポジトリ(Markdown記事の編集セッション)から取得されている。記事のテーマは「AIが書いた**コード**のレビュー」なので、実際のコードを扱う meow リポジトリ(Go製の自作プログラミング言語)の画面に差し替えることで、読者にとってより説得力のある内容にする。 ## 現状の画像と差し替え方針 | 画像ファイル | 現在の内容 | 差し替え先 | |--...
[{"role":"user","content":"Implement the following plan:\n\n# スクリーンショットを meow (...TRUNCATED)
[{"type":"function","function":{"name":"Bash","description":"Run a shell command.","parameters":{"ty(...TRUNCATED)
{"source_file":"007f1a33-fa8e-44c6-9836-4a6fa6e03c0a.jsonl","session_id":"007f1a33-fa8e-44c6-9836-4a(...TRUNCATED)
2026-03-10T07:43:52.121Z
18
87
"{\"parentUuid\": \"0adbde8e-b605-4c6b-9902-eac712d2a1ed\", \"isSidechain\": false, \"userType\": \"(...TRUNCATED)
traces/007f1a33-fa8e-44c6-9836-4a6fa6e03c0a.jsonl
claude_code
008bcd8e-bdc3-4004-a591-74eb0acbba38
Implement the following plan: # Plan: Robust MCP Server Startup ## Context Currently, the MCP config requires `memo` to be pre-installed and in PATH: ```json { "mcpServers": { "memo": { "command": "memo", "args": ["mcp"] } } } ``` Problems: 1. If memo isn't installed, MCP server fails silently — agent loses all memo...
[{"role":"user","content":"Implement the following plan:\n\n# Plan: Robust MCP Server Startup\n\n## (...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Call the Claude deferred tool Agent.",(...TRUNCATED)
{"source_file":"008bcd8e-bdc3-4004-a591-74eb0acbba38.jsonl","session_id":"008bcd8e-bdc3-4004-a591-74(...TRUNCATED)
2026-03-20T07:41:04.113Z
3
64
"{\"parentUuid\": \"0fa9d38a-f405-4fd6-98bd-78941a527473\", \"isSidechain\": false, \"promptId\": \"(...TRUNCATED)
traces/008bcd8e-bdc3-4004-a591-74eb0acbba38.jsonl
claude_code
008d0ecf-0046-4993-ba13-6370601ece23
次に公開すると良い資料を教えてください
[{"role":"user","content":"次に公開すると良い資料を教えてください"},{"role":"assi(...TRUNCATED)
[{"type":"function","function":{"name":"Agent","description":"Call the Claude deferred tool Agent.",(...TRUNCATED)
{"source_file":"008d0ecf-0046-4993-ba13-6370601ece23.jsonl","session_id":"008d0ecf-0046-4993-ba13-63(...TRUNCATED)
2026-03-03T05:34:21.928Z
40
196
"{\"parentUuid\": \"2cba1e5a-2dce-4ba9-85da-f5651280c405\", \"isSidechain\": false, \"userType\": \"(...TRUNCATED)
traces/008d0ecf-0046-4993-ba13-6370601ece23.jsonl
End of preview.

SWE-chat: Coding Agent Interactions From Real Users in the Wild

This is a copy of SALT-NLP/SWE-chat with a traces config added as the default, so the Hub's dataset viewer renders sessions as agent traces. The original files are unchanged; see Agent Traces for how traces/ was built.

Dataset Summary

SWE-chat captures real-world AI coding sessions from developers using AI coding assistants (Claude Code, Codex, Gemini CLI, and others via the Entire.io CLI). Each session includes the full conversation transcript, tool calls, thinking traces, code changes, and attribution of human vs. agent-authored code.

Dataset Size

Table Rows
repositories 205
checkpoints 13,406
sessions 5,851
session_logs 5,851
commits 14,459
conversations 2,692,480
transcripts/*.jsonl (files) 5,851

Agent Traces

The default traces config points at traces/*.jsonl: one file per session in the agent's native JSONL log format (Claude Code and Codex). The dataset viewer detects these formats and renders each session as an agent trace with user prompts, assistant messages, thinking, and tool calls.

traces/ is a cleaned, slimmed copy of transcripts/, which is kept as-is:

  • Slimmed: Claude Code progress, file-history-snapshot, and queue-operation lines and the toolUseResult field are removed; the trace viewer only reads the user, assistant, and system messages. Base64 images are replaced with [image omitted], and tool results over 10 KB are truncated (the same limit conversations.parquet uses). This takes the folder from 9.8 GB to 2.6 GB so the dataset viewer can convert it.
  • Repaired: in 19 Claude Code files, lines that held two JSON records were split and a handful of truncated lines were dropped. In 4 more files, raw \u2028-style line separators inside strings are escaped so line-based readers don't split records.
  • Left out: 707 files: 680 OpenCode and Gemini CLI sessions stored as a single JSON document, 23 sessions logged as bare {role, message} rows, two single-record files, one malformed OpenCode file, and one Claude Code session (6edb5d4d-…) that the dataset viewer consistently times out reading. All of them remain under transcripts/.

The result is 5,143 sessions, mostly Claude Code plus a couple hundred Codex.

from datasets import load_dataset

# One row per session, with the trace parsed into messages (requires `pip install teich`)
traces = load_dataset("cfahlgren1/SWE-chat", "traces", split="train")

Use the tables below for analysis and the traces config to browse full sessions as they happened. The parquet tables aren't registered as viewer configs: datasets picks one builder per repo from the first config, so they can't share the viewer with the JSONL traces. Load them with pandas or load_dataset("parquet", data_files="hf://datasets/cfahlgren1/SWE-chat/<table>.parquet").

Tables

Table Description Key
conversations All transcript entries: user prompts, assistant responses, thinking, tool calls, tool results, metadata events turn_id
sessions One row per coding session with metadata, token usage, and attribution session_id
session_logs Per-session transcript pointer (transcript_path) plus auxiliary text fields session_id
checkpoints Checkpoint snapshots linking sessions to commits checkpoint_pk
commits Git commits with diffs, file states, and agent/human attribution commit_sha
repositories Repository metadata, settings, and GitHub API enrichment repo_id

Loading the Data

from datasets import load_dataset

# Load individual tables from their parquet files
conversations = load_dataset("parquet", data_files="hf://datasets/cfahlgren1/SWE-chat/conversations.parquet", split="train")
sessions = load_dataset("parquet", data_files="hf://datasets/cfahlgren1/SWE-chat/sessions.parquet", split="train")
commits = load_dataset("parquet", data_files="hf://datasets/cfahlgren1/SWE-chat/commits.parquet", split="train")

# Or load with pandas directly
import pandas as pd
df_conv = pd.read_parquet("conversations.parquet")
df_sessions = pd.read_parquet("sessions.parquet")

# Raw transcripts live under transcripts/{session_id}.jsonl
# session_logs.parquet holds the relative path + auxiliary text fields
df_session_logs = pd.read_parquet("session_logs.parquet")
with open(df_session_logs["transcript_path"].iloc[0]) as f:
    raw_transcript = f.read()

Quick Examples

import pandas as pd

conversations = pd.read_parquet("conversations.parquet")
sessions = pd.read_parquet("sessions.parquet")

# Clean user-assistant conversation (no tool calls/thinking)
conv = conversations[conversations.is_conversational]
print(conv[["conversation_turn_number", "role", "content"]].head(10))

# All tool calls with extracted file paths
tools = conversations[conversations.turn_type == "tool_use"]
print(tools[["tool_name", "file_path", "command"]].head())

# Agent thinking traces
thinking = conversations[conversations.turn_type == "assistant_thinking"]

# Sessions with high agent-authored code percentage
high_agent = sessions[sessions.agent_percentage > 90]

# Join conversations to sessions for richer context
merged = conversations.merge(
    sessions[["session_id", "repo_id", "agent_percentage"]],
    on="session_id"
)

Dataset Schema

Relationship Map

repositories (1) ───-> (N) checkpoints    [repo_id]
checkpoints (N) ←──-> (M) sessions        [JSON arrays on both sides]
checkpoints (1) ───-> (N) commits          [checkpoint_pk]
sessions (1) ───-> (1) session_logs        [session_id]
sessions (1) ───-> (N) conversations       [session_id]

ID Strategy

Entity Primary Key Format Globally Unique?
Repository repo_id owner/repo Yes
Checkpoint checkpoint_pk {repo_id}#{checkpoint_id} Yes
Session session_id UUID from agent Yes
Commit commit_sha 40-hex SHA Yes
Conversation turn turn_id {session_id}#{turn_number} Yes

1. conversations.parquet

One row per conversation turn (user prompt, assistant response, assistant thinking step, tool call, or metadata event). Filter with is_conversational=True for a clean user-assistant dialogue view.

Two turn columns:

  • turn_number: sequential across ALL rows in the session (including tool calls)
  • conversation_turn_number: sequential ONLY for is_conversational=True rows. NULL for tool/thinking rows
Column Type Description
turn_id string PK. {session_id}#{turn_number}
session_id string FK -> sessions
checkpoint_pk string FK -> checkpoints (canonical)
repo_id string FK -> repositories
user_id string Commit author (sessions.user_id)
turn_number int 0-based sequential index across ALL rows
conversation_turn_number int Sequential index for conversational rows only. NULL for tool/thinking rows
role string user, assistant, tool_use, tool_result, or metadata
turn_type string user_prompt, system_injected, assistant_response, assistant_thinking, tool_use, tool_result, summary, system_event, file_snapshot, progress, queue_operation
is_conversational bool True for user_prompt and assistant_response
content string Prompt text, response text, thinking text, tool input JSON, or result text (truncated to 10KB for tool_result)
model string Model name (e.g. claude-opus-4-6). NULL for user/tool_result/metadata rows
timestamp timestamp Entry timestamp
input_tokens int From usage (assistant_response only)
output_tokens int From usage (assistant_response only)
cache_creation_input_tokens int Cache creation tokens from API usage (assistant_response only)
cache_read_input_tokens int Cache read tokens from API usage (assistant_response only)
is_continuation bool User turn starts with "This session is being continued"
is_first_turn bool First conversational turn in session
word_count int Word count of content
char_count int Character count of content
tool_name string Tool name for tool_use/tool_result rows. Claude: Read, Write, Edit, NotebookEdit, Bash, Grep, Glob, WebFetch, WebSearch, Task, etc. Gemini: read_file, write_file, edit_file, run_command, etc.
tool_call_id string The toolu_ ID linking tool_use to tool_result
file_path string Extracted from file-modifying/reading tool input. Handles file_path, notebook_path (NotebookEdit), path/filename (Gemini)
command string Extracted from Bash / run_command / shell tool input
pattern string Extracted from Grep/Glob tool input
tool_input_json string (JSON) Full tool input parameters for tool_use rows
category string Research / Action / Orchestration / Other for tool rows
bash_category string git / package manager / test-build / file ops / other for Bash/shell tools
queue_op_subtype string For queue_operation rows only. One of: user_prompt_enqueued (user typed while agent busy), user_prompt_delivered (queued message was sent to agent), user_prompt_discarded (queued message was removed without delivery), task_notification (completed subagent result), other. NULL for all other turn types.
agent string Agent name (denormalized from session)
strategy string Strategy (denormalized from session)
language string Detected natural language of the user prompt (populated for user_prompt rows only). Outside the allowlist of supported languages the value is recoded to english.
prompt_intent string LLM-annotated intent of a user prompt (turn_type=user_prompt). One of: create new code, refactor, debug, understand, connect, git, test, other. NULL for non-prompt rows or unannotated prompts. See paper for more details.
prompt_pushback string LLM-annotated pushback class for a user prompt (turn_type=user_prompt). One of: correction, rejection, failure_report, pacing_complaint, takeover, requirement_change, non_pushback. NULL for non-prompt rows or unannotated prompts. See paper for more details.

Row types produced from transcript entries

Source turn_type role is_conversational
User text message user_prompt user True
System-injected user message (skill invocations, local command output, meta) system_injected user False
Assistant text blocks assistant_response assistant True
Assistant thinking blocks assistant_thinking assistant False
Assistant tool_use blocks tool_use tool_use False
User tool_result blocks tool_result tool_result False
Session summary entries summary metadata False
System/hook event entries system_event metadata False
File history snapshot entries file_snapshot metadata False
Progress entries (hooks, etc.) progress metadata False
Queue operation entries queue_operation metadata False

Note on queue_operation rows: Claude Code queues messages when the agent is busy. The queue_op_subtype column distinguishes: (a) user prompts typed while agent was running (user_prompt_enqueued), which may have been delivered (user_prompt_delivered) or silently discarded before reaching the agent (user_prompt_discarded); and (b) completed subagent results (task_notification). The content column contains the plain-text prompt or the <task-notification> XML payload; it is empty for dequeue and remove operations.

2. sessions.parquet

Column Type Description
session_id string PK. UUID from agent
repo_id string FK -> repositories
owner_id string Repository owner (from repo_id split)
user_id string Commit author resolved via GitHub API.
checkpoint_ids string (JSON) All checkpoint_pks referencing this session
canonical_checkpoint_pk string FK -> checkpoints (source for dedup)
agent string e.g. "Claude Code", "Gemini CLI"
strategy string Entire CLI strategy (e.g. "auto", "manual")
branch string Git branch the session was recorded on
created_at timestamp Session creation time
cli_version string Version of the Entire CLI that recorded the session
files_touched string (JSON) List of file paths touched during the session
files_touched_count int Number of files touched
checkpoints_count int Number of checkpoints created during the session
input_tokens int Total input tokens consumed
output_tokens int Total output tokens generated
cache_creation_tokens int Tokens used for prompt cache creation
cache_read_tokens int Tokens read from prompt cache
api_call_count int Number of API calls made
agent_lines float Lines of code authored by the agent.
human_added float Lines added by the human.
human_modified float Lines modified by the human.
human_removed float Lines removed by the human.
total_committed float Total lines committed.
agent_percentage float Percentage of committed code authored by the agent (0-100).
attribution_calculated_at timestamp When the attribution was computed
transcript_identifier_at_start string Transcript identifier at the start of the session
transcript_path string Path to the transcript file
tool_call_count int Total tool calls in this session
unique_tools_count int Number of distinct tools used
research_count int Count of research tool calls (Read/Grep/Glob/WebFetch/WebSearch/read_file/grep/glob/list_directory)
action_count int Count of action tool calls (Write/Edit/NotebookEdit/Bash/write_file/edit_file/run_command/etc.)
first_write_position int Position of the first file-modifying tool call.
duration_seconds float Estimated session duration in seconds (from transcript timestamps)
turn_count int Number of conversational turns
prompt_count int Non-continuation user turns
content_hash string SHA256 from content_hash.txt
user_persona string LLM-annotated persona of the session's primary user. One of: Expert Nitpicker, Vague Requester, Mind Changer, Other. NULL for unannotated sessions. See paper for more details.
session_success string LLM-annotated session success score (0-100, as a string). NULL for unannotated sessions. See paper for more details.

2b. session_logs.parquet

One row per session. The raw JSONL/JSON transcript is stored as a file under transcripts/{session_id}.jsonl (or .json for Gemini CLI) and referenced by the transcript_path column. Join to sessions on session_id.

Column Type Description
session_id string PK / FK -> sessions
transcript_path string Path to the session's transcript file under transcripts/
context_md string Full content of context.md
session_metadata_raw string (JSON) Raw metadata.json content

3. checkpoints.parquet

Column Type Description
checkpoint_pk string PK. {repo_id}#{checkpoint_id}
checkpoint_id string 12-hex ID
repo_id string FK -> repositories
session_pks string (JSON) FK list -> sessions
session_count int Number of sessions in this checkpoint
commit_shas string (JSON) FK list -> commits
commit_count int Number of commits in this checkpoint
author_user_ids string (JSON) Unique user_ids of commit authors
unique_author_count float Number of distinct commit authors
user_id string Set when checkpoint has a single author.
cli_version string Version of the Entire CLI
strategy string Entire CLI strategy
branch string Git branch
checkpoints_count int From metadata: total checkpoints in the session
files_touched string (JSON) List of file paths touched
files_touched_count int Number of files touched
cp_input_tokens int Checkpoint-level aggregated input tokens
cp_output_tokens int Checkpoint-level aggregated output tokens
cp_cache_creation_tokens int Checkpoint-level aggregated cache-creation tokens
cp_cache_read_tokens int Checkpoint-level aggregated cache-read tokens
cp_api_call_count int Checkpoint-level aggregated API call count
total_additions int Sum of added lines across commits in this checkpoint
total_deletions int Sum of deleted lines across commits in this checkpoint
checkpoint_metadata_raw string (JSON) Raw metadata.json

4. commits.parquet

Column Type Description
commit_sha string PK
checkpoint_pk string FK -> checkpoints
repo_id string FK -> repositories
commit_index int 0-based within checkpoint
num_commits int Total commits for this checkpoint
user_id string Canonical user identity: GitHub username if resolved, else email, else author name.
github_username string GitHub username resolved via commit API.
author_name string Git author name
author_email string Git author email
author_date timestamp Git author timestamp
commit_date timestamp Git commit timestamp
commit_message string Commit message
branch string Git branch the commit was observed on
is_agent_author bool Author matches agent patterns
files_changed_count int Number of files touched in this commit
total_additions int Lines added in this commit
total_deletions int Lines removed in this commit
files_changed string Raw git name-status
numstat string Raw git numstat
patch string Full unified diff
agent_changes string (JSON) Agent file-modification tool calls
file_attribution string (JSON) Per-file: agent_only / human_only / mixed
status string "ok" or error

5. repositories.parquet

Column Type Description
repo_id string PK. owner/repo
owner_id string Owner part of repo_id
name string Short repo name
url string GitHub URL
is_fork bool Whether the repo is a fork on GitHub
settings string (JSON) Raw settings.json from the Entire CLI
num_checkpoints int Checkpoints for this repo in the dataset
num_sessions int Sessions for this repo in the dataset
num_commits int Commits for this repo in the dataset
num_contributors_in_dataset int Distinct commit authors for this repo in the dataset
total_additions_in_dataset int Lines added across dataset commits for this repo
total_deletions_in_dataset int Lines removed across dataset commits for this repo
total_repo_commits_ever int All commits in repo history (GitHub)
total_repo_additions_ever int All additions in repo history (GitHub)
total_repo_deletions_ever int All deletions in repo history (GitHub)
total_agent_commits_ever int Commits by agent-like authors across full repo history
total_agent_additions_ever int Additions by agent-like authors across full repo history
total_agent_deletions_ever int Deletions by agent-like authors across full repo history
last_scraped_at timestamp When repo metadata was last scraped
license_type string Usable-license classification from the curated license registry
repo_github_metadata string (JSON) Full GitHub /repos/{owner}/{repo} response
repo_type_domain string LLM-annotated repo domain. One of: application, library, devtools, other. See paper for more details.
repo_type_audience string LLM-annotated repo target audience. One of: enduser, developer, researchers, education. See paper for more details.

Data Collection

Source

Data is collected from public GitHub repositories that use the Entire.io CLI to checkpoint their AI coding sessions. The Entire CLI creates checkpoints on a special branch (entire/checkpoints/v1) containing:

  • Session metadata (agent, strategy, token usage, code attribution)
  • Full conversation transcripts (JSONL for Claude Code, JSON for Gemini CLI)
  • User prompts and context

Supported Agents

  • Claude Code
  • OpenAI Codex
  • Gemini CLI
  • Cursor
  • OpenCode
  • GitHub Copilot CLI

PII Redaction

We redacted personally identifiable information in all user prompts and assistant text responses using Microsoft Presidio (named-entity detection) and TruffleHog (secret detection).

Deduplication Strategy

Sessions may appear in multiple checkpoints (a session spans checkpoint boundaries). We deduplicate on session_id, keeping the record with the highest output_tokens (most complete). The checkpoint_ids column preserves the full list of checkpoints each session appeared in.

Data Removal Requests

If you would like your data removed from SWE-chat, or if you encounter content that is illegal, you may request deletion. To do so, please contact us via joachimbaumann@stanford.edu. Please include repo_id, session_id, or turn_id values corresponding to the entries you wish to remove, and a brief explanation of the reason for removal.

Citation

Please consider citing the following papers if you find this dataset useful:

@article{baumann2026swechat,
  title={SWE-chat: Real-World AI Coding Sessions in the Wild},
  author={Baumann, Joachim and Padmakumar, Vishakh and Li, Xiang and Yang, John and Yang, Diyi and Koyejo, Sanmi},
  year={2026},
  journal={arXiv preprint arXiv:2604.20779},
  url={https://arxiv.org/pdf/2604.20779}
}
Downloads last month
642

Paper for cfahlgren1/SWE-chat