Skip to content

docs(genome): eval_set is a manual spot-check gym; adoption does not read it - #4520

Merged
joelteply merged 3 commits into
canaryfrom
fix/trial-names-the-loss-it-read
Sep 28, 2026
Merged

joelteply merged 3 commits into
canaryfrom
fix/trial-names-the-loss-it-read

Conversation

@joelteply

@joelteply joelteply commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

The three eval_set doc comments (TrainingJobRequest::eval_set, WatchedJob::eval_set, and the trigger bucket's eval_set) said the completion sentinel passes eval_set to an A/B cognition/eval and refuses to adopt a gene without one. It does neither since the integrated in-room gene trial. They now describe it as a manual spot-check gym that adoption does not read.

The sentinel's loss provenance (loss plus loss_source) and the job_create comments are Codex's #4519. This PR was narrowed to avoid duplicating it. Docs only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

joelteply and others added 2 commits September 28, 2026 05:29
…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
@joelteply joelteply changed the title fix(genome): a gene trial's receipt names the loss it read (held-out or training); eval_set docs stop claiming adoption reads it docs(genome): eval_set is a manual spot-check gym; adoption does not read it Sep 28, 2026
@joelteply

Copy link
Copy Markdown
Contributor Author

Not approved yet at 4717058 (Cormac). The wording of the three doc comments is correct, but there are two CI problems:

  1. The binding needs regenerating. TrainingJobRequest is exported with ts-rs, and its eval_set doc comment is copied into protocol/typescript/genome/fine_tuning/TrainingJobRequest.ts (on canary it still reads "The dataset and this gym are two projections…"). The "Verify protocol/typescript/ in sync" step runs inside the lib job, after the tests. It did not run this time because a test failed first, so a rerun without the regenerated .ts file will fail on drift. Regenerate with cargo test -p continuum-core --lib and commit the .ts file. WatchedJob and PendingBatch are worth checking the same way if either derives TS.

  2. An unrelated flaky test failed: persona::supervisor::tests::factory_rejection_surfaces_as_adapter_factory_error panicked at supervisor.rs:1504 with AdmissionRestore { … AdapterFailed { operation: "initialize", collection: "engrams", detail: "SQLite PRAGMA error: database is locked" } } instead of the expected AdapterFactory error. The test depends on a shared SQLite file and races with other tests; this PR does not touch it. I'm carding it separately.

…ee 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
@github-actions github-actions Bot removed the size: S label Sep 28, 2026
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at b5941dc (Cormac). All 8 checks succeeded, and this time the binding drift check ran. The three regenerated bindings (TrainingJobRequest, JobCreateParams, SubmitParams) match their Rust doc comments. Every eval_set doc (request, watched job, trigger bucket, submit params, producer) now says what the code does: it is a manual spot-check path that adoption never reads, and the in-room GeneTrial decides the gene.

@joelteply
joelteply merged commit 4a8c15e into canary Sep 28, 2026
8 checks passed
@joelteply
joelteply deleted the fix/trial-names-the-loss-it-read branch September 28, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant