Datasets:
drop one trace the viewer times out on
Browse files
README.md
CHANGED
|
@@ -55,9 +55,9 @@ The default `traces` config points at `traces/*.jsonl`: one file per session in
|
|
| 55 |
|
| 56 |
- **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.
|
| 57 |
- **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.
|
| 58 |
-
- **Left out:**
|
| 59 |
|
| 60 |
-
The result is 5,
|
| 61 |
|
| 62 |
```python
|
| 63 |
from datasets import load_dataset
|
|
|
|
| 55 |
|
| 56 |
- **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.
|
| 57 |
- **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.
|
| 58 |
+
- **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/`.
|
| 59 |
|
| 60 |
+
The result is 5,143 sessions, mostly Claude Code plus a couple hundred Codex.
|
| 61 |
|
| 62 |
```python
|
| 63 |
from datasets import load_dataset
|
traces/6edb5d4d-1b47-4720-ad48-167e284c890e.jsonl
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|