Repository navigation
Description
Queue rank 2/48 · Difficulty 1/5 · Status on main: not_fixed
NVBug: https://nvbugspro.nvidia.com/bug/6805384 · NVBug priority: Unprioritized · ARB: Ananth Subramaniam
GitHub: typo introduced by PR #1378 (env README) and PR #113 (resources README); Jira NMGYM-67 "In Review" but unmerged; no fix PR found on main.
Summary
Both reasoning_gym README composite examples tell users to run --tasks knights_knaves,syllogisms,leg_counting, but syllogisms (plural) is not a registered reasoning-gym task. The registered name is syllogism (singular), which the shipped create_dataset.py already uses. Copy-pasting the documented command aborts with "Dataset 'syllogisms' not registered" and exits 1, generating no dataset. Docs-only defect.
Reproduction
uv run --no-project --with 'reasoning-gym>=0.1.19' python \
environments/reasoning_gym/scripts/create_dataset.py \
--tasks knights_knaves,syllogisms,leg_counting --size 1000 \
--output /tmp/train_composite.jsonl
Yields: Error creating composite dataset: Dataset 'syllogisms' not registered / Error: No entries generated (exit 1).
Root cause
README composite blocks pass the plural syllogisms. reasoning-gym registers the task as syllogism (DATASET_NAME in logic/syllogisms.py). create_dataset.py:216-220 catches the registry error and returns []; :299-301 then prints "No entries generated" and exits 1. The script's own docstring (:20) and logic category table (:44) correctly use the singular, so only the two READMEs are wrong.
Status on main (not_fixed)
HEAD 75bb53e. Defect still present verbatim: environments/reasoning_gym/README.md:29 and resources_servers/reasoning_gym/README.md:21 both read --tasks knights_knaves,syllogisms,leg_counting. git blame: env:29 = ff51aea (PR #1378), res:21 = 96ccdfc (PR #113). No reasoning_gym commit since 2026-09-18 touched either README. No merged fix found.
Proposed fix
Change syllogisms -> syllogism on environments/reasoning_gym/README.md:29 and resources_servers/reasoning_gym/README.md:21. No code change needed (script, category table, QA oracle already use the singular). Optional hardening (out of scope): have create_composite_dataset validate task names and exit nonzero on an unknown task rather than swallowing the error.
Validation
QA testcase testcases/environments/reasoning_gym.py, case composite — already updated (reads --tasks via readme_composite_tasks(), expects families {knights_knaves, syllogism, leg_counting}). It stays red until the README is corrected, then turns green. Confirm all 1000 rows generate across the three families.
Triage
Difficulty 1/5 — single-token docs edit in two files, root cause pinpointed, QA oracle already aligned. Needs GPU/model: no. External dependency: none (reasoning-gym>=0.1.19 install only to re-validate generation).
Reviewer notes
Verifier confirmed not_fixed and difficulty 1; both READMEs and the swallowed-error path reproduce on HEAD, and PR provenance (#1378/#113) is correct. Corrected the root-cause line cite from 216-218 to 216-220 (the return [] is line 220). The bug record's embedded testcase snapshot is stale (still plural); trust the live QA file, which already expects the singular syllogism.
Activity
fix(reasoning_gym): use registered 'syllogism' task in README composi…