Leozkl commited on
Commit
96a1eb9
·
verified ·
1 Parent(s): d4aa0e4

AgentDecision-train: initial release

Browse files
README.md ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ pretty_name: AgentDecision-train
4
+ language:
5
+ - en
6
+ task_categories:
7
+ - multiple-choice
8
+ - text-classification
9
+ tags:
10
+ - agents
11
+ - llm-agents
12
+ - tool-use
13
+ - function-calling
14
+ - decision-making
15
+ - distillation
16
+ size_categories:
17
+ - 10K<n<100K
18
+ configs:
19
+ - config_name: v1
20
+ default: true
21
+ data_files:
22
+ - split: train
23
+ path: v1/train.parquet
24
+ - split: dev
25
+ path: v1/dev.parquet
26
+ - split: dev_knockout
27
+ path: v1/dev_knockout.parquet
28
+ - split: dev_recovery
29
+ path: v1/dev_recovery.parquet
30
+ - config_name: v1_replay_when2call
31
+ data_files:
32
+ - split: train
33
+ path: v1/replay_when2call.parquet
34
+ - config_name: v0
35
+ data_files:
36
+ - split: train
37
+ path: v0/train.parquet
38
+ - split: dev
39
+ path: v0/dev.parquet
40
+ - config_name: v0_extra
41
+ data_files:
42
+ - split: dev_when2call
43
+ path: v0/dev_when2call.parquet
44
+ - split: mc_standin
45
+ path: v0/mc_standin.parquet
46
+ ---
47
+
48
+ # AgentDecision-train
49
+
50
+ Training data for decision models, from the paper *JevAgentHarness: Benchmarking, Deploying and Training Decision
51
+ Models That Share Control with LLMs*. Code: [github.com/JevAgentHarness/JevAgentHarness](https://github.com/JevAgentHarness/JevAgentHarness)
52
+ (research code in `research/`). Benchmark: AgentDecisionBench.
53
+
54
+ A decision model answers a multiple-choice question about an LLM agent's next step: which tool to call, which value
55
+ an argument takes, whether the task is done. Each row here is one such question, asked at a state the agent actually
56
+ reached, with a probability target over the options. `v1` is the agent-state SFT data of the paper's training recipe
57
+ (Section 5 and Appendix D). It was used for the SFT stage of AgentDecision-4B v1 (code name JevAgentRL-4B), on which
58
+ AgentDecision-4B was built. `v0` is the earlier starter set; its train rows are also part of `v1/train`.
59
+
60
+ ## How the data was built
61
+
62
+ **v1** (`research/scripts/train/make_data_v1.sh`, module `research/src/jevharness/training/data_v1.py`; recipe notes in
63
+ `research/docs/TRAINING_RECIPES.md` §18):
64
+
65
+ 1. **Episodes.** DecisionGym (code name JevGym) tasks in the evaluation setting (customer-service tasks, 60 near-miss
66
+ distractor tools, 20 noise lines per tool result) on training seeds 30000-30599, which never overlap the evaluation
67
+ seeds. The agent LLM was Gemini 3.5 Flash-Lite (temperature 0), in three behaviour arms: `lite_shadow` (Flash-Lite
68
+ acts, the decision points are only recorded, 250 episodes), `nearmiss_replace` (a simulated decision model that
69
+ follows the canonical plan with injected near-miss errors acts, which produces recovery states, 600 episodes) and
70
+ `lite_guard` (Flash-Lite proposes, guards check tool calls and the stop, 150 episodes).
71
+ 2. **Harvest.** Every decision point with a gold label from the task's canonical plan: tool choice (`tool_select`),
72
+ tool arguments (`tool_params`) and stop / guard questions (`stop`; yes / no questions have `kind` `noul`). Duplicates
73
+ across arms were removed, the frequent "no" answers of the stop trigger were down-sampled, and the data was split
74
+ by task (15 % of tasks to dev). Guard questions about wrong calls the agent actually executed were added with the
75
+ label "no" (`source` `syn_guard:<arm>`), because the guard arms logged almost only correct proposals.
76
+ Hold-out checks: no evaluation seed, none of the 299 development items of the L1 benchmark, and an 8-gram
77
+ decontamination against BFCL v4 and the When2Call test split. Added to train: the 1,225 `v0` train rows and
78
+ 2,133 knock-out variants (`meta.augment`): a tool-choice row cut down to the gold tool and its three hardest
79
+ distractors, the final round that a served model with a limited number of options sees in the harness's
80
+ knock-out over many options.
81
+ 3. **Teacher labels.** Jev (`typesafe/jev-1.13`, a commercial decision model by TypeSafe, called through OpenRouter)
82
+ answered every train row. The target is q = 0.3 x gold + 0.7 x p_Jev; where Jev's top answer disagreed with the
83
+ gold label, the target is the gold label alone (864 rows, `label_source` `gold`). Dev targets stay gold; Jev's
84
+ accuracy on dev is in `v1/dev_teacher.summary.json`.
85
+ 4. **Cost.** $5.28 in all (episodes $4.65, teacher $0.63; `v1/MANIFEST.json`).
86
+
87
+ **v0** (`research/scripts/train/make_data_v0.sh`): JevGym training seeds 10000-10029 and 12000-12059, agent Gemini 3.5
88
+ Flash, decision points recorded in shadow mode, gold labels. Jev was not reachable when v0 was built, so the teacher
89
+ was a stand-in: Gemini 3.5 Flash-Lite's verbalised distributions (`target_teacher_standin`). `mc_standin` holds 24
90
+ rows with counterfactual Q-values from short rollouts.
91
+
92
+ The When2Call rows (`v1_replay_when2call`, `v0_extra/dev_when2call`) are converted items of When2Call's train split
93
+ (only the "ask" and "cannot answer" cases), replayed during training to keep the model's behaviour on public
94
+ questions. v0 also had a replay file with 15 more rows, which v1's decontamination removed; it is not included.
95
+
96
+ Not included: the raw trajectories, the public tool-use data (ToolACE) that AgentDecision-4B and AgentDecision-0.8B
97
+ were trained on in addition, and the data of the appendix experiments. The research scripts rebuild them.
98
+
99
+ ## Configs and files
100
+
101
+ | Config / split | File | Rows | Labels |
102
+ |---|---|---|---|
103
+ | `v1` / `train` | `v1/train.parquet` | 15,694 (587 tasks) | Jev soft labels mixed with gold (14,830), gold only (864) |
104
+ | `v1` / `dev` | `v1/dev.parquet` | 2,377 (90 tasks) | gold |
105
+ | `v1` / `dev_knockout` | `v1/dev_knockout.parquet` | 656 | gold; dev tool-choice rows with knocked-out options |
106
+ | `v1` / `dev_recovery` | `v1/dev_recovery.parquet` | 606 (44 tasks) | gold; dev rows after an earlier error (`after_error` > 0) |
107
+ | `v1_replay_when2call` / `train` | `v1/replay_when2call.parquet` | 2,685 | When2Call label |
108
+ | `v0` / `train` | `v0/train.parquet` | 1,225 (77 tasks) | gold (`target`) and the Flash-Lite stand-in teacher (`target_teacher_standin`) |
109
+ | `v0` / `dev` | `v0/dev.parquet` | 210 (13 tasks) | gold |
110
+ | `v0_extra` / `dev_when2call` | `v0/dev_when2call.parquet` | 300 | When2Call label |
111
+ | `v0_extra` / `mc_standin` | `v0/mc_standin.parquet` | 24 | rollout Q-values |
112
+
113
+ `MANIFEST.json`, `build_info.json` and the `*.summary.json` files are the build records (row counts per decision
114
+ point, label sources, teacher metrics, cost). Their file names and sha256 values refer to the original JSONL files of
115
+ the research repository; the Parquet files here hold the same rows (see "Original format").
116
+
117
+ ## Fields
118
+
119
+ - `id`: the task id, the arm and step, and the decision point (for example
120
+ `jevgym-clarify-30036-d60-near-strict/nearmiss_replace:1/tool_select`; `#ko` marks a knock-out variant), or
121
+ `w2ctrain-<hash>/when2call` for When2Call rows.
122
+ - `source`: `traj:<arm>` (a recorded state), `syn_guard:<arm>` (a guard question about a wrong executed call),
123
+ `when2call-train`, or `mc`.
124
+ - `dp`: decision point (`tool_select`, `tool_params`, `stop`). `kind`: `choice` (pick one option) or `noul` (yes / no).
125
+ - `state`: the text the decision model reads: the task, the recent history of tool calls and results, and the
126
+ current observation.
127
+ - `question`: the question asked, such as "Which tool should the agent call next?".
128
+ - `options`: the answer options (tool options are rendered `name -- description`, as the served model sees them).
129
+ - `target`: the training target, one probability per option, aligned with `options`.
130
+ - `q_values`: rollout Q-values aligned with `options` (`mc_standin` only).
131
+ - `label_source`, `arm`, `jevgym_seed`, `step`, `after_error` (errors earlier in the episode), `episode_success`:
132
+ copied from `meta` for filtering.
133
+ - `meta`: the full metadata as a JSON string: what was logged at the decision (the recorded decision-model and LLM
134
+ answers), and for teacher-labelled rows the teacher's distribution (`teacher_dists`), `alpha` and `gold`.
135
+ - `v0` / `train` only: `target_teacher_standin` and `meta_teacher_standin`, the stand-in teacher's target and
136
+ metadata for the same rows.
137
+
138
+ ## Original format
139
+
140
+ The training code in `research/src/jevharness/training/` reads JSONL rows whose `target` is a dict from option to
141
+ probability and whose `meta` is an object. This restores them exactly (checked row by row against the originals):
142
+
143
+ ```python
144
+ import gzip, json
145
+ from datasets import load_dataset
146
+
147
+ rows = load_dataset("JevAgentHarness/AgentDecision-train", "v1", split="train")
148
+ with gzip.open("train.jsonl.gz", "wt") as f:
149
+ for r in rows:
150
+ o = r["options"]
151
+ f.write(json.dumps({"id": r["id"], "source": r["source"], "dp": r["dp"], "kind": r["kind"],
152
+ "state": r["state"], "question": r["question"], "options": o,
153
+ "target": dict(zip(o, r["target"])),
154
+ "q_values": None if r["q_values"] is None else dict(zip(o, r["q_values"])),
155
+ "meta": json.loads(r["meta"])}) + "\n")
156
+ ```
157
+
158
+ The SFT and GRPO steps are `research/scripts/train/12_sft_v1.sh` and `70_grpo_online.sh`.
159
+
160
+ ## Licence and third-party content
161
+
162
+ - **Licence: CC BY-NC 4.0** (non-commercial) for the data we created (the states, gold labels, targets and build records), because they contain outputs of commercial models (the Jev decision model and Gemini or OpenAI agent text) whose redistribution terms we cannot extend to commercial use.
163
+ - **Teacher labels come from Jev** (TypeSafe's commercial decision model, called through OpenRouter). The `v0`
164
+ stand-in labels come from Gemini 3.5 Flash-Lite. Check TypeSafe's and Google's terms before you use these labels
165
+ commercially, in particular for training a model that competes with theirs.
166
+ - **Part of the state text was written by Gemini models**: the agent's own tool arguments, questions to the customer
167
+ and final answers in the histories (Gemini 3.5 Flash-Lite in v1's episodes, Gemini 3.5 Flash in v0's). The tasks,
168
+ customers, orders, tool results and customer replies are generated from DecisionGym's templates and contain no
169
+ personal information. Check Google's terms for Gemini output before commercial use.
170
+ - **When2Call** rows (`v1_replay_when2call`, `v0_extra/dev_when2call`) are derived from When2Call (NVIDIA,
171
+ CC BY 4.0, huggingface.co/datasets/nvidia/When2Call); keep its attribution.
172
+
173
+ ## Citation
174
+
175
+ ```bibtex
176
+ @misc{zhu2026jevagentharness,
177
+ title = {JevAgentHarness: Benchmarking, Deploying and Training Decision Models That Share Control with LLMs},
178
+ author = {Zhu, Kunlun and Feng, Tao and Han, Xu and Wang, Heng and Yang, Ling and Tang, Xiangru and You, Jiaxuan and Ji, Heng},
179
+ year = {2026},
180
+ note = {arXiv identifier to be added}
181
+ }
182
+ ```
v0/MANIFEST.json ADDED
@@ -0,0 +1,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "train_v0",
3
+ "created": "2026-10-01T01:53:33+00:00",
4
+ "git_commit": "dcf0d5f32b2ecb2578209c2cd040d7d473489641",
5
+ "total_bytes": 12442564,
6
+ "total_mb": 11.866,
7
+ "holdout": {
8
+ "min_jevgym_seed": 1000,
9
+ "eval_seeds_found": [],
10
+ "rule": "JevGym seeds < 1000 are evaluation/pilot seeds (E2: 0..199) and never appear here; no BFCL or When2Call TEST item is included"
11
+ },
12
+ "files": {
13
+ "dev.jsonl": {
14
+ "bytes": 805293,
15
+ "sha256": "c42a97eb39c71cbc2d11b5f189ea9e512c7c3a7c16e8bd45ad9d6c2c3bd56dba",
16
+ "rows": 210,
17
+ "tasks": 13,
18
+ "by_source": {
19
+ "traj": 210
20
+ },
21
+ "by_dp": {
22
+ "tool_select": 62,
23
+ "tool_params": 86,
24
+ "stop": 62
25
+ },
26
+ "by_kind": {
27
+ "choice": 148,
28
+ "noul": 62
29
+ },
30
+ "by_options": {
31
+ "17-52": 98,
32
+ "3-5": 29,
33
+ "2": 70,
34
+ "6-16": 13
35
+ },
36
+ "label_sources": {
37
+ "gold": 210
38
+ },
39
+ "soft_target_frac": 0.0,
40
+ "with_q_values": 0,
41
+ "jevgym_seed_range": [
42
+ 10005,
43
+ 12055
44
+ ],
45
+ "jevgym_tasks": 13
46
+ },
47
+ "dev_teacher_standin.summary.json": {
48
+ "bytes": 1069,
49
+ "sha256": "ccf06248f8e0387698b384262e4be0754a39f3f29a766d298ebe401527ea52de",
50
+ "teachers": {
51
+ "lite": {
52
+ "spec": {
53
+ "type": "llm_generative",
54
+ "llm": {
55
+ "provider": "gemini",
56
+ "model": "gemini-3.5-flash-lite"
57
+ },
58
+ "reasoning_effort": "minimal"
59
+ },
60
+ "acc_vs_gold": 0.919047619047619,
61
+ "nll": 1.0706951712813644,
62
+ "ece": 0.08307485928575264,
63
+ "answered": 210,
64
+ "cost_usd": 0.13174920000000004,
65
+ "calls": 62
66
+ }
67
+ },
68
+ "outcomes": {
69
+ "kept": 210
70
+ }
71
+ },
72
+ "dev_when2call.jsonl.gz": {
73
+ "bytes": 77286,
74
+ "sha256": "1555279f79d76b0d35b16af970ab2e9c808d39fa18614ba9f227290db6947d39",
75
+ "rows": 300,
76
+ "tasks": 300,
77
+ "by_source": {
78
+ "when2call-train": 300
79
+ },
80
+ "by_dp": {
81
+ "tool_select": 300
82
+ },
83
+ "by_kind": {
84
+ "choice": 300
85
+ },
86
+ "by_options": {
87
+ "3-5": 300
88
+ },
89
+ "label_sources": {
90
+ "gold": 300
91
+ },
92
+ "soft_target_frac": 0.0,
93
+ "with_q_values": 0,
94
+ "jevgym_seed_range": null,
95
+ "jevgym_tasks": 0
96
+ },
97
+ "mc_standin.jsonl": {
98
+ "bytes": 32366,
99
+ "sha256": "adf3f09a4153471f9229bdf89d41224ae768e879f52ba69466d46b5e4044c9ff",
100
+ "rows": 24,
101
+ "tasks": 22,
102
+ "by_source": {
103
+ "mc": 24
104
+ },
105
+ "by_dp": {
106
+ "tool_select": 24
107
+ },
108
+ "by_kind": {
109
+ "choice": 24
110
+ },
111
+ "by_options": {
112
+ "3-5": 24
113
+ },
114
+ "label_sources": {
115
+ "None": 24
116
+ },
117
+ "soft_target_frac": 1.0,
118
+ "with_q_values": 24,
119
+ "jevgym_seed_range": [
120
+ 12001,
121
+ 12058
122
+ ],
123
+ "jevgym_tasks": 22
124
+ },
125
+ "replay_when2call.jsonl.gz": {
126
+ "bytes": 676710,
127
+ "sha256": "cb77abe3cc1a59a802e628e2809741712a1d63259d948f082ad4b83fb1c61f39",
128
+ "rows": 2700,
129
+ "tasks": 2700,
130
+ "by_source": {
131
+ "when2call-train": 2700
132
+ },
133
+ "by_dp": {
134
+ "tool_select": 2700
135
+ },
136
+ "by_kind": {
137
+ "choice": 2700
138
+ },
139
+ "by_options": {
140
+ "3-5": 2700
141
+ },
142
+ "label_sources": {
143
+ "gold": 2700
144
+ },
145
+ "soft_target_frac": 0.0,
146
+ "with_q_values": 0,
147
+ "jevgym_seed_range": null,
148
+ "jevgym_tasks": 0
149
+ },
150
+ "train.jsonl": {
151
+ "bytes": 4920221,
152
+ "sha256": "64922c005873b0102d75a1fce3905ceecb07013ed89064b53b6e0636613baad1",
153
+ "rows": 1225,
154
+ "tasks": 77,
155
+ "by_source": {
156
+ "traj": 1225
157
+ },
158
+ "by_dp": {
159
+ "tool_select": 371,
160
+ "tool_params": 483,
161
+ "stop": 371
162
+ },
163
+ "by_kind": {
164
+ "choice": 854,
165
+ "noul": 371
166
+ },
167
+ "by_options": {
168
+ "17-52": 569,
169
+ "6-16": 77,
170
+ "2": 418,
171
+ "3-5": 161
172
+ },
173
+ "label_sources": {
174
+ "gold": 1225
175
+ },
176
+ "soft_target_frac": 0.0,
177
+ "with_q_values": 0,
178
+ "jevgym_seed_range": [
179
+ 10000,
180
+ 12059
181
+ ],
182
+ "jevgym_tasks": 77
183
+ },
184
+ "train_teacher_standin.jsonl": {
185
+ "bytes": 5529056,
186
+ "sha256": "c6b392f9ad7c418165139b506c55c44eaf08f683100033ed3bbda99623911713",
187
+ "rows": 1225,
188
+ "tasks": 77,
189
+ "by_source": {
190
+ "traj": 1225
191
+ },
192
+ "by_dp": {
193
+ "tool_select": 371,
194
+ "tool_params": 483,
195
+ "stop": 371
196
+ },
197
+ "by_kind": {
198
+ "choice": 854,
199
+ "noul": 371
200
+ },
201
+ "by_options": {
202
+ "17-52": 569,
203
+ "6-16": 77,
204
+ "2": 418,
205
+ "3-5": 161
206
+ },
207
+ "label_sources": {
208
+ "teacher": 1096,
209
+ "gold": 129
210
+ },
211
+ "soft_target_frac": 0.8947,
212
+ "with_q_values": 0,
213
+ "jevgym_seed_range": [
214
+ 10000,
215
+ 12059
216
+ ],
217
+ "jevgym_tasks": 77
218
+ },
219
+ "train_teacher_standin.jsonl.summary.json": {
220
+ "bytes": 1060,
221
+ "sha256": "681b6081ffe783be860e02fb755b5ba60957d10b47f58a326f2d0a389158c4eb",
222
+ "teachers": {
223
+ "lite": {
224
+ "spec": {
225
+ "type": "llm_generative",
226
+ "llm": {
227
+ "provider": "gemini",
228
+ "model": "gemini-3.5-flash-lite"
229
+ },
230
+ "reasoning_effort": "minimal"
231
+ },
232
+ "acc_vs_gold": 0.8946938775510204,
233
+ "nll": 1.4343635090873963,
234
+ "ece": 0.10452057333387853,
235
+ "answered": 1225,
236
+ "cost_usd": 0.7885499000000002,
237
+ "calls": 362
238
+ }
239
+ },
240
+ "outcomes": {
241
+ "kept": 1096,
242
+ "gold_only": 129
243
+ }
244
+ },
245
+ "trajectories/train_v0_jevgym_v1/experiment.yaml": {
246
+ "bytes": 557,
247
+ "sha256": "03b329a0d4cb4f5a4c3df79221d8079909e85abaf7179b171a86e3d9a3dc33aa"
248
+ },
249
+ "trajectories/train_v0_jevgym_v1/shadow.jsonl.gz": {
250
+ "bytes": 156124,
251
+ "sha256": "8eeda26bcde521564436007e3bfb83dd756985f56a89c9eddf25e6aaecd75c57"
252
+ },
253
+ "trajectories/train_v0_jevgym_v2/experiment.yaml": {
254
+ "bytes": 557,
255
+ "sha256": "823a0a4f88e8228066c27ad26a17d7e92af80b080b98d259036284a0ab4e077e"
256
+ },
257
+ "trajectories/train_v0_jevgym_v2/shadow.jsonl.gz": {
258
+ "bytes": 242265,
259
+ "sha256": "18418220974383bbab58ac400c63278a5e02aadb8df876a1b13add4719943c55"
260
+ }
261
+ },
262
+ "trajectory_runs": {
263
+ "train_v0_jevgym_v1": {
264
+ "suite": {
265
+ "name": "jevgym",
266
+ "n": 60,
267
+ "seed0": 12000,
268
+ "families": "v1",
269
+ "distractor_style": "mixed",
270
+ "n_distractors": 30,
271
+ "noise_lines": 0,
272
+ "strict": true
273
+ },
274
+ "system2": {
275
+ "provider": "gemini",
276
+ "model": "gemini-3.5-flash",
277
+ "temperature": 0,
278
+ "reasoning_effort": "minimal"
279
+ },
280
+ "system1_shadow": {
281
+ "type": "llm_generative",
282
+ "llm": {
283
+ "provider": "gemini",
284
+ "model": "gemini-3.5-flash-lite"
285
+ },
286
+ "reasoning_effort": "minimal"
287
+ },
288
+ "arms": [
289
+ "shadow"
290
+ ],
291
+ "files": {
292
+ "shadow.jsonl.gz": {
293
+ "episodes": 60,
294
+ "success": 60,
295
+ "cost_usd_total_with_shadow": 1.3189,
296
+ "cost_usd_system2": 0.95
297
+ }
298
+ }
299
+ },
300
+ "train_v0_jevgym_v2": {
301
+ "suite": {
302
+ "name": "jevgym",
303
+ "n": 30,
304
+ "seed0": 10000,
305
+ "families": "v2",
306
+ "distractor_style": "near",
307
+ "n_distractors": 60,
308
+ "noise_lines": 20,
309
+ "strict": true
310
+ },
311
+ "system2": {
312
+ "provider": "gemini",
313
+ "model": "gemini-3.5-flash",
314
+ "temperature": 0,
315
+ "reasoning_effort": "minimal"
316
+ },
317
+ "system1_shadow": {
318
+ "type": "llm_generative",
319
+ "llm": {
320
+ "provider": "gemini",
321
+ "model": "gemini-3.5-flash-lite"
322
+ },
323
+ "reasoning_effort": "minimal"
324
+ },
325
+ "arms": [
326
+ "shadow"
327
+ ],
328
+ "files": {
329
+ "shadow.jsonl.gz": {
330
+ "episodes": 30,
331
+ "success": 30,
332
+ "cost_usd_total_with_shadow": 2.4238,
333
+ "cost_usd_system2": 1.3202
334
+ }
335
+ }
336
+ }
337
+ },
338
+ "cost_usd": {
339
+ "teacher:dev_teacher_standin.summary.json": 0.1317,
340
+ "teacher:train_teacher_standin.jsonl.summary.json": 0.7885,
341
+ "episodes:train_v0_jevgym_v1/shadow.jsonl.gz": 1.3189,
342
+ "episodes:train_v0_jevgym_v2/shadow.jsonl.gz": 2.4238,
343
+ "total": 4.6629
344
+ },
345
+ "notes": {
346
+ "purpose": "API-free starter data for the training programme (docs/TRAINING_AGENT_BRIEF.md). Big enough to validate every stage end to end and to run first SFT / calibration experiments; NOT the full training set (that is 00_harvest.sh on >= 1000 training-seed episodes + xLAM, plus Jev teacher labels).",
347
+ "regenerate": "bash scripts/train/make_data_v0.sh (SKIP_EPISODES=1 reuses runs/dev; every API step is cached or resumable)",
348
+ "files": {
349
+ "train.jsonl / dev.jsonl": "JevGym agentic decisions with ORACLE GOLD one-hot targets (tool_select Choice, tool_params Choice, stop Noul gate), split by task (dev = 15% of tasks). Format: src/jevharness/training/data.py.",
350
+ "train_teacher_standin.jsonl (+ .summary.json)": "train.jsonl with soft targets q = 0.3*gold + 0.7*p_teacher from the STAND-IN teacher (Gemini 3.5 Flash-Lite verbalised distribution, teacher_label.py; consensus != gold keeps the gold one-hot: meta.label_source = gold, teacher_outcome = gold_mismatch). Replace / complement with Jev labels: TEACHERS='jev=jev-openrouter;lite=gemini-lite' bash scripts/train/20_teacher_soft.sh.",
351
+ "replay_when2call.jsonl.gz / dev_when2call.jsonl.gz": "When2Call TRAIN split (SFT file) as 4-way decisions in the When2Call test format. Only request_for_info / cannot_answer occur (the SFT file has no call / direct rows; label rule: assistant turn contains '?' -> request_for_info). Mix with xLAM call items (harvest --xlam adds When2Call-format 'call' items) before relying on it for E1 When2Call.",
352
+ "mc_standin.jsonl": "Counterfactual Q-hat for a few v1 tool_select states (Gemini 3.5 Flash-Lite executor, T=0.7, K=3 alternatives x M=2 rollouts): a pipeline / sanity set for stages 40/50/55, too small for results.",
353
+ "trajectories/<run>/{experiment.yaml, shadow.jsonl.gz}": "the raw harness trajectories (input of harvest.py and mc_rollouts.py; gunzip for mc_rollouts). experiment.yaml holds the resolved suite and models.",
354
+ "dev_teacher_standin.summary.json": "metrics of the stand-in teacher (Gemini 3.5 Flash-Lite) on dev.jsonl vs gold (teachers.lite.acc / nll / ece): the reference of the T3 gate 'R3 dev acc >= 90% of the teacher's'. dev.jsonl itself stays gold."
355
+ },
356
+ "models": {
357
+ "system2": "gemini-3.5-flash (temperature 0, reasoning_effort minimal): it acted in every episode (LLM-only behaviour)",
358
+ "system1_shadow": "gemini-3.5-flash-lite verbalised distribution (STAND-IN for Jev; logged in meta.logged.s1_value / s1_conf)",
359
+ "teacher": "gemini-3.5-flash-lite verbalised distribution (STAND-IN for Jev)"
360
+ },
361
+ "holdout": "JevGym seeds: v2 10000..10029, v1 12000..12059; evaluation seeds 0..199 and dev seeds 5000+ never used. No BFCL item and no When2Call TEST item.",
362
+ "known_limits": [
363
+ "Gemini 3.5 Flash is at ceiling on JevGym (every episode succeeds), so states are on-policy for a strong System-2 and contain few recovery states; the S1 stand-in's mistakes are logged (meta.logged) but not acted on.",
364
+ "tool_select decisions with 69 options (v2 suite) keep the gold + 51 seeded random others (harvest --max-options 52); served, a 69-option Choice goes through the 52-chunk knockout.",
365
+ "When2Call replay has two of four classes (see above)."
366
+ ],
367
+ "licenses": {
368
+ "JevGym data": "ours (synthetic environment, generated by this repository)",
369
+ "When2Call": "NVIDIA When2Call, CC-BY-4.0 (https://github.com/NVIDIA/When2Call, commit ecc8d42388e91ab37e7e737d48e16e8ecea3d1dc); attribution required",
370
+ "Gemini outputs": "System-2 / teacher outputs of Google Gemini via the Gemini API; check the Gemini API terms before redistributing outside the project"
371
+ },
372
+ "cost_estimates": {
373
+ "mc_standin.jsonl": "NOT in cost_usd: mc_rollouts.py had no Ledger summary when v0 was generated (it now writes <out>.summary.json). Re-measured on 4 of its 24 states with the fixed code: $0.00274 per rollout episode (Flash-Lite executor) -> ~ $0.39 for the 24 x 3 x 2 = 144 episodes.",
374
+ "budget_probes": "a 60-decision teacher probe ($0.046) and the 4-state MC re-measurement ($0.066) are not part of the released files",
375
+ "total_spent_generating_v0_usd": "~ 5.17 (MANIFEST cost_usd.total + the MC estimate + the two probes)"
376
+ }
377
+ }
378
+ }
v0/dev.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25e1c51f204fceb2ca8852d6af386dbdf65795d3abedb359f15d316c4f2d0314
3
+ size 25097
v0/dev_teacher_standin.summary.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_in": 210,
3
+ "n_valid": 210,
4
+ "teachers": {
5
+ "lite": {
6
+ "spec": {
7
+ "type": "llm_generative",
8
+ "llm": {
9
+ "provider": "gemini",
10
+ "model": "gemini-3.5-flash-lite"
11
+ },
12
+ "reasoning_effort": "minimal"
13
+ },
14
+ "answered": 210,
15
+ "with_gold": 210,
16
+ "acc": 0.919047619047619,
17
+ "nll": 1.0706951712813644,
18
+ "ece": 0.08307485928575264,
19
+ "skipped": {},
20
+ "ledger": {
21
+ "calls": 62,
22
+ "calls_fresh": 62,
23
+ "input_tokens": 129364,
24
+ "output_tokens": 37176,
25
+ "cost_usd": 0.13174920000000004,
26
+ "cost_usd_fresh": 0.13174920000000004,
27
+ "latency_ms_sum": 113399.47329700002,
28
+ "unpriced_models": []
29
+ }
30
+ }
31
+ },
32
+ "n_out": 210,
33
+ "outcomes": {
34
+ "kept": 210
35
+ },
36
+ "config": {
37
+ "alpha": 0.3,
38
+ "min_agree": 1,
39
+ "min_conf": 0.0,
40
+ "pool": "mean",
41
+ "temperature": 1.0,
42
+ "gold_filter": "keep",
43
+ "on_disagree": "gold",
44
+ "weights": {},
45
+ "mc_beta": null
46
+ },
47
+ "target_metrics": {
48
+ "answered": 210,
49
+ "with_gold": 0,
50
+ "acc": null,
51
+ "nll": null,
52
+ "ece": null
53
+ },
54
+ "cost_usd_fresh": 0.13174920000000004,
55
+ "wall_s": 15.954161358999954
56
+ }
v0/dev_when2call.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7024755d5114f93572bb6d0ead917a254ce3a79e071aa849b84aef554a706f
3
+ size 61995
v0/mc_standin.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:766f9f432a20416f4e06fc2116bc222edfacf0523d716396547ca1f62481dc29
3
+ size 8953
v0/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c564fa6d7b4caa0d9aeebe05381da70f512a5561bf9218aed7d5672e351220e
3
+ size 89561
v0/train_teacher_standin.jsonl.summary.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_in": 1225,
3
+ "n_valid": 1225,
4
+ "teachers": {
5
+ "lite": {
6
+ "spec": {
7
+ "type": "llm_generative",
8
+ "llm": {
9
+ "provider": "gemini",
10
+ "model": "gemini-3.5-flash-lite"
11
+ },
12
+ "reasoning_effort": "minimal"
13
+ },
14
+ "answered": 1225,
15
+ "with_gold": 1225,
16
+ "acc": 0.8946938775510204,
17
+ "nll": 1.4343635090873963,
18
+ "ece": 0.10452057333387853,
19
+ "skipped": {},
20
+ "ledger": {
21
+ "calls": 362,
22
+ "calls_fresh": 0,
23
+ "input_tokens": 791483,
24
+ "output_tokens": 220442,
25
+ "cost_usd": 0.7885499000000002,
26
+ "cost_usd_fresh": 0,
27
+ "latency_ms_sum": 637901.8740089989,
28
+ "unpriced_models": []
29
+ }
30
+ }
31
+ },
32
+ "n_out": 1225,
33
+ "outcomes": {
34
+ "kept": 1096,
35
+ "gold_only": 129
36
+ },
37
+ "config": {
38
+ "alpha": 0.3,
39
+ "min_agree": 1,
40
+ "min_conf": 0.0,
41
+ "pool": "mean",
42
+ "temperature": 1.0,
43
+ "gold_filter": "gold",
44
+ "on_disagree": "gold",
45
+ "weights": {},
46
+ "mc_beta": null
47
+ },
48
+ "target_metrics": {
49
+ "answered": 1096,
50
+ "with_gold": 0,
51
+ "acc": null,
52
+ "nll": null,
53
+ "ece": null
54
+ },
55
+ "cost_usd_fresh": 0,
56
+ "wall_s": 0.9548800570000822
57
+ }
v1/MANIFEST.json ADDED
@@ -0,0 +1,529 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "build": {
3
+ "runs": [
4
+ "data/cache/train_v1/train_v1_jevgym"
5
+ ],
6
+ "episodes": {
7
+ "data/cache/train_v1/train_v1_jevgym": {
8
+ "run": "data/cache/train_v1/train_v1_jevgym",
9
+ "arms": {
10
+ "lite_guard": {
11
+ "episodes": 150,
12
+ "superseded_or_errored_records": 0,
13
+ "system1_behaviour": [
14
+ {
15
+ "backend": "nearmiss",
16
+ "eps_gate": 0.1,
17
+ "eps_param": 0.15,
18
+ "eps_tool": 0.2,
19
+ "param_modes": {
20
+ "confusable": 0.6,
21
+ "other": 0.2,
22
+ "random": 0.2
23
+ },
24
+ "seed": 0,
25
+ "tool_modes": {
26
+ "near": 0.35,
27
+ "over_ask": 0.1,
28
+ "random": 0.15,
29
+ "skip": 0.4
30
+ }
31
+ }
32
+ ],
33
+ "executor": [
34
+ "gemini-3.5-flash-lite"
35
+ ],
36
+ "success": 127,
37
+ "cost_usd": 1.87121,
38
+ "decisions": 1362,
39
+ "wrong_proposal_rows": 0,
40
+ "off_plan_episodes": 72
41
+ },
42
+ "lite_shadow": {
43
+ "episodes": 250,
44
+ "superseded_or_errored_records": 0,
45
+ "system1_behaviour": [
46
+ {
47
+ "backend": "nearmiss",
48
+ "eps_gate": 0.1,
49
+ "eps_param": 0.15,
50
+ "eps_tool": 0.2,
51
+ "param_modes": {
52
+ "confusable": 0.6,
53
+ "other": 0.2,
54
+ "random": 0.2
55
+ },
56
+ "seed": 0,
57
+ "tool_modes": {
58
+ "near": 0.35,
59
+ "over_ask": 0.1,
60
+ "random": 0.15,
61
+ "skip": 0.4
62
+ }
63
+ }
64
+ ],
65
+ "executor": [
66
+ "gemini-3.5-flash-lite"
67
+ ],
68
+ "success": 207,
69
+ "cost_usd": 2.436614,
70
+ "decisions": 6246,
71
+ "wrong_proposal_rows": 16,
72
+ "off_plan_episodes": 66
73
+ },
74
+ "nearmiss_replace": {
75
+ "episodes": 600,
76
+ "superseded_or_errored_records": 0,
77
+ "system1_behaviour": [
78
+ {
79
+ "backend": "nearmiss",
80
+ "eps_gate": 0.1,
81
+ "eps_param": 0.15,
82
+ "eps_tool": 0.2,
83
+ "param_modes": {
84
+ "confusable": 0.6,
85
+ "other": 0.2,
86
+ "random": 0.2
87
+ },
88
+ "seed": 0,
89
+ "tool_modes": {
90
+ "near": 0.35,
91
+ "over_ask": 0.1,
92
+ "random": 0.15,
93
+ "skip": 0.4
94
+ }
95
+ }
96
+ ],
97
+ "executor": [
98
+ "gemini-3.5-flash-lite"
99
+ ],
100
+ "success": 160,
101
+ "cost_usd": 0.34553,
102
+ "decisions": 10487,
103
+ "wrong_proposal_rows": 652,
104
+ "off_plan_episodes": 432
105
+ }
106
+ },
107
+ "cost_usd": 4.653354,
108
+ "nearmiss_counts": {
109
+ "stop:flip": 529,
110
+ "stop:gold": 4829,
111
+ "tool_params:confusable": 345,
112
+ "tool_params:gold": 5370,
113
+ "tool_params:no_gold": 1078,
114
+ "tool_params:other": 236,
115
+ "tool_params:random": 388,
116
+ "tool_select:flip": 133,
117
+ "tool_select:gold": 5252,
118
+ "tool_select:near": 327,
119
+ "tool_select:over_ask": 115,
120
+ "tool_select:random": 203,
121
+ "tool_select:skip": 368
122
+ }
123
+ }
124
+ },
125
+ "rows_raw": 18763,
126
+ "duplicates_removed": 1496,
127
+ "exclusions": {
128
+ "dropped": {},
129
+ "kept": 17267
130
+ },
131
+ "balance": {
132
+ "before": {
133
+ "tool_guard:yes": 1167,
134
+ "stop_guard:yes": 506,
135
+ "tool_guard:no": 617,
136
+ "stop_guard:no": 162,
137
+ "tool_select": 4790,
138
+ "stop_trigger:no": 4127,
139
+ "tool_params": 5815,
140
+ "tool_params:OTHER": 38,
141
+ "stop_trigger:yes": 45
142
+ },
143
+ "after": {
144
+ "tool_guard:yes": 1167,
145
+ "stop_guard:yes": 506,
146
+ "tool_guard:no": 617,
147
+ "stop_guard:no": 162,
148
+ "tool_select": 4790,
149
+ "stop_trigger:no": 1138,
150
+ "tool_params": 5815,
151
+ "tool_params:OTHER": 38,
152
+ "stop_trigger:yes": 45
153
+ }
154
+ },
155
+ "dev_frac": 0.15,
156
+ "seed": 0,
157
+ "train_rows_gold": 15694,
158
+ "dev_rows": 2377,
159
+ "dev_tasks": 90,
160
+ "extra_train": {
161
+ "v0_train": {
162
+ "path": "data/train_v0/train.jsonl",
163
+ "rows": 1225,
164
+ "dropped": {},
165
+ "kept": 1225
166
+ }
167
+ },
168
+ "replay": {
169
+ "path": "data/train_v0/replay_when2call.jsonl.gz",
170
+ "dropped": {
171
+ "ngram_overlap_eval": 15
172
+ },
173
+ "kept": 2685
174
+ },
175
+ "knockout_final_variants": {
176
+ "frac": 0.5,
177
+ "rows": 2133
178
+ },
179
+ "decontamination": {
180
+ "ngram": 8,
181
+ "eval_texts": 6687,
182
+ "sources": "BFCL v4 six tool categories (all items) + When2Call test"
183
+ },
184
+ "gate_dev_tasks_excluded": 13,
185
+ "e1_dev_prefix_ids": 299
186
+ },
187
+ "cost": {
188
+ "episodes train_v1_jevgym (System-2 Flash-Lite; System-1 behaviour policy $0)": 4.6534,
189
+ "teacher jev on train (5175 requests)": 0.491,
190
+ "teacher jev on dev (2377 requests)": 0.1386,
191
+ "total": 5.283
192
+ },
193
+ "teacher_train": {
194
+ "outcomes": {
195
+ "gold_only": 864,
196
+ "kept": 14830
197
+ },
198
+ "config": {
199
+ "alpha": 0.3,
200
+ "min_agree": 1,
201
+ "min_conf": 0.0,
202
+ "pool": "mean",
203
+ "temperature": 1.0,
204
+ "gold_filter": "gold",
205
+ "on_disagree": "gold",
206
+ "weights": {},
207
+ "mc_beta": null
208
+ },
209
+ "teachers": {
210
+ "jev": {
211
+ "acc": 0.9449471135465783,
212
+ "nll": 0.2462338850811729,
213
+ "ece": 0.011080092658331693,
214
+ "answered": 15694,
215
+ "skipped": {}
216
+ }
217
+ }
218
+ },
219
+ "teacher_dev": {
220
+ "after_error:0": {
221
+ "n": 1771,
222
+ "acc": 0.9627,
223
+ "brier": 0.0296,
224
+ "ece": 0.0144
225
+ },
226
+ "after_error:1": {
227
+ "n": 606,
228
+ "acc": 0.9439,
229
+ "brier": 0.0448,
230
+ "ece": 0.0189
231
+ },
232
+ "bucket:stop_guard:no": {
233
+ "n": 15,
234
+ "acc": 0.6667,
235
+ "brier": 0.1483,
236
+ "ece": 0.2353
237
+ },
238
+ "bucket:stop_guard:yes": {
239
+ "n": 65,
240
+ "acc": 0.9385,
241
+ "brier": 0.0551,
242
+ "ece": 0.0355
243
+ },
244
+ "bucket:stop_trigger:no": {
245
+ "n": 584,
246
+ "acc": 1.0,
247
+ "brier": 0.001,
248
+ "ece": 0.0295
249
+ },
250
+ "bucket:stop_trigger:yes": {
251
+ "n": 5,
252
+ "acc": 1.0,
253
+ "brier": 0.023,
254
+ "ece": 0.114
255
+ },
256
+ "bucket:tool_guard:no": {
257
+ "n": 91,
258
+ "acc": 0.989,
259
+ "brier": 0.0124,
260
+ "ece": 0.0501
261
+ },
262
+ "bucket:tool_guard:yes": {
263
+ "n": 125,
264
+ "acc": 0.976,
265
+ "brier": 0.0347,
266
+ "ece": 0.1064
267
+ },
268
+ "bucket:tool_params": {
269
+ "n": 821,
270
+ "acc": 0.9805,
271
+ "brier": 0.0204,
272
+ "ece": 0.0241
273
+ },
274
+ "bucket:tool_params:OTHER": {
275
+ "n": 3,
276
+ "acc": 0.6667,
277
+ "brier": 0.0858,
278
+ "ece": 0.2069
279
+ },
280
+ "bucket:tool_select": {
281
+ "n": 668,
282
+ "acc": 0.8952,
283
+ "brier": 0.0758,
284
+ "ece": 0.0369
285
+ },
286
+ "dp:stop": {
287
+ "n": 669,
288
+ "acc": 0.9865,
289
+ "brier": 0.0098,
290
+ "ece": 0.0334
291
+ },
292
+ "dp:tool_params": {
293
+ "n": 824,
294
+ "acc": 0.9794,
295
+ "brier": 0.0207,
296
+ "ece": 0.0243
297
+ },
298
+ "dp:tool_select": {
299
+ "n": 884,
300
+ "acc": 0.9163,
301
+ "brier": 0.0635,
302
+ "ece": 0.0186
303
+ },
304
+ "overall": {
305
+ "n": 2377,
306
+ "acc": 0.9579,
307
+ "brier": 0.0335,
308
+ "ece": 0.0129
309
+ }
310
+ },
311
+ "name": "train_v1",
312
+ "created": "2026-10-02T03:35:32Z",
313
+ "git_commit": "c939e871f4aa93fbf29273b6acbb5016d231d3c7",
314
+ "files": {
315
+ "dev.jsonl.gz": {
316
+ "rows": 2377,
317
+ "bytes": 561882,
318
+ "sha256": "9301ae530b83f953aafeffe2364e8998e7a6057f5b0cc0410afa890664e30858",
319
+ "tasks": 90,
320
+ "by_source": {
321
+ "traj": 2287,
322
+ "syn_guard": 90
323
+ },
324
+ "by_dp": {
325
+ "tool_select": 884,
326
+ "stop": 669,
327
+ "tool_params": 824
328
+ },
329
+ "by_bucket": {
330
+ "tool_guard:yes": 125,
331
+ "stop_guard:yes": 65,
332
+ "tool_guard:no": 91,
333
+ "stop_guard:no": 15,
334
+ "tool_select": 668,
335
+ "tool_params": 821,
336
+ "stop_trigger:no": 584,
337
+ "stop_trigger:yes": 5,
338
+ "tool_params:OTHER": 3
339
+ },
340
+ "by_arm": {
341
+ "lite_guard": 143,
342
+ "lite_shadow": 800,
343
+ "nearmiss_replace": 1434
344
+ },
345
+ "after_error_rows": 606,
346
+ "label_sources": {
347
+ "gold": 2377
348
+ },
349
+ "soft_frac": 0.0,
350
+ "by_options": {
351
+ "2": 968,
352
+ "17-52": 1060,
353
+ "3-5": 277,
354
+ "6-16": 72
355
+ },
356
+ "jevgym_seed_range": [
357
+ 30006,
358
+ 30597
359
+ ],
360
+ "state_chars_median": 1733
361
+ },
362
+ "dev_knockout.jsonl.gz": {
363
+ "rows": 656,
364
+ "bytes": 118777,
365
+ "sha256": "f0f1c4cc4f54b6d8cd746b3ef5fee291523a861d90639d023a1d6941fe2f3823",
366
+ "tasks": 90,
367
+ "by_source": {
368
+ "traj": 656
369
+ },
370
+ "by_dp": {
371
+ "tool_select": 656
372
+ },
373
+ "by_bucket": {
374
+ "tool_select": 656
375
+ },
376
+ "by_arm": {
377
+ "lite_shadow": 234,
378
+ "nearmiss_replace": 422
379
+ },
380
+ "after_error_rows": 166,
381
+ "label_sources": {
382
+ "gold": 656
383
+ },
384
+ "soft_frac": 0.0,
385
+ "by_options": {
386
+ "3-5": 607,
387
+ "2": 49
388
+ },
389
+ "jevgym_seed_range": [
390
+ 30006,
391
+ 30597
392
+ ],
393
+ "state_chars_median": 1559
394
+ },
395
+ "dev_recovery.jsonl.gz": {
396
+ "rows": 606,
397
+ "bytes": 158126,
398
+ "sha256": "0eef019656936f4b13736ade83d993afc4f63a263482aa9726cb032998e3afcf",
399
+ "tasks": 44,
400
+ "by_source": {
401
+ "traj": 574,
402
+ "syn_guard": 32
403
+ },
404
+ "by_dp": {
405
+ "tool_select": 242,
406
+ "stop": 176,
407
+ "tool_params": 188
408
+ },
409
+ "by_bucket": {
410
+ "tool_guard:yes": 41,
411
+ "stop_guard:yes": 20,
412
+ "tool_guard:no": 33,
413
+ "tool_select": 168,
414
+ "stop_trigger:no": 149,
415
+ "tool_params": 185,
416
+ "stop_trigger:yes": 2,
417
+ "stop_guard:no": 5,
418
+ "tool_params:OTHER": 3
419
+ },
420
+ "by_arm": {
421
+ "lite_guard": 50,
422
+ "lite_shadow": 56,
423
+ "nearmiss_replace": 500
424
+ },
425
+ "after_error_rows": 606,
426
+ "label_sources": {
427
+ "gold": 606
428
+ },
429
+ "soft_frac": 0.0,
430
+ "by_options": {
431
+ "2": 269,
432
+ "17-52": 265,
433
+ "3-5": 68,
434
+ "6-16": 4
435
+ },
436
+ "jevgym_seed_range": [
437
+ 30006,
438
+ 30597
439
+ ],
440
+ "state_chars_median": 1958
441
+ },
442
+ "replay_when2call.jsonl.gz": {
443
+ "rows": 2685,
444
+ "bytes": 673123,
445
+ "sha256": "838d9d4a3d5bbc3e437ab5c9f6ec2c32507db4ff03c2d53e527a0d399ae6f948",
446
+ "tasks": 2685,
447
+ "by_source": {
448
+ "when2call-train": 2685
449
+ },
450
+ "by_dp": {
451
+ "tool_select": 2685
452
+ },
453
+ "by_bucket": {
454
+ "tool_select": 2685
455
+ },
456
+ "by_arm": {
457
+ "-": 2685
458
+ },
459
+ "after_error_rows": 0,
460
+ "label_sources": {
461
+ "gold": 2685
462
+ },
463
+ "soft_frac": 0.0,
464
+ "by_options": {
465
+ "3-5": 2685
466
+ },
467
+ "jevgym_seed_range": null,
468
+ "state_chars_median": 719
469
+ },
470
+ "train.jsonl.gz": {
471
+ "rows": 15694,
472
+ "bytes": 10277898,
473
+ "sha256": "9c0450c22d63f8b1cd9180c0edc2103a72ed895097ca58a79f4c7ccab93bee0a",
474
+ "tasks": 587,
475
+ "by_source": {
476
+ "traj": 15199,
477
+ "syn_guard": 495
478
+ },
479
+ "by_dp": {
480
+ "stop": 1988,
481
+ "tool_select": 8194,
482
+ "tool_params": 5512
483
+ },
484
+ "by_bucket": {
485
+ "stop_trigger:yes": 44,
486
+ "tool_select": 6626,
487
+ "stop_trigger:no": 1279,
488
+ "tool_params": 5392,
489
+ "stop_guard:yes": 518,
490
+ "tool_guard:yes": 1042,
491
+ "tool_guard:no": 526,
492
+ "stop_guard:no": 147,
493
+ "tool_params:OTHER": 120
494
+ },
495
+ "by_arm": {
496
+ "nearmiss_replace": 8083,
497
+ "v0_flash_shadow": 1384,
498
+ "lite_shadow": 5010,
499
+ "lite_guard": 1217
500
+ },
501
+ "after_error_rows": 4843,
502
+ "label_sources": {
503
+ "gold": 864,
504
+ "teacher": 14830
505
+ },
506
+ "soft_frac": 0.9449,
507
+ "by_options": {
508
+ "2": 4275,
509
+ "17-52": 7139,
510
+ "3-5": 3807,
511
+ "6-16": 473
512
+ },
513
+ "jevgym_seed_range": [
514
+ 10000,
515
+ 30599
516
+ ],
517
+ "state_chars_median": 1808
518
+ },
519
+ "dev_teacher.summary.json": {
520
+ "bytes": 1796,
521
+ "sha256": "e933b1725feec0c8c272bb600d944012bc477eeac9c1d440eafe4f45aafa9202"
522
+ },
523
+ "train.jsonl.summary.json": {
524
+ "bytes": 971,
525
+ "sha256": "31055a27aa5f124c70bfb8488a84e8634a889565ef6c8dfdf7c572484a808fd5"
526
+ }
527
+ },
528
+ "total_mb": 11.793
529
+ }
v1/build_info.json ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "build": {
3
+ "runs": [
4
+ "data/cache/train_v1/train_v1_jevgym"
5
+ ],
6
+ "episodes": {
7
+ "data/cache/train_v1/train_v1_jevgym": {
8
+ "run": "data/cache/train_v1/train_v1_jevgym",
9
+ "arms": {
10
+ "lite_guard": {
11
+ "episodes": 150,
12
+ "superseded_or_errored_records": 0,
13
+ "system1_behaviour": [
14
+ {
15
+ "backend": "nearmiss",
16
+ "eps_gate": 0.1,
17
+ "eps_param": 0.15,
18
+ "eps_tool": 0.2,
19
+ "param_modes": {
20
+ "confusable": 0.6,
21
+ "other": 0.2,
22
+ "random": 0.2
23
+ },
24
+ "seed": 0,
25
+ "tool_modes": {
26
+ "near": 0.35,
27
+ "over_ask": 0.1,
28
+ "random": 0.15,
29
+ "skip": 0.4
30
+ }
31
+ }
32
+ ],
33
+ "executor": [
34
+ "gemini-3.5-flash-lite"
35
+ ],
36
+ "success": 127,
37
+ "cost_usd": 1.87121,
38
+ "decisions": 1362,
39
+ "wrong_proposal_rows": 0,
40
+ "off_plan_episodes": 72
41
+ },
42
+ "lite_shadow": {
43
+ "episodes": 250,
44
+ "superseded_or_errored_records": 0,
45
+ "system1_behaviour": [
46
+ {
47
+ "backend": "nearmiss",
48
+ "eps_gate": 0.1,
49
+ "eps_param": 0.15,
50
+ "eps_tool": 0.2,
51
+ "param_modes": {
52
+ "confusable": 0.6,
53
+ "other": 0.2,
54
+ "random": 0.2
55
+ },
56
+ "seed": 0,
57
+ "tool_modes": {
58
+ "near": 0.35,
59
+ "over_ask": 0.1,
60
+ "random": 0.15,
61
+ "skip": 0.4
62
+ }
63
+ }
64
+ ],
65
+ "executor": [
66
+ "gemini-3.5-flash-lite"
67
+ ],
68
+ "success": 207,
69
+ "cost_usd": 2.436614,
70
+ "decisions": 6246,
71
+ "wrong_proposal_rows": 16,
72
+ "off_plan_episodes": 66
73
+ },
74
+ "nearmiss_replace": {
75
+ "episodes": 600,
76
+ "superseded_or_errored_records": 0,
77
+ "system1_behaviour": [
78
+ {
79
+ "backend": "nearmiss",
80
+ "eps_gate": 0.1,
81
+ "eps_param": 0.15,
82
+ "eps_tool": 0.2,
83
+ "param_modes": {
84
+ "confusable": 0.6,
85
+ "other": 0.2,
86
+ "random": 0.2
87
+ },
88
+ "seed": 0,
89
+ "tool_modes": {
90
+ "near": 0.35,
91
+ "over_ask": 0.1,
92
+ "random": 0.15,
93
+ "skip": 0.4
94
+ }
95
+ }
96
+ ],
97
+ "executor": [
98
+ "gemini-3.5-flash-lite"
99
+ ],
100
+ "success": 160,
101
+ "cost_usd": 0.34553,
102
+ "decisions": 10487,
103
+ "wrong_proposal_rows": 652,
104
+ "off_plan_episodes": 432
105
+ }
106
+ },
107
+ "cost_usd": 4.653354,
108
+ "nearmiss_counts": {
109
+ "stop:flip": 529,
110
+ "stop:gold": 4829,
111
+ "tool_params:confusable": 345,
112
+ "tool_params:gold": 5370,
113
+ "tool_params:no_gold": 1078,
114
+ "tool_params:other": 236,
115
+ "tool_params:random": 388,
116
+ "tool_select:flip": 133,
117
+ "tool_select:gold": 5252,
118
+ "tool_select:near": 327,
119
+ "tool_select:over_ask": 115,
120
+ "tool_select:random": 203,
121
+ "tool_select:skip": 368
122
+ }
123
+ }
124
+ },
125
+ "rows_raw": 18763,
126
+ "duplicates_removed": 1496,
127
+ "exclusions": {
128
+ "dropped": {},
129
+ "kept": 17267
130
+ },
131
+ "balance": {
132
+ "before": {
133
+ "tool_guard:yes": 1167,
134
+ "stop_guard:yes": 506,
135
+ "tool_guard:no": 617,
136
+ "stop_guard:no": 162,
137
+ "tool_select": 4790,
138
+ "stop_trigger:no": 4127,
139
+ "tool_params": 5815,
140
+ "tool_params:OTHER": 38,
141
+ "stop_trigger:yes": 45
142
+ },
143
+ "after": {
144
+ "tool_guard:yes": 1167,
145
+ "stop_guard:yes": 506,
146
+ "tool_guard:no": 617,
147
+ "stop_guard:no": 162,
148
+ "tool_select": 4790,
149
+ "stop_trigger:no": 1138,
150
+ "tool_params": 5815,
151
+ "tool_params:OTHER": 38,
152
+ "stop_trigger:yes": 45
153
+ }
154
+ },
155
+ "dev_frac": 0.15,
156
+ "seed": 0,
157
+ "train_rows_gold": 15694,
158
+ "dev_rows": 2377,
159
+ "dev_tasks": 90,
160
+ "extra_train": {
161
+ "v0_train": {
162
+ "path": "data/train_v0/train.jsonl",
163
+ "rows": 1225,
164
+ "dropped": {},
165
+ "kept": 1225
166
+ }
167
+ },
168
+ "replay": {
169
+ "path": "data/train_v0/replay_when2call.jsonl.gz",
170
+ "dropped": {
171
+ "ngram_overlap_eval": 15
172
+ },
173
+ "kept": 2685
174
+ },
175
+ "knockout_final_variants": {
176
+ "frac": 0.5,
177
+ "rows": 2133
178
+ },
179
+ "decontamination": {
180
+ "ngram": 8,
181
+ "eval_texts": 6687,
182
+ "sources": "BFCL v4 six tool categories (all items) + When2Call test"
183
+ },
184
+ "gate_dev_tasks_excluded": 13,
185
+ "e1_dev_prefix_ids": 299
186
+ }
187
+ }
v1/dev.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cce2c8df53691995f4c3194db34a6a79d0d73d28b7f93c06e57a1b8dd6ddf473
3
+ size 200402
v1/dev_knockout.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a554e4d6ab6f416dee669edaeb86d052fe22a5153bee8e08af9f15dfe76df62
3
+ size 66148
v1/dev_recovery.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62e5392308b9a4b75485e2408a0404564442e74ce8fa88c0400be278c3e0b6b2
3
+ size 70068
v1/dev_teacher.summary.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "teacher": "jev",
3
+ "spec": {
4
+ "type": "jev",
5
+ "provider": "openrouter"
6
+ },
7
+ "metrics": {
8
+ "after_error:0": {
9
+ "n": 1771,
10
+ "acc": 0.9627,
11
+ "brier": 0.0296,
12
+ "ece": 0.0144
13
+ },
14
+ "after_error:1": {
15
+ "n": 606,
16
+ "acc": 0.9439,
17
+ "brier": 0.0448,
18
+ "ece": 0.0189
19
+ },
20
+ "bucket:stop_guard:no": {
21
+ "n": 15,
22
+ "acc": 0.6667,
23
+ "brier": 0.1483,
24
+ "ece": 0.2353
25
+ },
26
+ "bucket:stop_guard:yes": {
27
+ "n": 65,
28
+ "acc": 0.9385,
29
+ "brier": 0.0551,
30
+ "ece": 0.0355
31
+ },
32
+ "bucket:stop_trigger:no": {
33
+ "n": 584,
34
+ "acc": 1.0,
35
+ "brier": 0.001,
36
+ "ece": 0.0295
37
+ },
38
+ "bucket:stop_trigger:yes": {
39
+ "n": 5,
40
+ "acc": 1.0,
41
+ "brier": 0.023,
42
+ "ece": 0.114
43
+ },
44
+ "bucket:tool_guard:no": {
45
+ "n": 91,
46
+ "acc": 0.989,
47
+ "brier": 0.0124,
48
+ "ece": 0.0501
49
+ },
50
+ "bucket:tool_guard:yes": {
51
+ "n": 125,
52
+ "acc": 0.976,
53
+ "brier": 0.0347,
54
+ "ece": 0.1064
55
+ },
56
+ "bucket:tool_params": {
57
+ "n": 821,
58
+ "acc": 0.9805,
59
+ "brier": 0.0204,
60
+ "ece": 0.0241
61
+ },
62
+ "bucket:tool_params:OTHER": {
63
+ "n": 3,
64
+ "acc": 0.6667,
65
+ "brier": 0.0858,
66
+ "ece": 0.2069
67
+ },
68
+ "bucket:tool_select": {
69
+ "n": 668,
70
+ "acc": 0.8952,
71
+ "brier": 0.0758,
72
+ "ece": 0.0369
73
+ },
74
+ "dp:stop": {
75
+ "n": 669,
76
+ "acc": 0.9865,
77
+ "brier": 0.0098,
78
+ "ece": 0.0334
79
+ },
80
+ "dp:tool_params": {
81
+ "n": 824,
82
+ "acc": 0.9794,
83
+ "brier": 0.0207,
84
+ "ece": 0.0243
85
+ },
86
+ "dp:tool_select": {
87
+ "n": 884,
88
+ "acc": 0.9163,
89
+ "brier": 0.0635,
90
+ "ece": 0.0186
91
+ },
92
+ "overall": {
93
+ "n": 2377,
94
+ "acc": 0.9579,
95
+ "brier": 0.0335,
96
+ "ece": 0.0129
97
+ }
98
+ },
99
+ "skipped": {},
100
+ "ledger": {
101
+ "calls": 2377,
102
+ "calls_fresh": 0,
103
+ "input_tokens": 3300393,
104
+ "output_tokens": 974793,
105
+ "cost_usd": 0.13861650600000003,
106
+ "cost_usd_fresh": 0,
107
+ "latency_ms_sum": 483398.4223460098,
108
+ "unpriced_models": []
109
+ }
110
+ }
v1/replay_when2call.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f8d17252cf02aa2d28e10dd0ade66cdba029804115221f1230bf7d5430090b2
3
+ size 318421
v1/train.jsonl.summary.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "n_in": 15694,
3
+ "n_valid": 15694,
4
+ "teachers": {
5
+ "jev": {
6
+ "spec": {
7
+ "type": "jev",
8
+ "provider": "openrouter"
9
+ },
10
+ "answered": 15694,
11
+ "with_gold": 15694,
12
+ "acc": 0.9449471135465783,
13
+ "nll": 0.2462338850811729,
14
+ "ece": 0.011080092658331693,
15
+ "skipped": {},
16
+ "ledger": {
17
+ "calls": 5175,
18
+ "calls_fresh": 0,
19
+ "input_tokens": 11691550,
20
+ "output_tokens": 6666486,
21
+ "cost_usd": 0.49104509999999973,
22
+ "cost_usd_fresh": 0,
23
+ "latency_ms_sum": 1104290.8392940012,
24
+ "unpriced_models": []
25
+ }
26
+ }
27
+ },
28
+ "n_out": 15694,
29
+ "outcomes": {
30
+ "gold_only": 864,
31
+ "kept": 14830
32
+ },
33
+ "config": {
34
+ "alpha": 0.3,
35
+ "min_agree": 1,
36
+ "min_conf": 0.0,
37
+ "pool": "mean",
38
+ "temperature": 1.0,
39
+ "gold_filter": "gold",
40
+ "on_disagree": "gold",
41
+ "weights": {},
42
+ "mc_beta": null
43
+ },
44
+ "target_metrics": {
45
+ "answered": 14830,
46
+ "with_gold": 0,
47
+ "acc": null,
48
+ "nll": null,
49
+ "ece": null
50
+ },
51
+ "cost_usd_fresh": 0,
52
+ "wall_s": 5.274253401000351
53
+ }
v1/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f5e6db1c9ba5ba831b6d09eb1fe4833dd3766cd2fe024594c1c30826bc75677
3
+ size 2725341