Repository navigation
Hints never end in an error card (More help / second I'm stuck) - #76
Merged
Merged
Conversation
…tral question Live: every rung-2 request on Worksheet 3 failed twice on the rung-2 no-equation rule (the model writes dx = 4 cos theta d theta), so More help and a second I'm stuck showed 'Albert couldn't read that'. After the repair, an equation is now cut to its left side when that passes every check; otherwise Albert writes a neutral question for the rung, keeping only valid marks/rows. Violations are logged (rule text only). The deferred-method aside is not drawn on PDF pages, where it overlapped the note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User report: after the first hint, More help and a second I'm stuck always showed "Albert couldn't read that. Try again?".
Cause (live, logged): every rung-2 draft and its repair broke the rung-2 rule "no = in a math segment" (the model writes
dx = 4\cos\theta\,d\theta), so the request ended inbad_model_output.Fix:
dx = …→dx) when the result passes every check. Otherwise Albert writes a neutral question for the rung and keeps only valid rows and marks. The rejected words are never shown.Live check (dev server, recorded missing-dx-pdf handwriting, budget preload cap 12, 8 calls): rung 1 done 4.3 s / 5.0 s; rung 2 first run used the neutral fallback (both drafts broke the = rule); the second run's repair passed: "Step 2: differentiate the substitution and write dx as a multiple of dθ in the numerator before simplifying." No error card.
Checks: typecheck, lint, unit 989 passed / 20 skipped (new tests for the cut and the fallback), e2e pdf-workflow, pdf-surface, ask, hint-errors 22 passed.
🤖 Generated with Claude Code