feat: Pydantic rubric schema validation (#4) + expand EN/KO/JA fixtures to 20+ (#3) - #138
Open
laurentketterle-hub wants to merge 5 commits into
Open
Conversation
…n rules (B008/BLE001/TRY004)
…) + mergeos-bounties#3 (expand EN/KO/JA sample fixtures to 20+ labeled items) - Added RubricSchema Pydantic model in nokaman/models/rubric_schema.py - Validates language codes, skill weights, CEFR bands, required fields - Added validate_rubric_file() and validate_all_rubrics() functions - Expanded EN sample fixtures to 20 (added speaking B2, C1, listening A2) - Expanded KO sample fixtures from 3 to 21 (writing A1, A2, B1, B2, C1, C2 + speaking A1-B2, C1 + listening A1-B2 + reading A2-B2) - Expanded JA sample fixtures from 5 to 20 (writing C1, C2 + speaking A1-B2 + listening A1-B2 + reading A1-B2) - Each fixture includes id, language, skill, expected_cefr, and text fields
Author
|
/claim |
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.
Changes
#4 - Rubric schema validation with Pydantic
RubricSchemaPydantic model innokaman/models/rubric_schema.pyvalidate_rubric_file()andvalidate_all_rubrics()functionsnokaman.modelspackage#3 - Expand sample fixtures
Closes #3
Closes #4