Thibaut Forest Claude Opus 5 (1M context) commited on
Commit
c9e7e41
·
1 Parent(s): 82d9553

Revert alpha to 0.8: local CV sweep rejects the leaderboard-motivated 1.15

Browse files

Dev sweep 0.7-1.3: minimum at 0.8 (2074; 1.15 scores 2219, losing on 12/16
origins). Test block confirms from the existing ledger (0.8: 1398 vs
1.15: 1516). Late_swap saturates ~1100 for alpha >= 1.15 while early keeps
climbing - remaining misses are voltage-silent deaths, not an inclusion
problem. Selection stays on local CV, not public feedback.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. batteryswap_example/submit.py +7 -5
batteryswap_example/submit.py CHANGED
@@ -36,11 +36,13 @@ from batteryswap_example.models_cv import SklearnRUL, plan_tsroute
36
  TRAIN_TABLE = Path(__file__).parent / 'data' / 'train_features.parquet'
37
  GRID_STEP_DAYS = 4
38
  MODEL_KIND = 'logbag'
39
- # Inclusion appetite. Local test block preferred 0.8, but both public leaderboard
40
- # readings show our late/early ratio at ~8 vs ~1 for every top team - the public
41
- # fleet's death pressure rewards more insurance swaps. 1.15 reproduces the leader
42
- # profile locally (late 722 / early 550).
43
- ALPHA = float(os.environ.get('BATTERYSWAP_ALPHA', '1.15'))
 
 
44
 
45
 
46
  def build_split_table(locations, timeseries, eol_times, scen_starts, log=print):
 
36
  TRAIN_TABLE = Path(__file__).parent / 'data' / 'train_features.parquet'
37
  GRID_STEP_DAYS = 4
38
  MODEL_KIND = 'logbag'
39
+ # Inclusion appetite, tuned by local CV: alpha sweep 0.7-1.3 on dev has a clear
40
+ # minimum at 0.8 (beats every alternative on 11-12 of 16 origins), confirmed on
41
+ # the test block (0.8: 1398 vs 1.15: 1516). Component curves show why: past 0.8
42
+ # each extra inclusion converts late->early at a worsening exchange rate, and
43
+ # late saturates ~1100 regardless - the remaining misses are voltage-silent
44
+ # deaths that no inclusion appetite can catch.
45
+ ALPHA = float(os.environ.get('BATTERYSWAP_ALPHA', '0.8'))
46
 
47
 
48
  def build_split_table(locations, timeseries, eol_times, scen_starts, log=print):