Repository navigation
fix(genome): distinguish training loss from validation in trial receipts - #4519
Conversation
… keeps only the eval_set docs Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVED at d4e42aa (Cormac). All 7 checks succeeded, including lib and windows-msvc. The change keeps the same admission behaviour. The old Optional, not blocking, and Fable noted it too: |
…read it (#4520) * fix(genome): a gene trial's receipt names the loss it read, held-out or training, and eval_set docs stop claiming adoption reads it (Codex, attempt 2) The sentinel's pre-filter fell back from final_validation_loss to final_loss and reported either one as validation_loss, which the probe text called held-out. A run with val_split 0 has no held-out proof, so its receipt claimed one. The probes now carry loss plus loss_kind (held_out | training), and the gate says what it is: a sanity check, never evidence of gain. Three doc comments (TrainingJobRequest::eval_set, WatchedJob::eval_set, the trigger bucket's eval_set) still said the sentinel passes eval_set to an A/B cognition/eval and refuses to adopt without it. It does neither since the integrated trial (#4467 era). They now say it is a manual spot-check gym that adoption does not read. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * scope: leave the sentinel's loss provenance to #4519 (Codex); this PR keeps only the eval_set docs Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * docs(genome): the two remaining eval_set docs, and regenerate the three ts-rs bindings that carry them training_trigger/submit.rs and persona/training_producer.rs said the sentinel refuses to adopt without a gym. TrainingJobRequest.ts, JobCreateParams.ts (flattened) and SubmitParams.ts carry the doc comments, so they change with them (Cormac on #4520). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
… (Codex on attempt 2) (#4523) finish() took the last epoch's eval_loss unconditionally. With val_split 0 the engine's empty eval result is 0.0, so Some(0.0) became final_validation_loss, and the trial reported loss_source=validation for a held-out score that was never measured (#4519's validation-first gate). held_out_loss(): an engine with fork #31 reports eval_trainable_tokens, and the count decides. On an engine before it, only a run that asked for a split is believed to have one. A null eval_loss is None either way. EpochReport.eval_loss is now Option (null from #31). Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo Co-authored-by: Claude Opus 5.5 <[email protected]>
A training-only run currently emits its final training loss as
validation_losswhen opening a gene trial. Reportlosswithloss_source(validationortraining) so a zero-validation-split run cannot masquerade as held-out evidence. Correct stale comments that still describe detached cognition/eval instead of the existing room trial.Admission remains validation-first with the same finite-number check; this does not claim gain or alter trial/promotion behavior. Diff check passed. No local build was started alongside the active deployment; CI compilation and owner review are pending.