Commit graph

125 commits

Author SHA1 Message Date
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
Andreas Köpf
d6f399b8e4
Add eval configs, small fixes to eval script & rush-hour score_answer 2025-03-16 09:18:05 +01:00
Oliver Stanley
a71994ad03
add rush hour curriculum (#362)
* add rush hour curriculum

* add to __init__.py
2025-03-14 16:11:23 +01:00
Oliver Stanley
8f8bd9d756
add sudoku curriculum (#360)
* sudoku curriculum

* add test

* add to __init__.py
2025-03-14 16:09:49 +01:00
joesharratt1229
fa7d8e66b3
added boxnet generator and curr (#364) 2025-03-14 08:48:57 +01:00
Zafir Stojanovski
c81036004f
maze curriculum (#343) 2025-03-13 21:01:48 +01:00
Rich Jones
fe0f9ae114
Fix Rush Hour (#336)
* think it fixes rush hour

* explain walls
2025-03-13 20:42:40 +01:00
joesharratt1229
3c39cbda40
added sokoban dataset (#325) 2025-03-11 00:21:03 +01:00
joesharratt1229
e9944149bd
added tsumego curric (#323) 2025-03-11 00:19:55 +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
joesharratt1229
30f5d823da
Curriculum/emoji mystery (#315)
* added emoji curriculum

* updated metadata

* added curriculum to register
2025-03-11 00:11:27 +01:00
Zafir Stojanovski
e4b13bf51f
mini sudoku curriculum (#311) 2025-03-10 00:29:53 +01:00
Andreas Koepf
0a35e608ec register MahjongPuzzleCurriculum 2025-03-07 19:17:04 +01:00
Zafir Stojanovski
b915565c0d
add difficulty where possible (#274) 2025-03-07 19:01:26 +01:00
Andreas Köpf
c69bc5d4e6
Basic curriculum (#198)
* feat: Add optional curriculum support to dataset registration and creation
* docs: Add docstrings to create_curriculum() and register_dataset()
* feat: Add curriculum configuration classes for CurriculumExperiment
* feat: Add weight parameter to CurriculumAttributeConfig and use in DatasetSpec
* refactor: Simplify CurriculumAttributeConfig with "*" attribute level support
* test: Add unit tests for CurriculumExperiment class
* feat: Add from_yaml() method to CurriculumExperimentConfig with unit test
2025-03-07 11:22:12 +01:00
joesharratt1229
f3ee9a91a2
Added puzzle24 closes #208 (#268)
* added puzzle24
2025-03-05 22:36:37 +01:00
joesharratt1229
e30be066ec
Fixed countdown score_answer (#265)
* fixed countdown score ans
* checked solution uses all numbers
2025-03-05 22:30:12 +01:00
Zafir Stojanovski
d0a42116fb
feat(env): Mahjong Puzzle Curriculum (#263)
* mahjong curriculum

* typo

* update levels
2025-03-05 22:28:02 +01:00
Zafir Stojanovski
8ecc723607
feat(env): NQueens Curriculum (#262)
* curriculum & tests
2025-03-05 15:05:17 +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
Zafir Stojanovski
01e1c8f9af
fix: Unify Prompts (#254)
* remove cot
* fix prompt template
* fix pool matrix
* spiral matrix fixed
2025-03-03 21:55:53 +01:00
Zafir Stojanovski
9c581f1be1
Mahjong Puzzle (#241)
* mahjong
2025-03-01 16:27:26 +01:00
Andreas Koepf
6511725711 add markdown tripple backticks around tsumego board 2025-02-26 19:39:05 +01:00
Andreas Koepf
f97bf94caa fix & simplify score_answer() of TsumegoDataset 2025-02-26 19:04:30 +01:00
Andreas Koepf
eeb9fa31d5 more native type hints 2025-02-21 21:23:14 +01:00
Andreas Koepf
51808210aa add markdown tripple backtick code block for emoji_mystry hint 2025-02-21 21:06:07 +01:00
Andreas Köpf
c56045b9a7
Merge branch 'main' into feat/emoji-mystery 2025-02-21 20:58:39 +01:00
joesharratt1229
1fb73011f8 added answer format spec in prompt 2025-02-21 18:03:05 +00:00
joesharratt1229
5e64d1c24c added emoji dataset 2025-02-21 17:57:41 +00: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 Köpf
f2e86795eb
Merge pull request #161 from olliestanley/fix/sudoku-unique
Fix Sudoku generator for uniqueness, implement scoring
2025-02-18 22:55:43 +01:00
Oliver
75802c6a1c Add docstring 2025-02-18 21:38:46 +00:00
Oliver
b95ed7fbad Remove now redundant is_valid function 2025-02-18 21:37:37 +00:00
Oliver
5003357425 Remove comment 2025-02-18 21:32:15 +00:00
Oliver
56da1f5dcf Optimise Sudoku uniqueness checks 2025-02-18 21:30:59 +00:00
Oliver
7d8fe8b5d9 Fix Sudoku generator uniqueness and scoring 2025-02-18 21:02:49 +00:00
Oliver
473368bbea Tweak mini sudoku config 2025-02-18 18:46:14 +00:00
Oliver
fa773115b9 Tweak mini sudoku config 2025-02-18 18:43:19 +00:00
Oliver
32928bd77b Tweak num_empty logic 2025-02-18 18:36:12 +00:00
Oliver
9e3f4e806a Ensure unique mini sudokus 2025-02-18 18:31:30 +00:00
Oliver
c512d86a86 Cleanup question & add scoring for mini sudoku 2025-02-17 18:37:07 +00:00
Andreas Koepf
2cbaab2918 fix question templates 2025-02-16 23:04:24 +01:00
joesharratt1229
0efb4e0192 restrcutured maze prompt template 2025-02-16 18:26:24 +00:00
joesharratt1229
ef621fff30 updated tower of hanoi question template 2025-02-16 17:54:33 +00:00
joesharratt1229
262dcd08f8 updated countdown question template 2025-02-16 17:53:54 +00:00
Andreas Koepf
3f98afe47d more tolerant parsing of futoshiki answers 2025-02-16 14:23:40 +01:00
Andreas Koepf
f1bd5ef493 import FutoshikiDataset & update GALLERY 2025-02-15 21:26:15 +01:00