Repository navigation
chore(tooling): the prose gate reads a cloze sentence as code only in a programming lesson (template#105) - #55
Merged
Conversation
… a programming lesson Byte-identical copy of the template-owned scripts/check_prose.py and tests/test_check_prose.py from adaptive-learner-content-template#105. A cloze sentence outside programming (also in a lesson without a domain) now gets the umlaut check; passage, tokens and code stay code. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
Template wave for astrapi69/adaptive-learner-content-template#105:
scripts/check_prose.pyandtests/test_check_prose.py, byte-identical to the template's main (this repository's copies were identical to the previous template version).A cloze
sentenceused to count as code in every lesson, for programming clozes, so German prose in a cloze sentence escaped the umlaut check. It is now code only withdomain: programming; everywhere else, also without a domain, it is prose.passage,tokensandcodestay code.Checked locally before the PR: the prose gate with the new copy is clean here (102 tracked files),
tests/test_check_prose.py44 passed.🤖 Generated with Claude Code