Skip to content

The examiner: every adopted gene sits the acceptance test automatically; its verdict replaces the dead gate (learning loop slice 1) - #5366

Merged
joelteply merged 3 commits into
canaryfrom
fable/genome-examiner
Oct 24, 2026
Merged

joelteply merged 3 commits into
canaryfrom
fable/genome-examiner

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Slice 1 of docs/architecture/LEARNING-LOOP.md, on the README's loop: work → experience → curriculum → training → gene → phenotype → evaluation → adopt/reject.

The examiner

  • genome::examiner wakes on genome:trial:opened, published at the one adoption seam. It runs a retention re-run as the first pass of every core process. Nothing polls.
  • It sits her OWN turns on her live lane, comparing the gene at the scale she serves it against 0, against the rest of her genome, through the ExamHost::sit seam:
    • held-out lc-related tasks the gene never trained on;
    • lc-unrelated tasks.
  • It admits only if all three hold: P(better on unseen related) ≥ 0.9, unrelated delta ≥ −1 task, and unrelated NLL no worse (when measured).
  • A rejection unregisters the gene. A failed retention re-run retires a promoted gene.
  • Every verdict writes a four-field receipt (correction, unseen, restart, unrelated) as the ORM entity genome_exam_receipts and fires genome.examiner.verdict.

Deleted: the dead arm-credit gate, which could never decide after #4916. gene_trial.rs goes from 815 to 524 lines.

Labelled source: a pass after a failure on the same card is CardVerdict::Corrected. It trains alone with minExamples 1 at lr 1e-4.

Open:

  • NLL is not measured. The fork has no forward-only scoring route, and the lc sets have no reference solutions. Each receipt says so.
  • The receipt isn't in her view yet; she can only reach it through a data query.

Measured

M5, 2026-10-24, serving down.

Check Result
cognition 1,456 passed
mind 802 passed
genome 381 passed
core check clean
ratchets pass (head_cuts 185 → 184)

1,314 lines added, 490 removed.

Live receipt (owner Fable): one reviewed correction → a gene → a verdict → a restart → the retention re-run.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

joelteply and others added 3 commits October 24, 2026 02:01
…ead card gate is deleted

Learning (path step 3, goal 8): a gene she trains is now kept or dropped by the
continual-learning acceptance test, never by a gate that cannot decide.

- genome::examiner (continuum-genome): woken by genome:trial:opened (published by the one
  adoption seam, Adoption::adopt) and by each core process's first pass (the retention
  re-run after a restart); a NotNow pass re-arms on serving.snapshot. No polling. What is
  owed is read from trials.json + receipts (schedule::due), so passes are idempotent.
- ExamHost: the one narrow seam. cognition::eval::MindExamHost sits her own fork on her
  LIVE lane: lc-related held out against what the gene trained on (held_out over the
  job's request.json), lc-unrelated for retention, her genome with vs without the gene
  (per-request LoRA scale, no second lane, no relaunch).
- Verdict: admit iff P(better on unseen) >= 0.9 (p_gene_better, moved here), unrelated
  delta >= -1 task, unrelated NLL no worse when measured. NLL is typed Unmeasured and
  named on every receipt: the fork has no forward-only scoring route and the lc sets
  carry no reference solutions.
- GeneExamReceipt (ORM, genome_exam_receipts): correction, unseen, restart, unrelated,
  outcome; probe genome.examiner.verdict. A retention loss retires a promoted gene.
- Deleted from gene_trial.rs: the per-card arm draw, CardTurn/arm_of, credit_card,
  credit_settled_card, the checkpoint gate and its constants, share_milli and the arm
  tallies; legacy rows still read (serde aliases). warm_gate extracted from cognition_eval.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… credit gene trials

A pass after a failure on the same card (#4900) is the reviewed correction, the one
labelled source: CardVerdict::Corrected files it under <bucket>/corrected with
minExamples 1, so one correction trains through the existing /train path at the one
default schedule (native_jobs::DEFAULT_LEARNING_RATE 1e-4, measured on the 5090
2026-10-10). The settle path no longer credits gene trials (the examiner judges genes).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 7cd9c97 into canary Oct 24, 2026
5 checks passed
@joelteply
joelteply deleted the fable/genome-examiner branch October 24, 2026 07:10
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