kfallah commited on
Commit
a2cddfe
·
verified ·
1 Parent(s): bd9180e

v1.2-traffic: router.json

Browse files
Files changed (1) hide show
  1. router.json +49 -25
router.json CHANGED
@@ -1,15 +1,15 @@
1
  {
2
- "version": "v1.1-trained-live",
3
  "kind": "trained",
4
  "hf_repo": "experiential-labs/coding-router",
5
  "embed_model_mlx": "encoder-mlx-4bit",
6
  "embed_model_torch": "encoder-fp16",
7
- "n_tasks": 110,
8
  "n_repos": 88,
9
  "embed_backend": "local",
10
  "T": 0.05453708011655199,
11
- "lam": 0.005,
12
- "sim_floor": 0.459,
13
  "fallback_arm_index": 5,
14
  "arms": [
15
  "fable5_xhigh",
@@ -144,48 +144,72 @@
144
  }
145
  }
146
  },
147
- "provenance": "EXP-012 winning recipe `reward_lcb_b0.2`: Qwen3-Embedding-0.6B with LoRA r=16 (q/k/v/o projections) trained by exact expected reward -E_pi[graded - 3.0*cost] on the LiveCodeBench 7x76 matrix, KL(pi||pi_init) anchor beta=0.2, 150 steps, checkpoint step 50 (T=0.0545), lam=0.01 -- (step, lam) selected ONLY on the six standard seeds' inner 75/25 DeepSWE-train splits (feasibility inner_graded >= inner-best-arm - 0.01, then max mean cost ratio; feasible on 5/6 inner splits). Memory/calibration side: the full 110-task DeepSWE v1.1 evidence (41 arms x 110 tasks, 88 repos), bank embedded with the merged fp16 encoder via sentence-transformers. Sweep evidence (per-seed selection, 6 seeds): selected-holdout mean graded 0.9484 at $60.17/split -- +0.015 graded and 2.1x cheaper than the deployable always-best-train baseline (0.9336/$126.28); parity, NOT better, vs the hindsight-best static arm. Cost figures are matrix-based (June 2026 collection) and pending live re-benchmark per EXP-014 (live drift measured). | v1.1 REBUILD (2026-08-01): bank cells replaced with the EXP-015 LIVE DeepSWE matrix (1,130 trials, dense 10 arms x 113 tasks; the 3 tasks without bank texts dropped -> 10x110) because the published June matrix is quality-stale live (e.g. luna_max 0.946 published vs 0.687 live). Roster 41 -> 10 live arms; med_cost/fallback from live cells (opus5_high, live f2p 0.951); tuned encoder, bank embeddings and T unchanged; lambda re-selected on inner train-side splits only (0.005).",
148
- "scope_warning": "INPUT SHAPE MATTERS. The decision rule was validated on repo-issue statements (p50 ~2,000 chars, long-horizon SWE tasks, median 61 agent steps). The encoder was tuned on LCB competitive-programming tasks and evaluated ONLY on the DeepSWE holdout; sim_floor abstains (escalates to the strongest arm) when no bank task is close in the TUNED space. Short one-line prompts will usually abstain -- safe, but no saving. Always check Decision.off_distribution.",
149
  "selection": {
150
  "lam_grid": [
151
  {
152
  "lam": 0.001,
153
- "feas": 5,
154
- "mean_ratio": 1.3443251848220825,
155
- "mean_inner_graded": 0.9251648088296255
156
  },
157
  {
158
  "lam": 0.002,
159
- "feas": 5,
160
- "mean_ratio": 1.4847139120101929,
161
- "mean_inner_graded": 0.9296404520670573
162
  },
163
  {
164
  "lam": 0.005,
165
  "feas": 6,
166
- "mean_ratio": 2.115150213241577,
167
- "mean_inner_graded": 0.9336468180020651
168
  },
169
  {
170
  "lam": 0.01,
171
- "feas": 5,
172
- "mean_ratio": 4.753244400024414,
173
- "mean_inner_graded": 0.9279556373755137
174
  },
175
  {
176
  "lam": 0.02,
177
- "feas": 4,
178
- "mean_ratio": 19.882097244262695,
179
- "mean_inner_graded": 0.9321131110191345
180
  },
181
  {
182
  "lam": 0.05,
183
- "feas": 4,
184
- "mean_ratio": 31.052934646606445,
185
- "mean_inner_graded": 0.9164654314517975
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  }
187
  ],
188
- "selected_lam": 0.005,
189
- "policy": "same inner-split protocol as the mint; encoder/T frozen"
190
  }
191
  }
 
1
  {
2
+ "version": "v1.2-traffic",
3
  "kind": "trained",
4
  "hf_repo": "experiential-labs/coding-router",
5
  "embed_model_mlx": "encoder-mlx-4bit",
6
  "embed_model_torch": "encoder-fp16",
7
+ "n_tasks": 207,
8
  "n_repos": 88,
9
  "embed_backend": "local",
10
  "T": 0.05453708011655199,
11
+ "lam": 0.1,
12
+ "sim_floor": 0.4699,
13
  "fallback_arm_index": 5,
14
  "arms": [
15
  "fable5_xhigh",
 
144
  }
145
  }
146
  },
147
+ "provenance": "EXP-012 winning recipe `reward_lcb_b0.2`: Qwen3-Embedding-0.6B with LoRA r=16 (q/k/v/o projections) trained by exact expected reward -E_pi[graded - 3.0*cost] on the LiveCodeBench 7x76 matrix, KL(pi||pi_init) anchor beta=0.2, 150 steps, checkpoint step 50 (T=0.0545), lam=0.01 -- (step, lam) selected ONLY on the six standard seeds' inner 75/25 DeepSWE-train splits (feasibility inner_graded >= inner-best-arm - 0.01, then max mean cost ratio; feasible on 5/6 inner splits). Memory/calibration side: the full 110-task DeepSWE v1.1 evidence (41 arms x 110 tasks, 88 repos), bank embedded with the merged fp16 encoder via sentence-transformers. Sweep evidence (per-seed selection, 6 seeds): selected-holdout mean graded 0.9484 at $60.17/split -- +0.015 graded and 2.1x cheaper than the deployable always-best-train baseline (0.9336/$126.28); parity, NOT better, vs the hindsight-best static arm. Cost figures are matrix-based (June 2026 collection) and pending live re-benchmark per EXP-014 (live drift measured). | v1.1 REBUILD (2026-08-01): bank cells replaced with the EXP-015 LIVE DeepSWE matrix (1,130 trials, dense 10 arms x 113 tasks; the 3 tasks without bank texts dropped -> 10x110) because the published June matrix is quality-stale live (e.g. luna_max 0.946 published vs 0.687 live). Roster 41 -> 10 live arms; med_cost/fallback from live cells (opus5_high, live f2p 0.951); tuned encoder, bank embeddings and T unchanged; lambda re-selected on inner train-side splits only (0.005). | v1.2-traffic (2026-08-01): union bank = DeepSWE-live 110 (unchanged cells) + 65 LCB-live + 32 utility tasks, all arms measured LIVE this lane (LCB via the E2B harness on the 92-task covered subset; utility = 32 short interactive asks with deterministic verifiers on 4 pinned OSS repos). graded = harness fraction; med_cost per arm = median of live per-task costs pooled across the three sources. sim_floor = LOO-nearest p10 over the union bank. lam re-selected train-side only under a 50/30/20 utility/LCB/DeepSWE traffic weighting.",
148
+ "scope_warning": "Validated on repo-issue statements (DeepSWE), competitive-programming agent tasks (LCB) and SHORT interactive asks (utility suite: bugfix/feature/refactor/question, 40-250 chars) \u2014 short prompts now land in-distribution instead of abstaining. Abstention (escalate to strongest arm) is reserved for text unlike any bank task; always check Decision.off_distribution.",
149
  "selection": {
150
  "lam_grid": [
151
  {
152
  "lam": 0.001,
153
+ "feas": 6,
154
+ "mean_ratio": 1.081393772849211,
155
+ "mean_inner_graded": 0.7660379605122892
156
  },
157
  {
158
  "lam": 0.002,
159
+ "feas": 6,
160
+ "mean_ratio": 1.1000667545641503,
161
+ "mean_inner_graded": 0.7659905447036618
162
  },
163
  {
164
  "lam": 0.005,
165
  "feas": 6,
166
+ "mean_ratio": 1.2811509404979988,
167
+ "mean_inner_graded": 0.765745203615449
168
  },
169
  {
170
  "lam": 0.01,
171
+ "feas": 6,
172
+ "mean_ratio": 1.7326780876087458,
173
+ "mean_inner_graded": 0.7656267731370289
174
  },
175
  {
176
  "lam": 0.02,
177
+ "feas": 6,
178
+ "mean_ratio": 2.452558818623846,
179
+ "mean_inner_graded": 0.7645313997014641
180
  },
181
  {
182
  "lam": 0.05,
183
+ "feas": 6,
184
+ "mean_ratio": 3.2512255254226896,
185
+ "mean_inner_graded": 0.7644669476479534
186
+ },
187
+ {
188
+ "lam": 0.1,
189
+ "feas": 6,
190
+ "mean_ratio": 3.5954684774287116,
191
+ "mean_inner_graded": 0.7617608602098715
192
+ },
193
+ {
194
+ "lam": 0.2,
195
+ "feas": 5,
196
+ "mean_ratio": 3.9614547647054508,
197
+ "mean_inner_graded": 0.7608279933293333
198
+ },
199
+ {
200
+ "lam": 0.5,
201
+ "feas": 5,
202
+ "mean_ratio": 4.002295380963825,
203
+ "mean_inner_graded": 0.7593800766626666
204
+ },
205
+ {
206
+ "lam": 1.0,
207
+ "feas": 5,
208
+ "mean_ratio": 4.061556689358738,
209
+ "mean_inner_graded": 0.7589185461017406
210
  }
211
  ],
212
+ "selected_lam": 0.1,
213
+ "policy": "6 seeded group-stratified splits, inner train-side only; metric weights sources 50% utility / 30% LCB / 20% DeepSWE (assumed traffic mix, documented); encoder/T frozen"
214
  }
215
  }