Skip to content

fix(generation): ground v1 exercises in the module that teaches them (backport) - #80

Merged
JoseEstevez520 merged 1 commit into
developfrom
fix/backport-grounded-exercises
Oct 15, 2026
Merged

JoseEstevez520 merged 1 commit into
developfrom
fix/backport-grounded-exercises

Conversation

@JoseEstevez520

Copy link
Copy Markdown
Collaborator

Backport of #79 to develop: the same commit, cherry-picked without conflicts.

It grounds v1 exercises in the module that teaches them. See #79 for the reasoning and the testing.

The v1 generator and reviewer only anchored questions to the source,
so an exercise could quote any fact of the document whatever the
module covered. Add an alignment rule to both prompts, scope each
module's context to its own material instead of the whole document,
and drop exercises whose answer key cannot be graded (out-of-range
correct, mismatched blanks, non-permutation order) so an unpassable
exercise never ships.
@JoseEstevez520
JoseEstevez520 merged commit a968691 into develop Oct 15, 2026
2 of 3 checks passed
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