Datasets:
Broaden filter: drop non-conversational classifier calls (max_tokens<=64, no tools) — removes residual OSL 5-10 spike
Browse files- README.md +26 -21
- plots/distributions_linear.png +2 -2
- plots/distributions_log.png +2 -2
- plots/subagent_distributions_linear.png +2 -2
- plots/subagent_distributions_log.png +2 -2
- traces.jsonl +2 -2
README.md
CHANGED
|
@@ -46,18 +46,21 @@ Filters:
|
|
| 46 |
is on top of that.
|
| 47 |
3. **CC ≥ 2.1.139.** Every replayable request in every included session
|
| 48 |
originated from a Claude Code CLI build at version 2.1.139 or newer.
|
| 49 |
-
4. **
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
- **Traces:** 219
|
| 57 |
-
- **Top-level entries:**
|
| 58 |
-
- **Sub-agent inner requests:**
|
| 59 |
-
- **Total individual model requests:**
|
| 60 |
-
- **Models:** `claude-opus-4-7` (
|
| 61 |
- **KV block size:** 64 tokens
|
| 62 |
- **Hash scope:** `local` — block hash IDs are only comparable *within*
|
| 63 |
a single trace; they are not a global content-addressable identity.
|
|
@@ -129,19 +132,19 @@ triggered them.
|
|
| 129 |
|
| 130 |
## Summary statistics
|
| 131 |
|
| 132 |
-
Across **all** requests (main + sub-agent inner =
|
| 133 |
|
| 134 |
| | p50 | p75 | p90 | p95 | p99 | mean |
|
| 135 |
|------------------------------|---------:|---------:|---------:|---------:|---------:|---------:|
|
| 136 |
-
| ISL (tokens) |
|
| 137 |
-
| OSL (tokens) |
|
| 138 |
-
| Top entries/trace |
|
| 139 |
|
| 140 |
## Plots
|
| 141 |
|
| 142 |
### Main-agent stream
|
| 143 |
|
| 144 |
-
Histograms across all
|
| 145 |
Same view as the [no-subagents sibling](https://huggingface.co/datasets/semianalysisai/cc-traces-weka-no-subagents-051826) — the two datasets share an identical main-agent stream.
|
| 146 |
|
| 147 |

|
|
@@ -149,7 +152,7 @@ Same view as the [no-subagents sibling](https://huggingface.co/datasets/semianal
|
|
| 149 |
|
| 150 |
### Sub-agent fan-out analysis
|
| 151 |
|
| 152 |
-
Histograms across all 1,
|
| 153 |
|
| 154 |

|
| 155 |

|
|
@@ -167,10 +170,10 @@ Six panels:
|
|
| 167 |
|
| 168 |
| model | requests (main + subagent inner) |
|
| 169 |
|-------|---------:|
|
| 170 |
-
| `claude-opus-4-7` |
|
| 171 |
| `claude-opus-4-6` | 2,138 |
|
| 172 |
-
| `claude-haiku-4-5-20251001` | 1,
|
| 173 |
-
| `claude-sonnet-4-6` |
|
| 174 |
|
| 175 |
## Source
|
| 176 |
|
|
@@ -179,8 +182,10 @@ Same proxy → weka pipeline as the
|
|
| 179 |
just without the post-step that strips `WekaSubagentEntry` blocks.
|
| 180 |
|
| 181 |
1. `utils/sample_proxy_traces.py --min-trace-version 5 --min-main-turns 20 --require-cli-min 2.1.139 --privacy-mode anon`
|
| 182 |
-
(
|
| 183 |
-
|
|
|
|
|
|
|
| 184 |
2. `utils/proxy_to_weka.py` (subagent grouping per the dashboard's
|
| 185 |
algorithm)
|
| 186 |
3. Concatenate the resulting weka JSONs into `traces.jsonl` — one trace
|
|
|
|
| 46 |
is on top of that.
|
| 47 |
3. **CC ≥ 2.1.139.** Every replayable request in every included session
|
| 48 |
originated from a Claude Code CLI build at version 2.1.139 or newer.
|
| 49 |
+
4. **Non-conversational classifier calls excluded.** Claude Code fires
|
| 50 |
+
several short auxiliary classifier calls per session ("SUGGESTION
|
| 51 |
+
MODE" next-input prediction, conversation-title generation, haiku
|
| 52 |
+
intent detection, the "Security Monitor" subagent). They share a
|
| 53 |
+
clean request shape — `max_tokens <= 64` AND no `tools` — and
|
| 54 |
+
produced a heavy OSL 5-10 spike (~9k+ rows at exactly OSL=7) that
|
| 55 |
+
pollutes the published output-length distribution. They are dropped
|
| 56 |
+
at source by shape, with an additional label/body fallback for the
|
| 57 |
+
Security Monitor subagent specifically.
|
| 58 |
|
| 59 |
- **Traces:** 219
|
| 60 |
+
- **Top-level entries:** 39,726 (37,732 main turns + 1,994 subagent groups)
|
| 61 |
+
- **Sub-agent inner requests:** 40,367
|
| 62 |
+
- **Total individual model requests:** 78,099
|
| 63 |
+
- **Models:** `claude-opus-4-7` (74,293 req), `claude-opus-4-6` (2,138 req), `claude-haiku-4-5-20251001` (1,163 req), `claude-sonnet-4-6` (505 req)
|
| 64 |
- **KV block size:** 64 tokens
|
| 65 |
- **Hash scope:** `local` — block hash IDs are only comparable *within*
|
| 66 |
a single trace; they are not a global content-addressable identity.
|
|
|
|
| 132 |
|
| 133 |
## Summary statistics
|
| 134 |
|
| 135 |
+
Across **all** requests (main + sub-agent inner = 78,099 requests):
|
| 136 |
|
| 137 |
| | p50 | p75 | p90 | p95 | p99 | mean |
|
| 138 |
|------------------------------|---------:|---------:|---------:|---------:|---------:|---------:|
|
| 139 |
+
| ISL (tokens) | 109,729 | 214,992 | 394,994 | 535,364 | 799,788 | 164,194 |
|
| 140 |
+
| OSL (tokens) | 307 | 688 | 1,442 | 2,204 | 6,852 | 694 |
|
| 141 |
+
| Top entries/trace | 114 | 219 | 369 | 543 | 1,062 | 181 |
|
| 142 |
|
| 143 |
## Plots
|
| 144 |
|
| 145 |
### Main-agent stream
|
| 146 |
|
| 147 |
+
Histograms across all 37,732 main-agent turns (sub-agent groups skipped).
|
| 148 |
Same view as the [no-subagents sibling](https://huggingface.co/datasets/semianalysisai/cc-traces-weka-no-subagents-051826) — the two datasets share an identical main-agent stream.
|
| 149 |
|
| 150 |

|
|
|
|
| 152 |
|
| 153 |
### Sub-agent fan-out analysis
|
| 154 |
|
| 155 |
+
Histograms across all 1,994 sub-agent groups (and their 40,367 inner requests). Companion to the main-stream plots — answers questions about how often sub-agents are spawned, how deep their tool-loops go, how long they take, and how much intra-group prefix cache reuse exists.
|
| 156 |
|
| 157 |

|
| 158 |

|
|
|
|
| 170 |
|
| 171 |
| model | requests (main + subagent inner) |
|
| 172 |
|-------|---------:|
|
| 173 |
+
| `claude-opus-4-7` | 74,293 |
|
| 174 |
| `claude-opus-4-6` | 2,138 |
|
| 175 |
+
| `claude-haiku-4-5-20251001` | 1,163 |
|
| 176 |
+
| `claude-sonnet-4-6` | 505 |
|
| 177 |
|
| 178 |
## Source
|
| 179 |
|
|
|
|
| 182 |
just without the post-step that strips `WekaSubagentEntry` blocks.
|
| 183 |
|
| 184 |
1. `utils/sample_proxy_traces.py --min-trace-version 5 --min-main-turns 20 --require-cli-min 2.1.139 --privacy-mode anon`
|
| 185 |
+
(Non-conversational classifier-call exclusion — `max_tokens <= 64`
|
| 186 |
+
+ no `tools` array — is hardcoded into the query so the 5-10-token
|
| 187 |
+
OSL spike doesn't leak into the published corpus. A label/body
|
| 188 |
+
fallback for the Security Monitor subagent is layered on top.)
|
| 189 |
2. `utils/proxy_to_weka.py` (subagent grouping per the dashboard's
|
| 190 |
algorithm)
|
| 191 |
3. Concatenate the resulting weka JSONs into `traces.jsonl` — one trace
|
plots/distributions_linear.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
plots/distributions_log.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
plots/subagent_distributions_linear.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
plots/subagent_distributions_log.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
traces.jsonl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e0f7cba9bbd40fc28af41bccc8afccf839bc77d081fb11c210a2939eb1215f5
|
| 3 |
+
size 1076644069
|