Commit graph

18 commits

Author SHA1 Message Date
Oliver Stanley
1a727ecf4e
support python 3.10 (#450)
* support python 3.10

* add 3.10 to tests

* new StrEnum
2025-06-04 10:34:01 +01:00
Oliver Stanley
224532f12a
first inter-domain generalisation experiments (#412)
* tweak len reward

* first inter-generalisation experiment config

* update inter algorithmic config

* default to empty config

* fix typo

* change config to match experiment script

* long prompt fixes

* algorithmic training config tweaks

* imports

* update algorithmic training cfgs

* first logic composite config

* fix dset name

* tweaks

* fix syllogisms dataset

* rm temp print

* initial algebra config

* algebra cfg tweaks

* add gc

* add initial games cfg

* rename games cfg

* fix dset name

* fix sokoban metadata

* remove boxnet

* games cfg tweak
2025-04-14 21:06:40 +01: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
Andreas Koepf
3e7ff3b084 use native types List->list, Dict->dict, Set->set, Tuple->tuple 2025-02-21 15:15:38 +01:00
Andreas Koepf
0c3b2c4fef lint 2025-02-08 17:22:55 +01:00
Andreas Koepf (aider)
ac27508d09 feat: Add inversion probability and logical equivalence to syllogisms 2025-02-08 17:14:35 +01:00
Andreas Köpf
0c8752c7b1
Fix syllogisms (#82)
* let o1 write a new is_valid_syllogism() check
* extend unit test
* update gallery
2025-02-07 21:47:59 +01:00
Andreas Koepf (aider)
56ded2c299 feat: Improve syllogism sentence formatting for natural language 2025-02-02 17:23:02 +01:00
Andreas Koepf
cae7f0f98b min python 3.11 to support StrEnum 2025-01-26 22:17:43 +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
6533cbc961 simplify simple_equation generation 2025-01-24 19:41:51 +01:00
Andreas Koepf
9659101306 reduce TERMS in SyllogismDataset 2025-01-24 18:45:22 +01:00
Andreas Koepf (aider)
3036ee6ccc feat: Add hint to syllogisms question to clarify Yes/No answer format 2025-01-24 18:41:04 +01:00
Andreas Koepf (aider)
184f68c89e refactor: Enhance syllogism validation with comprehensive classical logic rules 2025-01-24 18:35:11 +01:00
Andreas Koepf (aider)
cd2c8072a1 feat: Expand DEFAULT_TERMS with comprehensive categories and diverse terms in SyllogismDataset 2025-01-24 18:29:26 +01:00
Andreas Koepf (aider)
fdb10666ea feat: Add syllogism tasks dataset to reasoning_gym/logic module 2025-01-24 18:27:30 +01:00