Thibaut Forest
Claude Opus 5 (1M context)
Phase 56: NEW CHAMPION logbag_rank + gbm rank-blend w=0.30 (purge 1630.3, was 1972.0)
698401a |
Download agent_reports/pl_findings.md from thibautforest/BatterySwapAI2026-Example: direct link, hf CLI and curl.
- Browser
- Download file 13.6 kB
-
https://huggingface.co/thibautforest/BatterySwapAI2026-Example/resolve/main/agent_reports/pl_findings.md
- Command line
-
hf download hf://thibautforest/BatterySwapAI2026-Example/agent_reports/pl_findings.md
-
curl -L -o pl_findings.md https://huggingface.co/thibautforest/BatterySwapAI2026-Example/resolve/main/agent_reports/pl_findings.md
13.6 kB
| # PL agent - planner/scheduling/day-placement/routing sweep (purge CV) | |
| STATUS: DONE — all planned runs complete (last updated 2026-08-22 16:37:26) | |
| Baseline: champion SCORE 1972.01 (warmup 3560.3 / panel 1839.6 / nearend 604.8; swaps 9.21). | |
| Paired per scenario vs /tmp/cv_all48oof.csv. Survivor bar: delta < -2*SE. | |
| Appetite axis REOPENED by user for this sweep (historical public results noted). | |
| Code findings (pre-run): | |
| - CHAMPION['day_q'] is DEAD for tsroute (signature-only); day placement = cost_curves + optimize_days. | |
| - run_all48_oof hardcodes p_be=0/floor_day=0/p_conf=0.5 -> tested via call-time wrapper (identity check: delta exactly 0.0). | |
| - Planner EARLY/LATE 0.5/10.0 match evaluator exactly (20:1). EMERGENCY_DAY=45 vs true queue ~48. | |
| ## Results (sorted by delta; wu=warmup s0-7, pn=panel s8-41, ne=nearend s42-47) | |
| | label | ALL48 | delta | SE | W/L | swaps | wu delta | pn delta | ne delta | | |
| |---|---|---|---|---|---|---|---|---| | |
| | pl_stack_hgatez | 1559.4 | -412.6 | 106.9 | 39W/9L | 11.7 | -1513 | -209 | -98 | | |
| | pl_stack_hg25 | 1586.6 | -385.4 | 106.5 | 37W/11L | 10.6 | -1458 | -183 | -101 | | |
| | pl_stack_hg30 | 1592.2 | -379.8 | 104.6 | 36W/12L | 9.9 | -1345 | -202 | -101 | | |
| | pl_stack_shiftp4 | 1614.0 | -358.0 | 102.9 | 37W/11L | 9.2 | -1296 | -173 | -156 | | |
| | pl_stack_shiftp2 | 1617.3 | -354.7 | 99.3 | 37W/11L | 9.2 | -1257 | -181 | -136 | | |
| | pl_stack_shiftp6 | 1619.7 | -352.4 | 102.6 | 37W/11L | 9.3 | -1287 | -169 | -145 | | |
| | pl_stack_hg15 | 1620.8 | -351.2 | 113.9 | 35W/13L | 13.5 | -1481 | -132 | -87 | | |
| | pl_stack_base | 1630.3 | -341.7 | 103.8 | 37W/11L | 9.2 | -1284 | -163 | -101 | | |
| | pl_pbe10g8 | 1670.4 | -301.6 | 128.0 | 12W/9L | 15.1 | -1708 | -31 | +39 | | |
| | pl_pbe20g10 | 1673.7 | -298.3 | 93.2 | 21W/14L | 13.2 | -975 | -192 | +3 | | |
| | pl_pbe15g8 | 1693.9 | -278.1 | 103.3 | 11W/10L | 12.7 | -1275 | -94 | +8 | | |
| | pl_pbe20 | 1718.0 | -254.0 | 98.5 | 22W/21L | 14.7 | -975 | -132 | +14 | | |
| | pl_pbe15 | 1735.6 | -236.4 | 130.9 | 18W/30L | 18.7 | -1473 | +3 | +55 | | |
| | pl_stack_hg10 | 1735.7 | -236.3 | 130.4 | 30W/18L | 16.2 | -1564 | +48 | -75 | | |
| | pl_pbe20g8 | 1755.2 | -216.8 | 81.5 | 12W/6L | 11.2 | -871 | -101 | +0 | | |
| | pl_a15 | 1770.1 | -201.9 | 91.7 | 18W/25L | 14.7 | -887 | -81 | +27 | | |
| | pl_a12 | 1798.1 | -173.9 | 72.5 | 22W/18L | 12.2 | -619 | -102 | +11 | | |
| | pl_pbe30 | 1802.4 | -169.7 | 58.0 | 17W/10L | 10.8 | -598 | -99 | +3 | | |
| | pl_pbe10 | 1849.1 | -122.9 | 164.5 | 16W/32L | 25.4 | -1870 | +236 | +170 | | |
| | pl_pbe30g8 | 1854.4 | -117.6 | 42.9 | 9W/3L | 9.8 | -504 | -47 | +0 | | |
| | pl_a10 | 1878.8 | -93.2 | 43.7 | 19W/20L | 10.8 | -269 | -69 | +7 | | |
| | pl_a09 | 1896.0 | -76.0 | 33.1 | 14W/22L | 10.0 | -192 | -63 | +3 | | |
| | pl_shiftp4 | 1958.8 | -13.2 | 9.4 | 22W/25L | 9.2 | -2 | -9 | -54 | | |
| | pl_shift2 | 1964.7 | -7.3 | 9.4 | 21W/27L | 9.3 | -1 | -1 | -50 | | |
| | pl_ec06 | 1968.8 | -3.2 | 11.1 | 7W/1L | 8.7 | +0 | +5 | -55 | | |
| | pl_sd3 | 1975.7 | +3.7 | 2.4 | 12W/11L | 9.2 | +0 | +2 | +15 | | |
| | pl_blend30 | 1977.6 | +5.5 | 4.7 | 13W/28L | 9.2 | -0 | +7 | +7 | | |
| | pl_ed48 | 1978.0 | +6.0 | 4.2 | 1W/6L | 9.5 | +0 | +4 | +27 | | |
| | pl_sec5 | 1980.8 | +8.8 | 39.7 | 12W/25L | 11.5 | -170 | +49 | +18 | | |
| | pl_ec10 | 1991.2 | +19.2 | 8.2 | 1W/7L | 10.5 | +0 | +6 | +120 | | |
| | pl_ec00 | 2016.2 | +44.2 | 27.5 | 3W/5L | 7.6 | +0 | +14 | +273 | | |
| | pl_ec12 | 2019.8 | +47.8 | 16.8 | 0W/8L | 12.0 | +0 | +25 | +240 | | |
| | pl_pig10 | 2024.0 | +52.0 | 27.6 | 11W/31L | 8.7 | -43 | +51 | +187 | | |
| | pl_a07 | 2043.9 | +71.9 | 31.3 | 19W/13L | 8.5 | +306 | +30 | -2 | | |
| | pl_a06 | 2110.8 | +138.8 | 50.2 | 19W/20L | 7.8 | +475 | +85 | -3 | | |
| ## Candidate log | |
| - pl_stack_hgatez: stack + e2 census-gated p_be=0.2 (SHIPPING CANDIDATE; gate marginal -70.8 +/-42.4 vs stack_base) -> -412.6 +/-106.9 [wu -1513 (8W/0L), pn -209 (25W/9L), ne -98], swaps 11.7. SURVIVOR (beats 2SE bar). CAVEAT: swaps 11.7 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_stack_hg25: stack + census-gated p_be=0.25 -> -385.4 +/-106.5 [wu -1458 (8W/0L), pn -183 (23W/11L), ne -101], swaps 10.6. SURVIVOR (beats 2SE bar). CAVEAT: swaps 10.6 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_stack_hg30: stack + census-gated p_be=0.3 -> -379.8 +/-104.6 [wu -1345 (8W/0L), pn -202 (22W/12L), ne -101], swaps 9.9. SURVIVOR (beats 2SE bar). | |
| - pl_stack_shiftp4: stack + risk-scaled belief shift 4*p42 d earlier -> -358.0 +/-102.9 [wu -1296 (8W/0L), pn -173 (23W/11L), ne -156], swaps 9.2. SURVIVOR (beats 2SE bar). | |
| - pl_stack_shiftp2: stack + risk-scaled belief shift 2*p42 d earlier (swap-neutral timing) -> -354.7 +/-99.3 [wu -1257 (8W/0L), pn -181 (23W/11L), ne -136], swaps 9.2. SURVIVOR (beats 2SE bar). | |
| - pl_stack_shiftp6: stack + risk-scaled belief shift 6*p42 d earlier -> -352.4 +/-102.6 [wu -1287 (7W/1L), pn -169 (24W/10L), ne -145], swaps 9.3. SURVIVOR (beats 2SE bar). | |
| - pl_stack_hg15: stack + census-gated p_be=0.15 -> -351.2 +/-113.9 [wu -1481 (7W/1L), pn -132 (22W/12L), ne -87], swaps 13.5. SURVIVOR (beats 2SE bar). CAVEAT: swaps 13.5 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_stack_base: MODEL FRONTIER logbag_rank + gbm rank-blend w=0.30 (cached preds; replication of model agent 1630.3) -> -341.7 +/-103.8 [wu -1284 (8W/0L), pn -163 (23W/11L), ne -101], swaps 9.2. SURVIVOR (beats 2SE bar). | |
| - pl_pbe10g8: p_be=0.1 gated N<8 (warmup-only strong top-up) -> -301.6 +/-128.0 [wu -1708 (7W/0L), pn -31 (5W/7L), ne +39], swaps 15.1. SURVIVOR (beats 2SE bar). CAVEAT: swaps 15.1 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe20g10: p_be=0.2 gated N<10 -> -298.3 +/-93.2 [wu -975 (7W/0L), pn -192 (14W/13L), ne +3], swaps 13.2. SURVIVOR (beats 2SE bar). CAVEAT: swaps 13.2 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe15g8: p_be=0.15 gated N<8 -> -278.1 +/-103.3 [wu -1275 (6W/1L), pn -94 (5W/7L), ne +8], swaps 12.7. SURVIVOR (beats 2SE bar). CAVEAT: swaps 12.7 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe20: break-even prob top-up p_be=0.2 (include all p42>=0.2 beyond count rule) -> -254.0 +/-98.5 [wu -975 (7W/0L), pn -132 (15W/19L), ne +14], swaps 14.7. SURVIVOR (beats 2SE bar). CAVEAT: swaps 14.7 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe15: p_be=0.15 top-up -> -236.4 +/-130.9 [wu -1473 (7W/1L), pn +3 (11W/23L), ne +55], swaps 18.7. inconclusive (negative, inside 2SE). CAVEAT: swaps 18.7 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_stack_hg10: stack + census-gated p_be=0.1 -> -236.3 +/-130.4 [wu -1564 (7W/1L), pn +48 (18W/16L), ne -75], swaps 16.2. inconclusive (negative, inside 2SE). CAVEAT: swaps 16.2 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe20g8: p_be=0.2 gated: fires only when count-rule N<8 (starvation gate, deployable) -> -216.8 +/-81.5 [wu -871 (6W/0L), pn -101 (6W/6L), ne +0], swaps 11.2. SURVIVOR (beats 2SE bar). CAVEAT: swaps 11.2 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_a15: appetite alpha=1.5 (historical public: 2188.78 vs 1661.45) -> -201.9 +/-91.7 [wu -887 (7W/1L), pn -81 (11W/20L), ne +27], swaps 14.7. SURVIVOR (beats 2SE bar). CAVEAT: swaps 14.7 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_a12: appetite alpha=1.2 -> -173.9 +/-72.5 [wu -619 (7W/0L), pn -102 (15W/16L), ne +11], swaps 12.2. SURVIVOR (beats 2SE bar). CAVEAT: swaps 12.2 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe30: p_be=0.3 top-up -> -169.7 +/-58.0 [wu -598 (7W/0L), pn -99 (10W/9L), ne +3], swaps 10.8. SURVIVOR (beats 2SE bar). CAVEAT: swaps 10.8 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe10: p_be=0.1 top-up -> -122.9 +/-164.5 [wu -1870 (8W/0L), pn +236 (8W/26L), ne +170], swaps 25.4. inconclusive (negative, inside 2SE). CAVEAT: swaps 25.4 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_pbe30g8: p_be=0.3 gated N<8 -> -117.6 +/-42.9 [wu -504 (6W/0L), pn -47 (3W/3L), ne +0], swaps 9.8. SURVIVOR (beats 2SE bar). | |
| - pl_a10: appetite alpha=1.0 -> -93.2 +/-43.7 [wu -269 (6W/1L), pn -69 (13W/18L), ne +7], swaps 10.8. SURVIVOR (beats 2SE bar). CAVEAT: swaps 10.8 vs 9.2 - appetite-driven; check block attribution. | |
| - pl_a09: appetite alpha=0.9 -> -76.0 +/-33.1 [wu -192 (4W/2L), pn -63 (10W/19L), ne +3], swaps 10.0. SURVIVOR (beats 2SE bar). | |
| - pl_shiftp4: risk-scaled shift: quantiles 4*p42 days earlier (high risk -> earlier) -> -13.2 +/-9.4 [wu -2 (3W/4L), pn -9 (16W/18L), ne -54], swaps 9.2. inconclusive (negative, inside 2SE). | |
| - pl_shift2: belief shift: all day-quantiles 2d earlier, optimizer re-solves -> -7.3 +/-9.4 [wu -1 (3W/5L), pn -1 (14W/20L), ne -50], swaps 9.3. inconclusive (negative, inside 2SE). | |
| - pl_ec06: ec_margin=0.6 -> -3.2 +/-11.1 [wu +0 (0W/0L), pn +5 (2W/1L), ne -55], swaps 8.7. inconclusive (negative, inside 2SE). | |
| - pl_sd3: split_days=3 -> +3.7 +/-2.4 [wu +0 (0W/0L), pn +2 (12W/7L), ne +15], swaps 9.2. reject (worse). | |
| - pl_blend30: cost_curves blend=0.3 (low-p42 CDF toward uniform) -> +5.5 +/-4.7 [wu -0 (4W/3L), pn +7 (8W/20L), ne +7], swaps 9.2. reject (worse). | |
| - pl_ed48: EMERGENCY_DAY=48 exact queue price (champion 45) -> +6.0 +/-4.2 [wu +0 (0W/0L), pn +4 (1W/2L), ne +27], swaps 9.5. reject (worse). | |
| - pl_sec5: second-chance: ranks N+1..N+5 piggyback on already-visited buildings (marginal travel ~0) -> +8.8 +/-39.7 [wu -170 (4W/1L), pn +49 (8W/21L), ne +18], swaps 11.5. reject (worse). | |
| - pl_ec10: ec_margin=1.0 -> +19.2 +/-8.2 [wu +0 (0W/0L), pn +6 (1W/2L), ne +120], swaps 10.5. reject (worse). | |
| - pl_ec00: ec_margin=0 (EV top-up off; champion 0.8) -> +44.2 +/-27.5 [wu +0 (0W/0L), pn +14 (1W/2L), ne +273], swaps 7.6. reject (worse). | |
| - pl_ec12: ec_margin=1.2 -> +47.8 +/-16.8 [wu +0 (0W/0L), pn +25 (0W/3L), ne +240], swaps 12.0. reject (worse). | |
| - pl_pig10: plan_tspig2 alpha2=1.0 rank-gated piggyback planner -> +52.0 +/-27.6 [wu -43 (2W/2L), pn +51 (7W/25L), ne +187], swaps 8.7. reject (worse). | |
| - pl_a07: appetite alpha=0.7 -> +71.9 +/-31.3 [wu +306 (1W/5L), pn +30 (17W/8L), ne -2], swaps 8.5. reject (worse). | |
| - pl_a06: appetite alpha=0.6 -> +138.8 +/-50.2 [wu +475 (1W/6L), pn +85 (17W/14L), ne -3], swaps 7.8. reject (worse). | |
| ## Conclusion (final, 2026-08-22 16:37) | |
| 35 full-48 paired runs, zero peer file races (module md5 pinned start/end), identity | |
| check of the wrapper reproduced baseline exactly (delta 0.0). | |
| ### 1. The purge CV's appetite direction is ANTI-correlated with the public leaderboard | |
| alpha curve on purge: 0.6 +138.8 / 0.7 +71.9 / 0.8 base / 0.9 -76.0 / 1.0 -93.2 / | |
| 1.2 -173.9 / 1.5 -201.9 — monotone down. Public measured alpha 1.5 at 2188.78 vs | |
| 1661.45 (+527). Same for cert-first (wd agent). Count-coupled purge wins are | |
| REPORT-ONLY per coordination ruling; every p_be / gated-p_be / alpha "survivor" in | |
| the table above carries that tag. Mechanically the purge starves models (warmup | |
| hardest, panel too), so optimal appetite shifts up — an instrument property, not a | |
| deployable insight. | |
| ### 2. p_be break-even top-up: biggest purge lever, warmup-concentrated, count-coupled | |
| Ungated p_be: 0.1 -122.9 (25.4 swaps) / 0.15 -236.4 (18.7) / 0.2 -254.1 (14.7) / | |
| 0.3 -169.7 (10.8); peak 0.2. Gains concentrate at warmup (pbe20: wu -975 7W/0L, | |
| panel wash at +6.3 swaps). Two gate triggers compared at p_be=0.2: e2's arrival | |
| census (-245.8 +/-88.3, 11.96 swaps) vs my count-rule N<8 (-216.8 +/-81.5, 11.19) — | |
| statistically equivalent; N<10 gate -298.3 +/-93.2 (13.2 swaps; gate width tuned | |
| in-sample, discount accordingly). | |
| ### 3. Full stack (logbag_rank+gbm30 x census-gated p_be): holds on purge, gate part is report-only | |
| stack_base replicates 1630.26 exactly. stack+hgatez = 1559.4 (-412.6 +/-106.9 vs | |
| champion), p_be=0.2 optimal under the gate (0.1 -236 / 0.15 -351 / 0.2 -413 / | |
| 0.25 -385 / 0.3 -380). BUT the gate's paired MARGINAL on the frontier is only | |
| -70.8 +/-42.4 (wu -229 +/-150, panel -46.6 +/-47.7 at +3.2 swaps) — fails the | |
| "panel gain at flat swaps" shipping bar. The frontier model itself already repairs | |
| most of the warmup undercount (its warmup swaps 9.9 vs champion 5.0). Verdict: | |
| ship the ordering-only frontier; the gate is report-only. | |
| ### 4. Day placement: converged except one weak, swap-neutral lever | |
| - ed48 +6.0 / sd3 +3.7 / blend30 +5.6 / global shift2 -7.3: all noise or reject — | |
| champion pricing/routing/split confirmed optimal under purge. | |
| - RISK-SCALED belief shift (quantiles k*p42 days earlier): champion model | |
| shiftp4 -13.2 +/-9.4 (swaps 9.23, exactly flat); frontier model marginal | |
| shiftp2 -12.9 +/-10.7, shiftp4 -16.3 +/-10.9, shiftp6 -10.6 +/-12.9 (swaps flat | |
| 9.25). Reproducible sign and size across two independent prediction sets, peak | |
| k=4, never crosses 2SE individually. The ONLY swap-neutral candidate in my lane | |
| with any signal. Recommend: cheap public A/B alongside the frontier if there is | |
| submission budget; otherwise drop. | |
| ### 5. Piggyback / second-chance: dead on the purge CV too | |
| sec5 (ranks N+1..N+5 into visited buildings at ~zero marginal travel) +8.8 +/-39.7 | |
| 12W/26L; tspig2 alpha2=1.0 +52.0 +/-27.6. Matches the historical "even zero-travel | |
| extras lose". Closed. | |
| ### Top recommendation | |
| No planner-side change qualifies for shipping on its own. The one candidate worth | |
| carrying forward is pl_stack_shiftp4 (frontier model + risk-scaled 4*p42-day | |
| earlier placement): purge 1614.0 vs frontier 1630.3, swap-neutral, reproducible | |
| across model bases, sub-2SE — A/B-only. Everything count-coupled (p_be family, | |
| alpha, gates incl. the -412.6 stack+hgatez) is report-only per the calibration | |
| ruling; the purge CV cannot adjudicate count changes. | |
| Artifacts: /tmp/pl/run.py (knob/wrapper driver), /tmp/pl/stack.py, | |
| /tmp/pl/stack_shift.py, /tmp/pl/blocks.py, /tmp/pl/update_report.py, | |
| CSVs /tmp/cv_oofcand_pl_*.csv (one per row above), log /tmp/pl/results.txt. | |