Skip to content

chore(tooling): the prose gate reads a cloze sentence as code only in a programming lesson (template#105) - #55

Merged
astrapi69 merged 1 commit into
mainfrom
chore/template-prose-cloze
Oct 12, 2026
Merged

astrapi69 merged 1 commit into
mainfrom
chore/template-prose-cloze

Conversation

@astrapi69

Copy link
Copy Markdown
Owner

Template wave for astrapi69/adaptive-learner-content-template#105: scripts/check_prose.py and tests/test_check_prose.py, byte-identical to the template's main (this repository's copies were identical to the previous template version).

A cloze sentence used 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 with domain: programming; everywhere else, also without a domain, it is prose. passage, tokens and code stay code.

Checked locally before the PR: the prose gate with the new copy is clean here (102 tracked files), tests/test_check_prose.py 44 passed.

🤖 Generated with Claude Code

… 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>
@astrapi69
astrapi69 merged commit bc3deae into main Oct 12, 2026
7 checks passed
@astrapi69
astrapi69 deleted the chore/template-prose-cloze branch October 12, 2026 17:07
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.

2 participants