--- license: apache-2.0 pretty_name: CC Traces — Weka, With Subagents, 256k cap, v7 only (Jun 13 2026) task_categories: - text-generation tags: - llm - inference - benchmarking - kv-cache - agentic - multi-turn - claude - subagents size_categories: - n<1K configs: - config_name: default data_files: - split: train path: traces.jsonl --- # semianalysisai/cc-traces-weka-061326-256k WekaTrace corpus derived from SemiAnalysis Claude Code proxy traces. Built 2026-06-13 19:01:03 UTC via `utils/agentic/build_weka_hf_dataset.py`. Derived from [semianalysisai/cc-traces-weka-061326](https://huggingface.co/datasets/semianalysisai/cc-traces-weka-061326) by applying the 256k per-request cap and reshifting the surviving timeline. ## Filters - Trace version: exactly v7 - min Anthropic requests per session: 20 - Claude Code CLI ≥ 2.1.139 (every row) - peak concurrent sub-agent groups ≤ 10 - Non-image rows only (image content excluded at source) - Classifier calls excluded (`max_tokens<=64 AND no tools` → SUGGESTION MODE, title-gen, Security Monitor) - Exact-duplicate proxy rows deduped by `(timestamp, model, in, out, dur_ms, agent_id)` - 256k per-request cap (see *256k filter rule* below) ## 256k filter rule - Per-request `input + output ≤ 256,000` tokens. Applied at request granularity, not conversation. Main-agent and sub-agent inner requests are evaluated independently. - Sub-agent groups where *every* inner request was filtered → entire group dropped. - Sub-agent groups with only *some* inners filtered → partial group kept (surviving inners retained). - Timeline reshift: each trace's request `t` values are recomputed so gaps from removed requests collapse: ``` First surviving entry: t = 0 Each subsequent: new_t = prev_t + prev_api_time + this.think_time ``` ## Stats ``` traces: 183 main_turns: 15,826 subagent_groups: 652 subagent_inner_requests: 16,976 total_model_requests: 32,802 total_input_tokens: 3,644,760,192 total_output_tokens: 26,736,446 ``` ## Distribution plots ### Main-agent stream ![Main-stream distributions — log x](plots/distributions_log.png) ![Main-stream distributions — linear x](plots/distributions_linear.png) ### Sub-agent fan-out ![Sub-agent distributions — log x](plots/subagent_distributions_log.png) ![Sub-agent distributions — linear x](plots/subagent_distributions_linear.png) ## Source script ``` python utils/agentic/sample_proxy_traces.py --out '/proxy' --sampling top --min-trace-version 7 --max-trace-version 7 --min-requests 20 --require-cli-min 2.1.139 --max-parallel-subagents 10 ``` ## Loader plugin Load in aiperf via: ``` --public-dataset semianalysis_cc_traces_weka_with_subagents_256k ```