Commit graph

36 commits

Author SHA1 Message Date
Andreas Koepf
848997ee47 add complex_arithmetic 2025-02-07 17:53:30 +01:00
Aayam
2170ff1c23 pre commit run changes 2025-02-07 07:42:03 -08:00
Aayam
7ddc6390e6 All number are integers now. 2025-02-07 07:34:17 -08:00
Aayam
e2ce20bcbb Apply pre-commit fixes 2025-02-07 07:01:20 -08:00
Aayam
f93c00a16b added explicit check for answer to metadata result match 2025-02-07 07:01:20 -08:00
tohskai
847442ef0a
Add PolynomialMultiplicationDataset (#64)
* Add PolynomialMultiplicationDataset
2025-02-07 14:06:41 +01:00
Andreas Köpf
3f6b2fc807
Add Coaching & ScoreBoard class (result tracking) (#72)
* feat: Add Coach and ScoreBoard classes for performance tracking and difficulty adjustment
* feat: Add GroupedScores class to wrap aggregated scores
* refactor: Create ScoreStats class with tuple-based score statistics
* feat: Add unit test for Coach with CompositeDataset and multiple datasets
* fix: Add difficulty metadata to leg counting dataset
* feat: Add clear() method to ScoreBoard to reset all stored data
* feat: Add __len__ method to ScoreBoard to return number of scores
* feat: Add update_dataset_config method to CompositeDataset
* cleanup __init__ & imports
2025-02-06 23:15:28 +01:00
Andreas Köpf
334f43df53
Revert "feat: Add Complex Arithmetic Dataset and Tests" 2025-02-06 08:12:52 +01:00
Aayam
9280d22b83 Apply pre-commit fixes 2025-02-05 22:53:36 -08:00
Aayam
5be79bcb1b feat: Add Complex Arithmetic Dataset and Tests
This commit introduces a new dataset for complex number arithmetic operations:

- Implements ComplexArithmeticDataset for generating complex number problems
- Supports addition, subtraction, multiplication, and division operations

Part of the algebra tasks collection in reasoning-gym.
2025-02-05 08:53:06 -08:00
Andreas Koepf
057b9f2034 auto-load simple/intermediate integration tasks, stable order for n_queens (set was not stable) 2025-02-02 22:18:54 +01:00
joesharratt1229
b0d21cf664 added score_answer implementation and tests 2025-02-02 17:18:56 +00:00
joesharratt1229
420a44bd79 added impl of simple integration dataset generator 2025-02-02 15:29:24 +00:00
joesharratt1229
0eb0247ebd added register dataset to script 2025-02-02 15:28:52 +00:00
joesharratt1229
8528e39764 added intermediate integration dataset generator 2025-02-02 15:27:08 +00:00
Andreas Koepf
0dcff77b37 add reasoning_gym.create_dataset({name}, ...) global factory function 2025-01-25 00:58:34 +01:00
Andreas Koepf
e9549f2a63 pass config to ProceduralDataset base 2025-01-25 00:23:05 +01:00
Andreas Koepf
a07df085cf pre-commit 2025-01-24 23:55:43 +01:00
panispani
c992ac95c7 Add polynomial equations dataset and config 2025-01-24 20:37:20 +00:00
Andreas Koepf
1b43579448 fix operators configuration 2025-01-24 19:44:46 +01:00
Andreas Koepf (aider)
3c6e0679af feat: Add operators configuration and corresponding unit tests to simple_equations 2025-01-24 19:42:57 +01:00
Andreas Koepf
6533cbc961 simplify simple_equation generation 2025-01-24 19:41:51 +01:00
Andreas Koepf
6a1340e11b refactor: Replace unnamed loop variable with named index in equation generation 2025-01-24 19:27:19 +01:00
Andreas Koepf (aider)
cf2434b3aa fix: Remove operators configuration from simple equations dataset 2025-01-24 19:15:28 +01:00
Andreas Koepf
940b810a43 fix: Increase max attempts and improve operator validation in simple equations 2025-01-24 19:15:27 +01:00
Andreas Koepf (aider)
3827b5648f refactor: Improve equation generation with max attempts and error handling 2025-01-24 19:09:10 +01:00
Andreas Koepf
74976e18fd fix: Remove positive integer constraint for equation solutions 2025-01-24 19:08:38 +01:00
Andreas Koepf (aider)
dd20a0b3ab fix: Respect operator config when generating equation terms 2025-01-24 18:58:44 +01:00
Andreas Koepf
3dc80be7d2 formatting, cleanup 2025-01-24 17:12:42 +01:00
Andreas Koepf
13322af4ae set default max_value for SimpleEquationsDataset to 100 2025-01-24 16:14:13 +01:00
Andreas Koepf (aider)
b66b1c09b9 feat: Add SimpleEquationsDataset to algebra module
Developed together with Benjamin Rio (benjamrio)
2025-01-24 16:08:05 +01:00
Andreas Koepf
853777c290 feat: Add algebra module to reasoning_gym package 2025-01-24 15:50:25 +01:00
Andreas Koepf (aider)
827689739a fix: Pass variable parameter in recursive equation generation 2025-01-24 15:47:03 +01:00
Andreas Koepf (aider)
c8fdbef10c fix: Ensure consistent variable usage in simple equations generation 2025-01-24 15:38:26 +01:00
Andreas Koepf (aider)
e8889d846a feat: Add simple equations dataset with sympy-based generation 2025-01-24 15:36:39 +01:00
Andreas Koepf
3de78bff75 feat: Add initial algebra module with simple equations and test file 2025-01-24 15:36:38 +01:00