Thibaut Forest
Claude Fable 5
Phase 34-35: retire cross-fleet CV, re-screen 72 configs, champion unchanged
7d93fb8 Download script.py from thibautforest/BatterySwapAI2026-Example: direct link, hf CLI and curl.
- Browser
- Download file 751 Bytes
-
https://huggingface.co/thibautforest/BatterySwapAI2026-Example/resolve/main/script.py
- Command line
-
hf download hf://thibautforest/BatterySwapAI2026-Example/script.py
-
curl -L -o script.py https://huggingface.co/thibautforest/BatterySwapAI2026-Example/resolve/main/script.py
751 Bytes
| print('import start') | |
| # Adaptive submission (submit.py): held-out fleets get ONE model fitted on the | |
| # foreign train pool per split (phase 24b); train-fleet splits refit at every | |
| # scenario origin on their own self-masked history. Falls back internally to | |
| # the static pickled planner in batteryswap_example/planners/best.pickle per | |
| # split. | |
| # ensure classes referenced by the fallback pickle are importable (the current | |
| # pickle records importable paths; a train.py-written one needs its classes | |
| # star-imported into __main__) | |
| from batteryswap_example.train import * # noqa: F401,F403 | |
| from batteryswap_example import planner # noqa: F401 | |
| from batteryswap_example.submit import main | |
| if __name__ == '__main__': | |
| print('main start') | |
| main() | |