benchmarksPublic
benchmarksPublic
Viewing files at commit e70815b9044aCommit detailsView latest
tests/fixtures/claude_stream.jsonl
NDJSON records · 1.4 KB
| 1 | Line | compact_metadata | message | session_id | subtype | type |
| 2 | 1 | golden-claude | init | system | ||
| 3 | 2 | {"content":[{"id":"t1","input":{"command":"git stats"},"name":"Bash","type":"tool_use"}],"role":"assistant","usage":{"cache_read_input_tokens":0,"input_tokens":1000,"output_tokens":50}} | assistant | |||
| 4 | 3 | {"content":[{"content":"git: 'stats' is not a git command. See 'git --help'.","is_error":true,"tool_use_id":"t1","type":"tool_result"}],"role":"user"} | user | |||
| 5 | 4 | {"content":[{"id":"t2","input":{"command":"git status --short"},"name":"Bash","type":"tool_use"},{"id":"t3","input":{"file_path":"app/pricing.py"},"name":"Read","type":"tool_use"}],"role":"assistant","usage":{"cache_read_input_tokens":900,"input_tokens":1200,"output_tokens":80}} | assistant | |||
| 6 | 5 | {"content":[{"content":" M app/pricing.py","is_error":false,"tool_use_id":"t2","type":"tool_result"},{"content":"def apply_discount...","is_error":false,"tool_use_id":"t3","type":"tool_result"}],"role":"user"} | user | |||
| 7 | 6 | {"trigger":"auto"} | compact_boundary | system | ||
| 8 | 7 | {"content":[{"text":"Done. The fix is committed.","type":"text"}],"role":"assistant","usage":{"cache_read_input_tokens":1100,"input_tokens":1300,"output_tokens":60}} | assistant |