camsemianalsyis commited on
Commit
02b4f78
·
verified ·
1 Parent(s): 8d724c3

build: 336 traces (256k cap, derived from semianalysisai/cc-traces-weka-with-subagents-060526)

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ traces.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pretty_name: CC Traces — Weka, With Subagents, 256k cap, v6 only (Jun 05 2026)
4
+ task_categories:
5
+ - text-generation
6
+ tags:
7
+ - llm
8
+ - inference
9
+ - benchmarking
10
+ - kv-cache
11
+ - agentic
12
+ - multi-turn
13
+ - claude
14
+ - subagents
15
+ size_categories:
16
+ - n<1K
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: traces.jsonl
22
+ ---
23
+
24
+ # semianalysisai/cc-traces-weka-with-subagents-060526-256k
25
+
26
+ WekaTrace corpus derived from SemiAnalysis Claude Code proxy traces. Built 2026-06-05 15:50:34 UTC via `utils/agentic/build_weka_hf_dataset.py`.
27
+
28
+ Derived from [semianalysisai/cc-traces-weka-with-subagents-060526](https://huggingface.co/datasets/semianalysisai/cc-traces-weka-with-subagents-060526) by applying the 256k per-request cap and reshifting the surviving timeline.
29
+
30
+ ## Filters
31
+
32
+ - Trace version: exactly v6
33
+ - min main-agent turns per session: 20
34
+ - Claude Code CLI ≥ 2.1.139 (every row)
35
+ - peak concurrent sub-agent groups ≤ 10
36
+ - Non-image rows only (image content excluded at source)
37
+ - Classifier calls excluded (`max_tokens<=64 AND no tools` → SUGGESTION MODE, title-gen, Security Monitor)
38
+ - Exact-duplicate proxy rows deduped by `(timestamp, model, in, out, dur_ms, agent_id)`
39
+ - 256k per-request cap (see *256k filter rule* below)
40
+
41
+ ## 256k filter rule
42
+
43
+ - Per-request `input + output ≤ 256,000` tokens. Applied at request granularity, not conversation. Main-agent and sub-agent inner requests are evaluated independently.
44
+ - Sub-agent groups where *every* inner request was filtered → entire group dropped.
45
+ - Sub-agent groups with only *some* inners filtered → partial group kept (surviving inners retained).
46
+ - Timeline reshift: each trace's request `t` values are recomputed so gaps from removed requests collapse:
47
+ ```
48
+ First surviving entry: t = 0
49
+ Each subsequent: new_t = prev_t + prev_api_time + this.think_time
50
+ ```
51
+
52
+ ## Stats
53
+
54
+ ```
55
+ traces: 336
56
+ main_turns: 62,611
57
+ subagent_groups: 496
58
+ subagent_inner_requests: 14,348
59
+ total_model_requests: 76,959
60
+ total_input_tokens: 6,655,577,536
61
+ total_output_tokens: 67,750,278
62
+ ```
63
+
64
+ ## Distribution plots
65
+
66
+ ### Main-agent stream
67
+
68
+ ![Main-stream distributions — log x](plots/distributions_log.png)
69
+
70
+ ![Main-stream distributions — linear x](plots/distributions_linear.png)
71
+
72
+ ### Sub-agent fan-out
73
+
74
+ ![Sub-agent distributions — log x](plots/subagent_distributions_log.png)
75
+
76
+ ![Sub-agent distributions — linear x](plots/subagent_distributions_linear.png)
77
+
78
+ ## Source script
79
+
80
+ ```
81
+ python utils/agentic/sample_proxy_traces.py --out '<workdir>/proxy' --sampling top --min-trace-version 6 --max-trace-version 6 --min-main-turns 20 --require-cli-min 2.1.139 --max-parallel-subagents 10
82
+ ```
83
+
84
+ ## Loader plugin
85
+
86
+ Load in aiperf via:
87
+
88
+ ```
89
+ --public-dataset semianalysis_cc_traces_weka_with_subagents_256k
90
+ ```
plots/distributions_linear.png ADDED

Git LFS Details

  • SHA256: 999510e707e742377a9f0e740b67763579369a58012c0a1b09f770842224cb34
  • Pointer size: 131 Bytes
  • Size of remote file: 217 kB
plots/distributions_log.png ADDED

Git LFS Details

  • SHA256: 6bebefa7ca9c7a560e01844381468a6996cd0203b67f56d96789e1d8c18469ea
  • Pointer size: 131 Bytes
  • Size of remote file: 218 kB
plots/subagent_distributions_linear.png ADDED

Git LFS Details

  • SHA256: 61923cac5b6683dbc3a5431805031dff3be48407c8a9aa9a4276ad051a847b8d
  • Pointer size: 131 Bytes
  • Size of remote file: 203 kB
plots/subagent_distributions_log.png ADDED

Git LFS Details

  • SHA256: 5b70d4948fca0639ab3c03d02f242abf523c88eaca94018d7bfc68c3eb3eed55
  • Pointer size: 131 Bytes
  • Size of remote file: 202 kB
stats.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ traces: 336
2
+ main_turns: 62,611
3
+ subagent_groups: 496
4
+ subagent_inner_requests: 14,348
5
+ total_model_requests: 76,959
6
+ total_input_tokens: 6,655,577,536
7
+ total_output_tokens: 67,750,278
traces.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40a5681e81b6b0ee6289947952b0a271fcdfd1f1ee9b8cf22306abd8a6c3be15
3
+ size 551217076