Commit graph

22 commits

Author SHA1 Message Date
Andreas Köpf
d2c895f1d3
Refactor Curriculum Attributes (#335)
* remove min_value from AttributeDefinition
* remove type from AttributeDefinition
* Add CurriculumContext
* add ensure_interval option for RangeAttributes
* docs: Add legend explaining curriculum indicators in dataset gallery
* update GALLERY.md
2025-03-16 15:40:28 +01:00
Adefioye
5bfe730c3b
Simple equations curriculum (#340)
* Add curriculum to simple_equations and unit tests
* Add difficulty to metadata
2025-03-13 21:17:14 +01:00
Andreas Koepf
3e7ff3b084 use native types List->list, Dict->dict, Set->set, Tuple->tuple 2025-02-21 15:15:38 +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 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
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 (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