Commit graph

20 commits

Author SHA1 Message Date
Oliver Stanley
c0e98f93b4
make task entries json serializable (#443)
* make sympy-based task entries json serializable

* remove datetime objs from time_intervals metadata

* make adv geometry json serializable

* make futoshiki metadata json serializable

* fixes

* futoshiki tweaks

* fix adv geometry

* deal with fractions in str representations

* fix

* restore start_time, end_time as str
2025-06-02 08:57:15 +02:00
Zafir Stojanovski
dced3bfc45
fix(curriculum): Make boundaries in curriculum more sensible (#407)
* init

* fix tests

* unify codeio

* filtered for libraries not present in reasoning-gym

* fix more bounds

* puzzle24

* knight swap curriculum

* fix number sorting

* fix attributes

* add validation of config in creation of dataset

* dry run for instantiating and validating the datasets

* remove unused imports

* fix curriculum tests to reference newly updated attribute names
2025-04-04 20:24:14 +02:00
Zafir Stojanovski
ce0a6c4878
fix(envs): Add source dataset and index to metadata (#388)
* add source dataset and index to metadata

* fix typo

* fix coach class and its test
2025-03-20 11:12:14 +00:00
Oliver Stanley
7475a20700
include ranges rather than sampled values in difficulty metadata dicts (#387)
* update difficulty metadata for logic datasets

* update difficulty metadata for graph datasets

* update difficulty metadata for geometry datasets

* update difficulty metadata for games datasets

* update difficulty metadata for cognition datasets

* update difficulty metadata for arithmetic datasets

* update difficulty metadata for arc datasets

* update difficulty metadata for algorithmic datasets

* update difficulty metadata for algebra datasets

* use tuples

* update tests

* update tests
2025-03-20 10:27:03 +01:00
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
joesharratt1229
e01910254d
added futoshiki and tower hanou (#316)
* added futoshiki and tower hanou

* corrected failed unit tests
2025-03-11 00:12:32 +01:00
Andreas Köpf
5d7fbac0ad
Minor question template & score_answer improvements (#261)
* math prompt improvements
* ignore brackets in complex_arithmetic results
* improve additional instruction in prompt of polynomial_equations
* more strict tests for score_answer in polynomial_equations
* simplify special reward handling
* fix test_intermediate_integration
* fix sokoban dataset
* add common dataset score_answer consistency test
2025-03-04 21:55:09 +01:00
Andreas Köpf
b59ccdefa2
Merge pull request #178 from olliestanley/feature/unsloth-train
Add minimal working GRPO training example with Unsloth
2025-02-21 15:37:24 +01:00
Andreas Koepf
3e7ff3b084 use native types List->list, Dict->dict, Set->set, Tuple->tuple 2025-02-21 15:15:38 +01:00
Oliver
e26161713e Answer scoring fixes to address edge cases 2025-02-20 22:04:01 +00:00
Andreas Koepf
3f98afe47d more tolerant parsing of futoshiki answers 2025-02-16 14:23:40 +01:00
Oliver
b14ab8ad6f Add more instruction to generated questions 2025-02-15 13:47:54 +00:00
Oliver
fe55ea21dc formatting 2025-02-13 19:00:18 +00:00
Oliver
c018e3697a Correct string formatting 2025-02-13 18:52:48 +00:00
Oliver
8daebcd1a8 Remove rng param 2025-02-09 21:26:03 +00:00
Oliver
dce5d9367d Greatly speed up solver 2025-02-09 21:23:53 +00:00
Oliver
145ceeb109 Finish first draft futoshiki solver/gen 2025-02-07 00:09:35 +00:00
Oliver
238a41db43 Revert "Experiment with alternative solving/generation approach"
This reverts commit 06c75ce1a9.
2025-02-07 00:06:38 +00:00
Oliver
06c75ce1a9 Experiment with alternative solving/generation approach 2025-02-06 23:58:09 +00:00
Oliver
a369e26448 Initial draft of Futoshiki generator 2025-02-04 17:42:57 +00:00