Datasets:
Simplify dataset README
Browse files
README.md
CHANGED
|
@@ -31,7 +31,7 @@ Changes from the original dataset:
|
|
| 31 |
|
| 32 |
- Divide input and output lengths by **8**, rounding each output up. Hash IDs stay the same; logical blocks shrink from 64 to 8 tokens.
|
| 33 |
- Divide active request time by **8** and cap ordinary whole-session idle gaps at **1 second**. Keep original gaps over an hour just above the harness's one-hour stream-separation threshold; the runtime idle cap skips those waits.
|
| 34 |
-
- Keep complete sessions with **less than 10,000 requested output tokens**, counting all subagents and auxiliary calls.
|
| 35 |
- Preserve request grouping, spawn/join dependencies, shared prompt content, and reference overlaps. The agentx-mini traces are model-independent; actual replay overlap depends on server speed.
|
| 36 |
|
| 37 |
## Stats
|
|
@@ -46,26 +46,18 @@ total_input_tokens: 126,413,728
|
|
| 46 |
total_output_tokens: 962,854
|
| 47 |
```
|
| 48 |
|
| 49 |
-
|
| 50 |
-
calls, and subagent groups are explicit containers. Token totals are trace
|
| 51 |
-
counts; rendered prompts also include tokenizer and chat-template overhead.
|
| 52 |
Five zero-output calls request one token each during replay, bringing requested
|
| 53 |
-
output to **962,859 tokens**.
|
| 54 |
|
| 55 |
-
Input totals count repeated prefixes
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
prefills, eviction, and tokenizer/chat-template overhead affect actual prefill.
|
| 59 |
|
| 60 |
## Files and reproduction
|
| 61 |
|
| 62 |
`traces.jsonl` contains the scaled Weka records; `stats.txt` contains their totals.
|
| 63 |
-
Each record's optional `totals` field includes a modification notice and token
|
| 64 |
-
totals; this metadata does not affect replay.
|
| 65 |
AgentX Harness handles prompt synthesis and replay using the target model's tokenizer.
|
| 66 |
-
All 200 sessions retain their original request grouping and execution dependencies
|
| 67 |
-
with the tested harness. Seven agent/auxiliary labels change across six sessions;
|
| 68 |
-
their execution graph and synthesized prompt content remain equivalent.
|
| 69 |
|
| 70 |
To rebuild agentx-mini:
|
| 71 |
|
|
@@ -88,9 +80,6 @@ source .venv/bin/activate
|
|
| 88 |
pip install agentx-harness==1.0.7
|
| 89 |
```
|
| 90 |
|
| 91 |
-
The package is `agentx-harness`; the command is `agentx`. Its built-in `weka_hf`
|
| 92 |
-
loader reads agentx-mini and synthesizes prompts using your chosen tokenizer.
|
| 93 |
-
|
| 94 |
1. **Download agentx-mini** into a local directory.
|
| 95 |
2. **Start your local LLM server** and load your model, for example using
|
| 96 |
`llama-server`. It must expose an OpenAI-compatible API. Enable parallel
|
|
@@ -139,35 +128,13 @@ agentx profile \
|
|
| 139 |
```
|
| 140 |
|
| 141 |
**Automatic download:** instead of downloading first, set `hf_weka_dataset` to
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
Startup and final request draining can add time; this does not guarantee that
|
| 150 |
-
all 200 sessions finish. To replay all 200 once, replace `duration: 1200` with
|
| 151 |
-
`requests: 9439`.
|
| 152 |
-
|
| 153 |
-
Keep `timing_mode: agentic_replay` and the runtime idle cap: the retained long
|
| 154 |
-
reference gaps help reconstruct separate agent streams, while the cap skips
|
| 155 |
-
waits when the entire session tree is idle. Ordinary fixed-schedule replay
|
| 156 |
-
would wait through those gaps. At the tested harness version, some joins can
|
| 157 |
-
still leave extra idle waits (about 8–11 seconds observed). For a tighter bound
|
| 158 |
-
with `concurrency: 1`, optionally add `system_idle_gap_cap_seconds: 1` to the
|
| 159 |
-
profiling phase.
|
| 160 |
-
|
| 161 |
-
All **200 sessions / 9,439 calls** were replayed against a mock server using
|
| 162 |
-
unmodified agentx-harness commit
|
| 163 |
-
[`e4bb2f8`](https://github.com/SemiAnalysisAI/agentx-harness/commit/e4bb2f835ffedbbe6b76252ea5c93caec68c5faf)
|
| 164 |
-
with its default reconstruction thresholds. Call coverage, output budgets,
|
| 165 |
-
prefix reuse, and dependency ordering were checked; mock timings do not measure
|
| 166 |
-
real model performance.
|
| 167 |
-
|
| 168 |
-
The released `agentx-harness==1.0.7` was also tested with Qwen3-0.6B on
|
| 169 |
-
`llama-server`: a 20-minute run completed 26 sessions plus part of another,
|
| 170 |
-
with **1,279 successful calls**. Output budgets and dependency ordering passed.
|
| 171 |
|
| 172 |
## License
|
| 173 |
|
|
|
|
| 31 |
|
| 32 |
- Divide input and output lengths by **8**, rounding each output up. Hash IDs stay the same; logical blocks shrink from 64 to 8 tokens.
|
| 33 |
- Divide active request time by **8** and cap ordinary whole-session idle gaps at **1 second**. Keep original gaps over an hour just above the harness's one-hour stream-separation threshold; the runtime idle cap skips those waits.
|
| 34 |
+
- Keep complete sessions with **less than 10,000 requested output tokens**, counting all subagents and auxiliary calls.
|
| 35 |
- Preserve request grouping, spawn/join dependencies, shared prompt content, and reference overlaps. The agentx-mini traces are model-independent; actual replay overlap depends on server speed.
|
| 36 |
|
| 37 |
## Stats
|
|
|
|
| 46 |
total_output_tokens: 962,854
|
| 47 |
```
|
| 48 |
|
| 49 |
+
Main turns are top-level calls, following the source dataset's convention.
|
|
|
|
|
|
|
| 50 |
Five zero-output calls request one token each during replay, bringing requested
|
| 51 |
+
output to **962,859 tokens**. Rendered prompts add tokenizer/chat-template overhead.
|
| 52 |
|
| 53 |
+
Input totals count repeated prefixes. The ideal estimate is **5,499,568 uncached
|
| 54 |
+
input tokens** (**95.65% prefix reuse**), assuming a cold, unlimited cache shared
|
| 55 |
+
by each session's agents on one model. Actual prefill depends on the server.
|
|
|
|
| 56 |
|
| 57 |
## Files and reproduction
|
| 58 |
|
| 59 |
`traces.jsonl` contains the scaled Weka records; `stats.txt` contains their totals.
|
|
|
|
|
|
|
| 60 |
AgentX Harness handles prompt synthesis and replay using the target model's tokenizer.
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
To rebuild agentx-mini:
|
| 63 |
|
|
|
|
| 80 |
pip install agentx-harness==1.0.7
|
| 81 |
```
|
| 82 |
|
|
|
|
|
|
|
|
|
|
| 83 |
1. **Download agentx-mini** into a local directory.
|
| 84 |
2. **Start your local LLM server** and load your model, for example using
|
| 85 |
`llama-server`. It must expose an OpenAI-compatible API. Enable parallel
|
|
|
|
| 128 |
```
|
| 129 |
|
| 130 |
**Automatic download:** instead of downloading first, set `hf_weka_dataset` to
|
| 131 |
+
`SocialLocalMobile/agentx-mini` and run the same command.
|
| 132 |
+
|
| 133 |
+
Keep `timing_mode: agentic_replay` and the runtime idle cap to skip retained long
|
| 134 |
+
reference gaps. The harness can occasionally exceed the idle cap around joins.
|
| 135 |
+
|
| 136 |
+
Call coverage, prefix reuse, and dependencies were validated across all 200
|
| 137 |
+
sessions. Also tested with `agentx-harness==1.0.7` and Qwen3-0.6B on `llama-server`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
|
| 139 |
## License
|
| 140 |
|