Andreas Koepf
eeb9fa31d5
more native type hints
2025-02-21 21:23: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
5c89cb872f
Merge pull request #106 from tohskai/multivariate-polynomial-multiplication
...
Better support for multivariate polynomials in PolynomialMultiplicationDataset
2025-02-17 18:08:36 +01:00
tohskai
5afd82fdc3
Refactor PolynomialMultiplicationDataset and fix issues with score_answer
2025-02-17 17:04:48 +01:00
abdulhakeem
94d4bc03fc
Remove play file and format with pre-commit
2025-02-13 22:39:21 -06:00
abdulhakeem
58e03067f9
Fix formatting of added instructions
2025-02-13 21:26:58 -06:00
abdulhakeem
fc5fb85537
Fix more conflict
2025-02-13 21:26:54 -06:00
abdulhakeem
3493703c33
Fix conflict during rebasing
2025-02-13 21:21:11 -06:00
abdulhakeem
8811598a17
Add useful instructions to question template of some datasets
2025-02-13 00:49:31 -06:00
Andreas Koepf
014ee03e35
fix typo
2025-02-11 11:03:55 +01:00
tohskai
2a0baef313
Improve support for multivariate polynomials
2025-02-11 01:58:07 +01:00
rishabhranawat
40e5a7cffa
[poly-reward] run pre-commit hooks
2025-02-09 07:30:18 -08:00
rishabhranawat
8c6c7f9ca7
[poly-reward] minor updates to the docstrings
2025-02-08 21:41:18 -08:00
rishabhranawat
adfcf52bca
Merge branch 'main' of https://github.com/rishabhranawat/reasoning-gym into poly-reward
2025-02-08 21:37:21 -08:00
rishabhranawat
1cc55b3f96
[poly-reward] add a greedy strategy scoring function for polynomial equations
2025-02-08 21:36:21 -08:00
Andreas Koepf
127f505798
add ArcAgiDataset class, fix score_entry() metadata params
2025-02-08 23:18:18 +01:00
Andreas Koepf
4d9afcaba2
clarify number_filtering task
2025-02-08 19:32:45 +01:00
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