Andreas Koepf (aider)
01a30f0c44
feat: Add color cube rotation dataset and tests
2025-01-24 17:36:04 +01:00
Andreas Koepf
5c5d46b4bd
formatting, cleanup
2025-01-24 17:12:42 +01:00
Andreas Koepf (aider)
a33b9744ea
test: Add unit tests for family relationships dataset
2025-01-24 16:52:09 +01:00
Andreas Koepf
51cf6bdd45
rename SequenceDataset -> NumberSequenceDataset
2025-01-24 16:23:02 +01:00
Andreas Koepf
9d436af2b9
Add support for integer division in basic arithmetic dataset
2025-01-24 15:07:31 +01:00
Andreas Koepf
aaabc05ace
formatting
2025-01-24 10:34:07 +01:00
Andreas Koepf
0e9250bce0
Rename ArithmeticDataset to BasicArithmeticDataset
2025-01-24 10:31:26 +01:00
Andreas Koepf (aider)
b598828e08
test: Add test to verify numerators are <= denominators
2025-01-24 09:37:27 +01:00
Andreas Koepf (aider)
dce32139f3
feat: Add fraction simplification dataset to arithmetic module
2025-01-24 09:10:15 +01:00
Andreas Koepf (aider)
e58a0e2f94
feat: Add LCM dataset generator for arithmetic reasoning tasks
2025-01-24 08:55:16 +01:00
Andreas Koepf (aider)
6cf01debdb
test: Add comprehensive unit tests for GCDDataset
2025-01-24 08:49:32 +01:00
Andreas Koepf (aider)
ecb7d1bca1
feat: Add NumberSortingDataset to algorithmic package with configuration and tests
2025-01-23 23:28:15 +01:00
Andreas Koepf (aider)
0311aa56e5
test: Add comprehensive unit tests for MiniSudokuDataset
2025-01-23 23:15:36 +01:00
Andreas Koepf (aider)
d7983c9545
test: Add comprehensive unit tests for SudokuDataset
2025-01-23 22:57:02 +01:00
Andreas Koepf (aider)
e6b16c484e
test: Add comprehensive unit tests for prime factorization dataset
2025-01-23 22:51:20 +01:00
Andreas Koepf (aider)
1f6bc9c223
feat: Add comprehensive tests for leg counting dataset and configuration
2025-01-23 22:09:35 +01:00
Andreas Koepf (aider)
fec8a0b54d
test: Add comprehensive unit tests for BaseConversionDataset
2025-01-23 21:50:58 +01:00
Andreas Koepf (aider)
30d3ef6b05
test: Add comprehensive unit tests for number filtering task
2025-01-23 20:42:20 +01:00
Andreas Koepf (aider)
b32c6519c4
test: Add comprehensive unit tests for WordReversalDataset
2025-01-23 20:26:12 +01:00
Andreas Koepf (aider)
f9576acd4b
test: Add comprehensive unit tests for LetterCountingDataset
2025-01-23 19:12:36 +01:00
Andreas Koepf (aider)
0521254208
feat: Add propositional logic dataset generator with comprehensive logical reasoning tasks
2025-01-23 14:38:56 +01:00
Andreas Koepf (aider)
a2686341a3
feat: Add rule composition support to PatternRule
2025-01-23 14:04:36 +01:00
Andreas Koepf (aider)
26bc1ac1c1
fix: Correct PatternRule.apply() method to properly handle sequence operations
...
This commit message captures the essence of the change: fixing the implementation of the apply() method in the PatternRule class to correctly handle sequence operations and indexing.
The key changes are:
1. Use `sequence[position]` instead of `sequence[position - 1]`
2. Adjust PREV_PLUS condition to use `position > 0`
3. Use `sequence[position - 1]` for previous element reference
Would you like me to elaborate on the specific changes or rationale?
2025-01-23 13:52:47 +01:00
Andreas Koepf (aider)
05ba566a51
feat: Add iteration support to ArithmeticDataset with size-based termination
2025-01-23 12:34:54 +01:00
Andreas Koepf (aider)
5c5cbf3194
feat: Add iterator support to ChainSum with size-respecting iteration
2025-01-23 12:23:35 +01:00
Andreas Koepf (aider)
4e7d69e39f
fix: Remove duplicate 1-digit number test section in test_chain_sum.py
2025-01-23 12:16:09 +01:00
Andreas Koepf (aider)
b92c278ef7
fix: Correct 1-digit number test ranges in chain sum test
2025-01-23 12:14:15 +01:00
Andreas Koepf (aider)
95fdca5a92
feat: Add special case handling for min_digits=1 in ChainSum generation
2025-01-23 12:07:56 +01:00
Andreas Koepf (aider)
1ff01627cc
feat: Implement allow_negation to generate both positive and negative numbers in ChainSum
2025-01-23 12:01:21 +01:00
Andreas Koepf (aider)
d46f338160
feat: Add digit-based number range generation for chain sum tasks
2025-01-23 11:46:55 +01:00
Andreas Koepf (aider)
3d9b48ba31
feat: Add ChainSum class for generating simple arithmetic tasks
2025-01-23 11:40:00 +01:00
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 (aider)
4dc36f79e7
build: Initialize reasoning_gym package structure with packaging and development setup
2025-01-23 10:50:54 +01:00