{"id":28134,"library":"reasoning-gym","title":"reasoning-gym","description":"A library of procedural dataset generators for training reasoning models. Current version 0.1.25, with frequent releases (multiple per month). Requires Python >=3.10.","status":"active","version":"0.1.25","language":"python","source_language":"en","source_url":"https://github.com/open-thought/reasoning-gym","tags":["reasoning","datasets","procedural-generation","training"],"install":[{"cmd":"pip install reasoning-gym","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"used for symbolic math in some generators","package":"sympy","optional":false},{"reason":"used for array operations","package":"numpy","optional":false}],"imports":[{"note":"Top-level import does not expose submodules directly.","wrong":"from reasoning_gym import countdown","symbol":"countdown","correct":"from reasoning_gym.games.countdown import countdown"}],"quickstart":{"code":"import reasoning_gym\nfrom reasoning_gym.games.countdown import countdown\n\n# Create a dataset generator\ngen = countdown.CountdownGenerator()\n# Generate n items\nitems = list(gen.generate(num_items=5))\nfor item in items:\n    print(item)","lang":"python","description":"Import and use a generator from the games submodule."},"warnings":[{"fix":"Use `from reasoning_gym.games.countdown import countdown` instead of `import reasoning_gym.games.countdown`.","message":"Submodules like games, algebra, etc. are not imported at the top level. You must import from the full path (e.g., reasoning_gym.games.countdown).","severity":"gotcha","affected_versions":"all"},{"fix":"Refer to the latest documentation or GitHub README for the correct import path.","message":"Some older generator classes have been renamed or moved. Check the CHANGELOG if you get ImportError.","severity":"deprecated","affected_versions":"<=0.1.23"}],"env_vars":null,"search_vec":"'0.1.25':16 '3.10':25 'current':14 'dataset':8,27 'frequent':18 'generat':9,30 'gym':3 'librari':5 'model':13 'month':22 'multipl':20 'per':21 'procedur':7,29 'procedural-gener':28 'python':24 'reason':2,12,26 'reasoning-gym':1 'releas':19 'requir':23 'train':11,31 'version':15","created_at":"2026-05-09T05:53:55.071166+00:00","updated_at":"2026-05-09T05:53:55.071166+00:00","problems":{"verify_error":"/tmp/tmpyoey1dfc/venv/lib/python3.12/site-packages/cellpylib/ca_functions.py:194: SyntaxWarning: \"is\" with 'str' literal. Did you mean \"==\"?\n  if memoize is \"recursive\":\n/tmp/tmpyoey1dfc/venv/lib/python3.12/site-packages/cellpylib/ca_functions.py:246: SyntaxWarning: \"is\" with 'str' literal. Did you "},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/open-thought/reasoning-gym","docs":null,"changelog":null,"pypi":"https://pypi.org/project/reasoning-gym/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"install_fail","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-09","install_tag":null}}