Self-contained Russian-language multiple-choice knowledge & reasoning evaluation for the verifiers framework.
- Environment ID:
ru-knowledge - Type: single-turn (
SingleTurnEnv) - Task: the model is shown a Russian question with four numbered options and must reply with the number of the correct option (1–4).
- Reward:
correct_choice—1.0if the resolved choice equals the gold option, else0.0. - Tags:
eval,russian,multiple-choice,knowledge
- Primary dataset: embedded in the module — 24 hand-written, verified items spanning general knowledge, language, and arithmetic/logic.
- Source: none (self-contained). Established Russian MCQ corpora
(
NLPCoreTeam/mmlu_ru,RussianNLP/russian_super_glue) ship as legacy dataset scripts, whichdatasets>=4refuses to load; a compact, dependency-free set keeps the eval reproducible and download-free. - Splits: 24 items, used for eval (
datasetandeval_datasetare the same set).
- Type: single-turn.
- Output format: a bare option number (
1–4). - Answer parsing (
extract_choice): robust to realistic output — takes the last boundary-anchored digit 1–4 (so"не 1, а 2"→2, and multi-digit / decimal tokens like10,366,0,901are not mis-read), and falls back to option-text matching when the model answers with the option value instead of its number. - Rubric: a single
correct_choiceexact-match reward (weight 1.0); the framework additionally reports a weight-0num_turnsmetric.
prime env install ru-knowledge
prime eval run ru-knowledge -n 24 -r 3 -m <model>None. load_environment accepts no environment-specific arguments.
| Metric | Meaning |
|---|---|
correct_choice |
1.0 exact-match of the chosen option, else 0.0 (weight 1.0) |
num_turns |
framework metric (weight 0) |