chore(tooling): hint-length rule and CI dependency from the template - #34
Merged
Merged
Conversation
Byte-for-byte from adaptive-learner-content-template (d0a28c5): the hint-length rule now also catches English count words and the answer-length-1 forms (adaptive-learner-content#102, never upstreamed before), and validate-content.yml installs requests for the hub's AI review tests. Repositories that hold their own validate_content.py keep it and the matching test until the decision on their local rule. 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.
Worum es geht
Nachzug von astrapi69/adaptive-learner-content-template#79, bytegleich aus dem Template (Stand
d0a28c5):scripts/validate_content.pyundtests/test_hint_length_rule.py. Das Template erkennt in Hinweisen jetzt auch englische Zahlwörter und die Formen für Antwortlänge 1 (aus adaptive-learner-content#102). Dieses Repo trägt invalidate_content.pyaber noch eine eigene Regel, über deren Verbleib nicht entschieden ist, und der neue Test würde gegen den gehaltenen Validator fehlschlagen. Beides kommt mit der Entscheidung.validate-content.ymlinstalliert zusätzlichrequests(für die Tests des KI-Reviews im Hub; der Workflow ist überall dieselbe Datei).Die nächtliche Eigentümer-Prüfung hätte diesen Abstand ab morgen gemeldet; der Nachzug schließt ihn vorher.
pytestundvalidate_content.pylokal grün.🤖 Generated with Claude Code