Thibaut Forest Claude Opus 5 (1M context) commited on
Commit ·
596925f
1
Parent(s): 2512a0a
all48oof prints THE SCORE as a single value (mean cost/scenario, building-clean predictions, full-fleet plans); lobo demoted to diagnostic
Browse files
batteryswap_example/cv.py
CHANGED
|
@@ -928,8 +928,15 @@ def oof_candidate_report(base_csv='/tmp/cv_all48oof.csv',
|
|
| 928 |
def oof_report(df):
|
| 929 |
arms = [a for a in ('oof', 'self') if (df['arm'] == a).any()]
|
| 930 |
for arm in arms:
|
| 931 |
-
label = '
|
| 932 |
scorecard(df[df['arm'] == arm], f'all48oof / arm={arm} / {label} / floor off')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 933 |
if 'self' not in arms:
|
| 934 |
return
|
| 935 |
# the paired flattery term - only shown when the self arm was requested
|
|
|
|
| 928 |
def oof_report(df):
|
| 929 |
arms = [a for a in ('oof', 'self') if (df['arm'] == a).any()]
|
| 930 |
for arm in arms:
|
| 931 |
+
label = 'building-clean' if arm == 'oof' else 'validity-check arm'
|
| 932 |
scorecard(df[df['arm'] == arm], f'all48oof / arm={arm} / {label} / floor off')
|
| 933 |
+
if 'oof' in arms:
|
| 934 |
+
# THE SCORE (user, 2026-08-22): one number - the mean cost per
|
| 935 |
+
# scenario over all 48, full-fleet plans, building-clean predictions.
|
| 936 |
+
# Blocks above are diagnostics.
|
| 937 |
+
o = df[df['arm'] == 'oof']
|
| 938 |
+
print(f"\nSCORE (building-split CV, single value): "
|
| 939 |
+
f"{o['total_cost'].mean():.1f}")
|
| 940 |
if 'self' not in arms:
|
| 941 |
return
|
| 942 |
# the paired flattery term - only shown when the self arm was requested
|