Commit graph

11 commits

Author SHA1 Message Date
Andreas Koepf (aider)
6b41e3cc47 fix: Prevent infinite loop in arithmetic dataset space generation 2025-01-23 11:34:18 +01:00
Andreas Koepf (aider)
473a2be31d feat: Unify arithmetic task generation with configurable dataset class
This commit introduces a new `ArithmeticDataset` class that:
- Combines complex and simple arithmetic task generation approaches
- Provides configurable task generation via `ArithmeticDatasetConfig`
- Supports deterministic task generation
- Implements dataset interface for easy use with HuggingFace datasets
- Adds comprehensive test coverage for the new implementation

Changes include:
- Refactored `basic_arithmetic.py` to use a unified dataset approach
- Added configuration validation and flexible generation options
- Created test suite to validate dataset behavior
- Removed file generation methods in favor of in-memory generation
2025-01-23 11:30:09 +01:00
Andreas Koepf
88e438fa68 feat: Add basic arithmetic module to reasoning_gym 2025-01-23 11:30:03 +01:00
Andreas Koepf
b42ae939fd fix README 2025-01-23 11:04:41 +01:00
Andreas Koepf (aider)
82afdb26e9 feat: Add Black and isort pre-commit hooks with line length configuration 2025-01-23 11:02:13 +01:00
Andreas Koepf (aider)
64641c4ee0 chore: Update project homepage and bug tracker URLs 2025-01-23 10:58:29 +01:00
Andreas Koepf (aider)
f98c16a6d3 chore: Update license to Apache 2.0 and author information 2025-01-23 10:55:01 +01:00
Andreas Koepf (aider)
4dc36f79e7 build: Initialize reasoning_gym package structure with packaging and development setup 2025-01-23 10:50:54 +01:00
Andreas Koepf
32818d7cfd chore: Add .gitignore with .aider and .env files 2025-01-23 10:50:53 +01:00
Andreas Koepf
60ad5347f3 create inital README 2025-01-23 09:40:28 +01:00
Andreas Köpf
2e57412bef Initial commit 2025-01-23 09:39:53 +01:00