camsemianalsyis commited on
Commit
8fecd2f
·
verified ·
1 Parent(s): d8c5415

build: 393 traces (256k cap, derived from semianalysisai/cc-traces-weka-062126)

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,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pretty_name: CC Traces — Weka, With Subagents, 256k cap, v7 only (Jun 21 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-062126-256k
25
+
26
+ WekaTrace corpus derived from SemiAnalysis Claude Code proxy traces. Built 2026-06-21 17:49:45 UTC via `utils/agentic/build_weka_hf_dataset.py`.
27
+
28
+ Derived from [semianalysisai/cc-traces-weka-062126](https://huggingface.co/datasets/semianalysisai/cc-traces-weka-062126) by applying the 256k per-request cap and preserving the surviving requests' relative timestamps.
29
+
30
+ ## Filters
31
+
32
+ - Trace version: exactly v7
33
+ - min Anthropic requests 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
+ - Dynamic-workflow-bug sessions excluded: Claude Code CLI < 2.1.174 emitted dynamic-workflow subagents without a subagent-label header, so they appear as many interleaved unlabeled trajectories in one session. Dropped when peak concurrent unlabeled multi-turn trajectories ≥ 3 (changelog 2.1.174).
40
+ - 256k per-request cap (see *256k filter rule* below)
41
+
42
+ ## 256k filter rule
43
+
44
+ - Per-request `input + output ≤ 256,000` tokens. Applied at request granularity, not conversation. Main-agent and sub-agent inner requests are evaluated independently.
45
+ - Sub-agent groups where *every* inner request was filtered → entire group dropped.
46
+ - Sub-agent groups with only *some* inners filtered → partial group kept (surviving inners retained).
47
+ - Timeline preservation: surviving request `t` values keep their original relative offsets, including sub-agent overlap. If the first request was filtered, all surviving timestamps are shifted by one uniform offset so the earliest survivor starts at `t = 0`.
48
+
49
+ ## Stats
50
+
51
+ ```
52
+ traces: 393
53
+ main_turns: 28,444
54
+ subagent_groups: 1,697
55
+ subagent_inner_requests: 39,822
56
+ total_model_requests: 68,266
57
+ total_input_tokens: 6,891,228,864
58
+ total_output_tokens: 58,728,807
59
+ ```
60
+
61
+ ## Distribution plots
62
+
63
+ ### Main-agent stream
64
+
65
+ ![Main-stream distributions — log x](plots/distributions_log.png)
66
+
67
+ ![Main-stream distributions — linear x](plots/distributions_linear.png)
68
+
69
+ ### Sub-agent fan-out
70
+
71
+ ![Sub-agent distributions — log x](plots/subagent_distributions_log.png)
72
+
73
+ ![Sub-agent distributions — linear x](plots/subagent_distributions_linear.png)
74
+
75
+ ## Source script
76
+
77
+ ```
78
+ python utils/agentic/sample_proxy_traces.py --out '<workdir>/proxy' --sampling top --min-trace-version 7 --max-trace-version 7 --min-requests 20 --require-cli-min 2.1.139 --max-parallel-subagents 10 --exclude-dynamic-workflow-bug
79
+ ```
80
+
81
+ ## Loader plugin
82
+
83
+ Load in aiperf via:
84
+
85
+ ```
86
+ --public-dataset semianalysis_cc_traces_weka_with_subagents_256k
87
+ ```
plots/distributions_linear.png ADDED

Git LFS Details

  • SHA256: 13150d2acd41e928c5254058fc81219744f57abce10fbf55602f0fbf6d55ca59
  • Pointer size: 131 Bytes
  • Size of remote file: 210 kB
plots/distributions_log.png ADDED

Git LFS Details

  • SHA256: 886e3c0e8cc45d5352bb8f4584ba54aac76012511082dee7bf568e8df57f39e3
  • Pointer size: 131 Bytes
  • Size of remote file: 211 kB
plots/subagent_distributions_linear.png ADDED

Git LFS Details

  • SHA256: 90d299f166f8ff0de2b4c850ef59e0d0ae4d9a8404e95058d8665c77d618e432
  • Pointer size: 131 Bytes
  • Size of remote file: 201 kB
plots/subagent_distributions_log.png ADDED

Git LFS Details

  • SHA256: 1caefff8488707daa08d9babb0d0b4e09f99fd59102a0fdd49c5fd7235d30a3a
  • Pointer size: 131 Bytes
  • Size of remote file: 203 kB
stats.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ traces: 393
2
+ main_turns: 28,444
3
+ subagent_groups: 1,697
4
+ subagent_inner_requests: 39,822
5
+ total_model_requests: 68,266
6
+ total_input_tokens: 6,891,228,864
7
+ total_output_tokens: 58,728,807
traces.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e39cd2ff3eba21d4a3664be51da743ac3d2149a1933898cafc7bfeac8147eeef
3
+ size 568864747