Datasets:
build: 233 traces (v7, isl<=990016)
Browse files- .gitattributes +1 -0
- README.md +85 -0
- plots/distributions_linear.png +3 -0
- plots/distributions_log.png +3 -0
- plots/subagent_distributions_linear.png +3 -0
- plots/subagent_distributions_log.png +3 -0
- stats.txt +7 -0
- traces.jsonl +3 -0
.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,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pretty_name: CC Traces — Weka, With Subagents, v7 only (Jun 15 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-061526
|
| 25 |
+
|
| 26 |
+
WekaTrace corpus derived from SemiAnalysis Claude Code proxy traces. Built 2026-06-15 19:12:24 UTC via `utils/agentic/build_weka_hf_dataset.py`.
|
| 27 |
+
|
| 28 |
+
## Filters
|
| 29 |
+
|
| 30 |
+
- Trace version: exactly v7
|
| 31 |
+
- min Anthropic requests per session: 20
|
| 32 |
+
- Claude Code CLI ≥ 2.1.139 (every row)
|
| 33 |
+
- peak concurrent sub-agent groups ≤ 10
|
| 34 |
+
- Non-image rows only (image content excluded at source)
|
| 35 |
+
- Classifier calls excluded (`max_tokens<=64 AND no tools` → SUGGESTION MODE, title-gen, Security Monitor)
|
| 36 |
+
- Exact-duplicate proxy rows deduped by `(timestamp, model, in, out, dur_ms, agent_id)`
|
| 37 |
+
- Per-request ISL cap: input ≤ 990,016 tokens (weka `in` = hash-block count × 64). Drops KV-cache-block overcount artifacts that read above ~1M while preserving the surviving timeline.
|
| 38 |
+
|
| 39 |
+
## ISL cap — KV-cache-block overcount note
|
| 40 |
+
|
| 41 |
+
Requests whose input length (`in`) exceeded **990,016 tokens** (the closest multiple of 64 to 990k) were dropped from this build, while preserving the surviving timeline's relative timestamps.
|
| 42 |
+
|
| 43 |
+
**Why.** The weka `in` field is derived from the proxy's `hash_token_count`, which is recorded as *(number of 64-token KV-cache prefix blocks) × 64* — it is always an exact multiple of 64, not a true tokenizer count. For very large agentic contexts with heavy prompt caching this block count drifts **above** the real prompt size: cross-checking against the billed token columns (`input + cache_read + cache_write`) shows it tracks ~1.00× on average but overcounts by as much as ~260k tokens in the heavy-cache-write tail. That tail pushed a small number of requests past 1M `in` even though **no request's real prompt actually exceeds 1M**. These inflated rows are the artifacts removed here.
|
| 44 |
+
|
| 45 |
+
Applied at request granularity (main-agent turns and sub-agent inner requests evaluated independently); a sub-agent group is dropped only if *every* inner request was over the cap.
|
| 46 |
+
|
| 47 |
+
## Stats
|
| 48 |
+
|
| 49 |
+
```
|
| 50 |
+
traces: 233
|
| 51 |
+
main_turns: 38,529
|
| 52 |
+
subagent_groups: 787
|
| 53 |
+
subagent_inner_requests: 22,467
|
| 54 |
+
total_model_requests: 60,996
|
| 55 |
+
total_input_tokens: 12,631,145,216
|
| 56 |
+
total_output_tokens: 59,758,991
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## Distribution plots
|
| 60 |
+
|
| 61 |
+
### Main-agent stream
|
| 62 |
+
|
| 63 |
+

|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
|
| 67 |
+
### Sub-agent fan-out
|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
|
| 73 |
+
## Source script
|
| 74 |
+
|
| 75 |
+
```
|
| 76 |
+
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
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
## Loader plugin
|
| 80 |
+
|
| 81 |
+
Load in aiperf via:
|
| 82 |
+
|
| 83 |
+
```
|
| 84 |
+
--public-dataset semianalysis_cc_traces_weka_with_subagents
|
| 85 |
+
```
|
plots/distributions_linear.png
ADDED
|
Git LFS Details
|
plots/distributions_log.png
ADDED
|
Git LFS Details
|
plots/subagent_distributions_linear.png
ADDED
|
Git LFS Details
|
plots/subagent_distributions_log.png
ADDED
|
Git LFS Details
|
stats.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
traces: 233
|
| 2 |
+
main_turns: 38,529
|
| 3 |
+
subagent_groups: 787
|
| 4 |
+
subagent_inner_requests: 22,467
|
| 5 |
+
total_model_requests: 60,996
|
| 6 |
+
total_input_tokens: 12,631,145,216
|
| 7 |
+
total_output_tokens: 59,758,991
|
traces.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9f3345b964f7d9f8b1445f83995fc4b5994f183131b0a108cd21b15cc78f627
|
| 3 |
+
size 1077676163
|