Skip to content

feat: Pydantic rubric schema validation (#4) + expand EN/KO/JA fixtures to 20+ (#3) - #138

Open
laurentketterle-hub wants to merge 5 commits into
mergeos-bounties:masterfrom
laurentketterle-hub:feat/bounty-4-3
Open

feat: Pydantic rubric schema validation (#4) + expand EN/KO/JA fixtures to 20+ (#3)#138
laurentketterle-hub wants to merge 5 commits into
mergeos-bounties:masterfrom
laurentketterle-hub:feat/bounty-4-3

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Changes

#4 - Rubric schema validation with Pydantic

  • Added RubricSchema Pydantic model in nokaman/models/rubric_schema.py
  • Validates language codes, skill weights, CEFR bands
  • Added validate_rubric_file() and validate_all_rubrics() functions
  • Exported from nokaman.models package

#3 - Expand sample fixtures

  • EN: 17 ? 20 (added speaking B2, C1, listening A2)
  • KO: 3 ? 21 (added writing A1, A2, B1, B2, C1, C2 + speaking A1-B2, C1 + listening A1-B2 + reading A2-B2)
  • JA: 5 ? 20 (added writing C1, C2 + speaking A1-B2 + listening A1-B2 + reading A1-B2)

Closes #3
Closes #4

laurentketterle-hub and others added 5 commits July 28, 2026 17:54
…) + 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
@laurentketterle-hub

Copy link
Copy Markdown
Author

/claim

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.

[25 MRG] Rubric schema validation with pydantic [25 MRG] Expand sample fixtures for EN/KO/JA to 20+ labeled items

2 participants