chore(tooling): the content rules are the engine's (template#92) - #44
Merged
Merged
Conversation
Template-owned files copied byte for byte from adaptive-learner-content-template 5e2bb78: the quality minimums, the language rules and unique ids are the pinned engine's (0.34.0); the structure gate keeps the shape, the layout and the set manifests. 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.
Summary
This brings the template-owned files in line with adaptive-learner-content-template#92 (merge
5e2bb78): the content rules are the engine's. The 12 changed files are copied byte for byte from the template, and the 2 deleted tests are removed.validate_with_engine.mjs): a valid lesson must also meet the engine's quality minimums (validateLessonQuality, keyed to the lesson'spurpose); they block, as before. Each lesson gets its set's source language, for the card-back script lint.validate_content.py): keeps the shape, the directory layout and the set manifests. The quality layer, the language-pair andtitle_nativechecks, the script table, the distractor rules and theaccept_orderingscopy moved to the engine (learn-content-engine#185, #190, #202).engine_check.mjs: new.generate_exercises.pyasks the engine through it, which also fixes a check that never reported anything.audit_content.py: drops the checks the engine gate now blocks on.ownership.jsonand the docs are updated.Measured before the wave: a snapshot of this repository with these files had a green self-test, 0 files with engine errors and all sets passing the structure gate. Its test results were unchanged apart from the two deleted test files.
🤖 Generated with Claude Code