usagebench 0.2.0 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -5
- package/dist/anon.js +3 -2
- package/dist/audit.js +132 -73
- package/dist/cli.js +24 -4
- package/dist/compare.d.ts +2 -2
- package/dist/compare.js +19 -8
- package/dist/diff.js +9 -3
- package/dist/doctor.js +54 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.js +17 -7
- package/dist/logs.js +20 -3
- package/dist/repro.js +6 -1
- package/dist/secrets.js +2 -2
- package/fixtures/claude/2.1.321_compaction-zeroed-usage.continued.expected.json +21 -0
- package/fixtures/claude/2.1.321_compaction-zeroed-usage.continued.jsonl +3 -0
- package/fixtures/claude/2.1.321_compaction-zeroed-usage.original.expected.json +21 -0
- package/fixtures/claude/2.1.321_compaction-zeroed-usage.original.jsonl +2 -0
- package/fixtures/claude/2.1.334_main.expected.json +21 -21
- package/fixtures/claude/2.1.334_main.jsonl +162 -162
- package/fixtures/claude/2.1.335_sidechain.expected.json +21 -21
- package/fixtures/claude/2.1.335_sidechain.jsonl +60 -60
- package/fixtures/claude/2.1.335_stream-abort-tool-error.expected.json +21 -21
- package/fixtures/claude/2.1.335_stream-abort-tool-error.jsonl +200 -200
- package/fixtures/claude/synthetic_duplicate-id-partial-usage.expected.json +22 -22
- package/fixtures/codex/0.160.0_compacted.expected.json +38 -38
- package/fixtures/codex/0.160.0_compacted.jsonl +200 -200
- package/fixtures/codex/0.171.0-alpha.13.2_subagent-forked.expected.json +38 -38
- package/fixtures/codex/0.171.0-alpha.13.2_subagent-forked.jsonl +154 -154
- package/fixtures/codex/0.173.0-alpha.4.1_basic.expected.json +38 -38
- package/fixtures/codex/0.173.0-alpha.4.1_basic.jsonl +200 -200
- package/fixtures/codex/synthetic_total-reset.expected.json +39 -39
- package/package.json +16 -2
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
{
|
|
2
|
-
"agent": "claude",
|
|
3
|
-
"synthetic": true,
|
|
4
|
-
"usage_lines": 4,
|
|
5
|
-
"unique_messages": 2,
|
|
6
|
-
"rule": "claude_last_per_message_id",
|
|
7
|
-
"is_sidechain": false,
|
|
8
|
-
"naive": {
|
|
9
|
-
"input": 10,
|
|
10
|
-
"output": 274,
|
|
11
|
-
"cache_write": 2400,
|
|
12
|
-
"cache_read": 22000,
|
|
13
|
-
"reasoning": 44
|
|
14
|
-
},
|
|
15
|
-
"dedup": {
|
|
16
|
-
"input": 5,
|
|
17
|
-
"output": 210,
|
|
18
|
-
"cache_write": 1200,
|
|
19
|
-
"cache_read": 11000,
|
|
20
|
-
"reasoning": 40
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"agent": "claude",
|
|
3
|
+
"synthetic": true,
|
|
4
|
+
"usage_lines": 4,
|
|
5
|
+
"unique_messages": 2,
|
|
6
|
+
"rule": "claude_last_per_message_id",
|
|
7
|
+
"is_sidechain": false,
|
|
8
|
+
"naive": {
|
|
9
|
+
"input": 10,
|
|
10
|
+
"output": 274,
|
|
11
|
+
"cache_write": 2400,
|
|
12
|
+
"cache_read": 22000,
|
|
13
|
+
"reasoning": 44
|
|
14
|
+
},
|
|
15
|
+
"dedup": {
|
|
16
|
+
"input": 5,
|
|
17
|
+
"output": 210,
|
|
18
|
+
"cache_write": 1200,
|
|
19
|
+
"cache_read": 11000,
|
|
20
|
+
"reasoning": 40
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
{
|
|
2
|
-
"agent": "codex",
|
|
3
|
-
"is_sidechain": false,
|
|
4
|
-
"parent_session": false,
|
|
5
|
-
"usage_lines": 23,
|
|
6
|
-
"unique_messages": 23,
|
|
7
|
-
"compacted_copies": 11,
|
|
8
|
-
"rule": "codex_record_by_response_id",
|
|
9
|
-
"token_count_events": 44,
|
|
10
|
-
"token_count_naive": {
|
|
11
|
-
"input": 7830998,
|
|
12
|
-
"output": 12935,
|
|
13
|
-
"cache_write": 0,
|
|
14
|
-
"cache_read": 6922624,
|
|
15
|
-
"reasoning": 18
|
|
16
|
-
},
|
|
17
|
-
"token_count_dedup": {
|
|
18
|
-
"input": 4033312,
|
|
19
|
-
"output": 10741,
|
|
20
|
-
"cache_write": 0,
|
|
21
|
-
"cache_read": 3510272,
|
|
22
|
-
"reasoning": 18
|
|
23
|
-
},
|
|
24
|
-
"naive": {
|
|
25
|
-
"input": 4614362,
|
|
26
|
-
"output": 19408,
|
|
27
|
-
"cache_write": 0,
|
|
28
|
-
"cache_read": 3949056,
|
|
29
|
-
"reasoning": 36
|
|
30
|
-
},
|
|
31
|
-
"dedup": {
|
|
32
|
-
"input": 4378736,
|
|
33
|
-
"output": 10861,
|
|
34
|
-
"cache_write": 0,
|
|
35
|
-
"cache_read": 3851136,
|
|
36
|
-
"reasoning": 18
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"agent": "codex",
|
|
3
|
+
"is_sidechain": false,
|
|
4
|
+
"parent_session": false,
|
|
5
|
+
"usage_lines": 23,
|
|
6
|
+
"unique_messages": 23,
|
|
7
|
+
"compacted_copies": 11,
|
|
8
|
+
"rule": "codex_record_by_response_id",
|
|
9
|
+
"token_count_events": 44,
|
|
10
|
+
"token_count_naive": {
|
|
11
|
+
"input": 7830998,
|
|
12
|
+
"output": 12935,
|
|
13
|
+
"cache_write": 0,
|
|
14
|
+
"cache_read": 6922624,
|
|
15
|
+
"reasoning": 18
|
|
16
|
+
},
|
|
17
|
+
"token_count_dedup": {
|
|
18
|
+
"input": 4033312,
|
|
19
|
+
"output": 10741,
|
|
20
|
+
"cache_write": 0,
|
|
21
|
+
"cache_read": 3510272,
|
|
22
|
+
"reasoning": 18
|
|
23
|
+
},
|
|
24
|
+
"naive": {
|
|
25
|
+
"input": 4614362,
|
|
26
|
+
"output": 19408,
|
|
27
|
+
"cache_write": 0,
|
|
28
|
+
"cache_read": 3949056,
|
|
29
|
+
"reasoning": 36
|
|
30
|
+
},
|
|
31
|
+
"dedup": {
|
|
32
|
+
"input": 4378736,
|
|
33
|
+
"output": 10861,
|
|
34
|
+
"cache_write": 0,
|
|
35
|
+
"cache_read": 3851136,
|
|
36
|
+
"reasoning": 18
|
|
37
|
+
}
|
|
38
|
+
}
|