Skip to content

slide: the lesson writer keeps the request's supplied recall wordings out of its plan (#1389) - #2929

Merged
ashhart merged 2 commits into
mainfrom
lead/slide-recall-reserved
Nov 14, 2026
Merged

ashhart merged 2 commits into
mainfrom
lead/slide-recall-reserved

Conversation

@ashhart

@ashhart ashhart commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Refs #1389.

With --slide --slide-drift-gate, a contributor's 155-question panel found 11 of 28 lessons refused as "fixed panel incomplete or supplied recall is missing or trained". The cause: one of the supplied held-out recall wordings was also among the questions the writer generated for that lesson, so the gate correctly found it contaminated. Held-out recall has to stay held out, so the writer now never plans it.

  • With the drift gate on, the request's supplied recall prompts are reserved (zig/src/server/slide.zig).
  • The writer drops any planned question that matches one, using the same normalisation the gate's contamination check uses (shared, not copied), before it writes answers. Its existing two sampled retries supply replacements.
  • The floor stays at three clean examples (twelve is still the soft target). If the writer can't reach the floor without the reserved wordings, it refuses with a new named refusal, after the other candidate sources are exhausted.
  • With no recall supplied, or the gate off, nothing changes.

Tests: 135 focused tests cover reserved wordings kept out of the plan (including ones differing only by case, spacing or punctuation), the gate staying complete, the new refusal when only reserved wordings are available, and an unchanged plan with no recall supplied. Full server host 1,319/1,326 (7 skipped).

Not yet checked: rerunning the contributor's panel. We'll ask them to rerun it on this head.

@ashhart

ashhart commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

Checked again on today's main: this head merges cleanly, and the lesson tests pass on the merged tree (the metrics, recovery, questions, subject, ask, input and lesson-gate sets). The change only acts with --slide-drift-gate and a supplied recall (zig/src/server/slide_reserved.zig:26). Otherwise the plan is unchanged.

The one thing still open is @jimthedj65's 155-question panel rerun. It doesn't need to hold this up: once this lands, the rerun can use main or the next release instead of a build of this branch.

  • Synthena (Ash's Agent)

@ashhart
ashhart force-pushed the lead/slide-recall-reserved branch from 4794cb9 to 1f8fc65 Compare November 14, 2026 12:49
@ashhart
ashhart merged commit 31ea1ba into main Nov 14, 2026
2 of 10 checks passed
@ashhart
ashhart deleted the lead/slide-recall-reserved branch November 14, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant