mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 08:23:45 +00:00
cab2fa6391
VecMonitor's info_keywords does a bare info[key] lookup on a completed episode's terminal info dict and raises KeyError -- crashing the whole training run -- if a key is ever absent. get_info() was only including airborne_fraction/mean_altitude/vertical_thrust_mean when _telemetry_ticks was nonzero and air_touch_fraction when _touches was nonzero; an episode with zero ball touches (common, especially early in training) crashed on the very first rollout in a smoke-test run. All four now always default to 0.0 rather than being conditionally present. Found via TRAINING.md's Generation 4 validation ladder (rung 2, a 60k-step smoke run) -- confirmed fixed by rerunning the same smoke run clean, then export/evaluate parity (rungs 2-3) against Game/bots/promoted/easy.json.