Commit graph

85 commits

Author SHA1 Message Date
Andreas Koepf (aider)
a20a9e9650 feat: Add return type annotation to ProceduralDataset.__next__() 2025-01-24 10:16:27 +01:00
Andreas Koepf (aider)
3a8a613573 feat: Add Sized and Iterable base classes to ProceduralDataset 2025-01-24 10:14:42 +01:00
Andreas Koepf (aider)
e4b032c814 refactor: Rename ArithmeticDataset to BasicArithmeticDataset 2025-01-24 10:02:02 +01:00
Andreas Koepf (aider)
339d515ecf refactor: Inherit ArithmeticDataset from ProceduralDataset base class 2025-01-24 10:00:19 +01:00
Andreas Koepf (aider)
4932b04106 refactor: Inherit PrimeFactorizationDataset from ProceduralDataset base class 2025-01-24 09:59:08 +01:00
Andreas Koepf (aider)
d1296630b4 refactor: Inherit ChainSum from ProceduralDataset base class 2025-01-24 09:57:26 +01:00
Andreas Koepf (aider)
e9e578a1df refactor: Inherit LCMDataset from ProceduralDataset base class 2025-01-24 09:56:19 +01:00
Andreas Koepf (aider)
89ad482b39 refactor: Inherit GCDDataset from ProceduralDataset base class 2025-01-24 09:55:14 +01:00
Andreas Koepf (aider)
c0552097c3 feat: Add ProceduralDataset abstract base class for dataset generators 2025-01-24 09:51:04 +01:00
Andreas Koepf
c0ca668ce9 refactor: Update fraction simplification config with expanded value ranges 2025-01-24 09:51:03 +01:00
Andreas Koepf (aider)
5fb6421179 refactor: Replace if/elif chain with match/case in _format_fraction 2025-01-24 09:43:13 +01:00
Andreas Koepf (aider)
0cb01efbc5 feat: Update fraction simplification config to use Sequence and default tuple for styles 2025-01-24 09:42:07 +01:00
Andreas Koepf (aider)
e282a779a9 feat: Add configurable formatting styles for fraction simplification dataset 2025-01-24 09:39:21 +01:00
Andreas Koepf (aider)
e1e59d2a2f feat: Ensure numerator is always smaller than denominator in fraction generation 2025-01-24 09:35:02 +01:00
Andreas Koepf (aider)
1cc3e434a0 refactor: Simplify fraction simplification dataset metadata 2025-01-24 09:30:12 +01:00
Andreas Koepf (aider)
0051d46466 feat: Add multiple LaTeX fraction formatting styles to FractionSimplificationDataset 2025-01-24 09:28:58 +01:00
Andreas Koepf
b29f81a4dc add gcd default max_value to 10_000 2025-01-24 09:18:46 +01:00
Andreas Koepf (aider)
b48307a9ec fix: Ensure simplified fraction values stay within configured bounds 2025-01-24 09:11:07 +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)
d8cce4672b feat: Modify LCM dataset to generate numbers with LCM less than their product 2025-01-24 09:02:57 +01:00
Andreas Koepf (aider)
830b1e3979 feat: Enhance GCD dataset to retry generating numbers with GCD > 1 2025-01-24 08:58:59 +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)
d7ef1d471b feat: Add GCD dataset imports to arithmetic module 2025-01-24 08:51:29 +01:00
Andreas Koepf (aider)
c88ec95762 feat: Add GCD dataset generator for finding GCD of multiple integers 2025-01-24 08:47:19 +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)
3c3a42f07f fix: Improve mini sudoku board generation and empty cell handling 2025-01-23 23:16:59 +01:00
Andreas Koepf (aider)
a503089587 feat: Add mini sudoku puzzle generator to games package 2025-01-23 23:14:51 +01:00
Andreas Koepf (aider)
87d1db2a1a feat: Add Sudoku puzzle generator with configurable difficulty 2025-01-23 22:55:09 +01:00
Andreas Koepf (aider)
3c1232888c feat: Clarify prime factorization example and answer format 2025-01-23 22:50:00 +01:00
Andreas Koepf (aider)
a4391fe5f6 feat: Add prime factorization task generator with configurable range and example 2025-01-23 22:46:58 +01:00
Andreas Koepf (aider)
562dfb1813 refactor: Rename chain_sum to chain_sum_dataset for consistency 2025-01-23 22:27:48 +01:00
Andreas Koepf (aider)
2b58508701 feat: Update arithmetic __init__.py with docstring and additional exports 2025-01-23 22:26:51 +01:00
Andreas Koepf (aider)
cc16eaf60c feat: Add arithmetic dataset functions to algorithmic package __init__ 2025-01-23 22:24:59 +01:00
Andreas Koepf (aider)
b8c69aa89f feat: Add leg counting imports and exports to arithmetic package 2025-01-23 22:22:12 +01:00
Andreas Koepf (aider)
f8219a7a6a refactor: Remove centipede from ANIMALS due to variable leg count 2025-01-23 22:18:59 +01:00
Andreas Koepf (aider)
0a239af02d refactor: Sort ANIMALS dictionary by leg count with alphabetical order within groups 2025-01-23 22:17:27 +01:00
Andreas Koepf (aider)
8f3a52350c feat: Add more 4-legged and 6-legged animals to ANIMALS dictionary 2025-01-23 22:16:08 +01:00
Andreas Koepf (aider)
6184941d6c feat: Add more diverse animals to leg counting dataset 2025-01-23 22:14:15 +01:00
Andreas Koepf (aider)
ce9076d7af feat: Add leg counting arithmetic task generator with animal leg counting functionality 2025-01-23 22:08:42 +01:00
Andreas Koepf (aider)
45cf64ff37 feat: Add hint for lowercase letters in base conversion questions for bases > 10 2025-01-23 21:49:08 +01:00
Andreas Koepf (aider)
9dcf4c11b2 refactor: Remove unnecessary rstrip('L') calls in base conversion 2025-01-23 21:46:06 +01:00
Andreas Koepf (aider)
00fc115131 fix: Strip whitespace from base conversion source and target representations 2025-01-23 21:41:20 +01:00
Andreas Koepf (aider)
f3f7d1c96b feat: Add base conversion task with configurable base ranges 2025-01-23 21:37:40 +01:00
Andreas Koepf (aider)
011c5b34e7 feat: Add number filtering task to algorithmic package 2025-01-23 20:39:50 +01:00
Andreas Koepf (aider)
5e324f98fa feat: Add word reversal task generator with configurable word count 2025-01-23 20:25:36 +01:00
Andreas Koepf (aider)
4f198bfb80 feat: Add algorithmic and data modules to reasoning_gym package 2025-01-23 19:21:57 +01:00
Andreas Koepf (aider)
355c718791 refactor: Replace deprecated open_text() with files() API 2025-01-23 19:19:14 +01:00
Andreas Koepf (aider)
cd0bc93092 fix: Ensure letter counting dataset extracts only alphanumeric words 2025-01-23 19:17:45 +01:00
Andreas Koepf (aider)
a929bc3d1d feat: Add letter counting algorithmic task with configurable text span generation 2025-01-23 19:11:15 +01:00
Andreas Koepf
17acf95414 add plaintext of book In the year 2889 by Michel & Jules Verne (project Gutenberg eBook #19362) 2025-01-23 19:01:44 +01:00