Thibaut Forest Claude Fable 5 commited on
Commit ·
7d7632c
1
Parent(s): 296f8f2
Restore safe alpha 0.8 default at head (A/B candidate remains selectable at 296f8f2)
Browse files
batteryswap_example/submit.py
CHANGED
|
@@ -277,7 +277,7 @@ def _fit_model(train):
|
|
| 277 |
# each extra inclusion converts late->early at a worsening exchange rate, and
|
| 278 |
# late saturates ~1100 regardless - the remaining misses are voltage-silent
|
| 279 |
# deaths that no inclusion appetite can catch.
|
| 280 |
-
ALPHA = float(os.environ.get('BATTERYSWAP_ALPHA', '
|
| 281 |
# Phase 26 adopted ALPHA_STATIC=1.5 from the half-fleet holdout ("the static
|
| 282 |
# foreign fit undercounts sum(p42)"). PUBLIC REFUTED IT (2026-08-20,
|
| 283 |
# submission 6ea03da: 2188.78 vs 1661.45, battery_swap +68%, early +444,
|
|
@@ -287,7 +287,7 @@ ALPHA = float(os.environ.get('BATTERYSWAP_ALPHA', '1.0'))
|
|
| 287 |
# The half-fleet construction manufactures the undercount; do not trust it
|
| 288 |
# for appetite decisions. Late cost is saturated by voltage-silent deaths
|
| 289 |
# that no inclusion appetite can catch (phases 1/6). Default back to 0.8.
|
| 290 |
-
ALPHA_STATIC = float(os.environ.get('BATTERYSWAP_ALPHA_STATIC', '
|
| 291 |
# Break-even top-up (phase 11): additionally include every FRESH battery
|
| 292 |
# (imputed EOL beyond the window) whose best-day expected cost beats parking,
|
| 293 |
# gated to fire only where a wrong inclusion costs <= EC_PMAX. Empty at
|
|
|
|
| 277 |
# each extra inclusion converts late->early at a worsening exchange rate, and
|
| 278 |
# late saturates ~1100 regardless - the remaining misses are voltage-silent
|
| 279 |
# deaths that no inclusion appetite can catch.
|
| 280 |
+
ALPHA = float(os.environ.get('BATTERYSWAP_ALPHA', '0.8'))
|
| 281 |
# Phase 26 adopted ALPHA_STATIC=1.5 from the half-fleet holdout ("the static
|
| 282 |
# foreign fit undercounts sum(p42)"). PUBLIC REFUTED IT (2026-08-20,
|
| 283 |
# submission 6ea03da: 2188.78 vs 1661.45, battery_swap +68%, early +444,
|
|
|
|
| 287 |
# The half-fleet construction manufactures the undercount; do not trust it
|
| 288 |
# for appetite decisions. Late cost is saturated by voltage-silent deaths
|
| 289 |
# that no inclusion appetite can catch (phases 1/6). Default back to 0.8.
|
| 290 |
+
ALPHA_STATIC = float(os.environ.get('BATTERYSWAP_ALPHA_STATIC', '0.8'))
|
| 291 |
# Break-even top-up (phase 11): additionally include every FRESH battery
|
| 292 |
# (imputed EOL beyond the window) whose best-day expected cost beats parking,
|
| 293 |
# gated to fire only where a wrong inclusion costs <= EC_PMAX. Empty at
|