Commit graph

100 commits

Author SHA1 Message Date
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
Andreas Köpf
fe0f01c318
Merge pull request #60 from olliestanley/feature/futoshiki-generator
Add Futoshiki puzzle generator
2025-02-15 21:24:15 +01:00
Zafir Stojanovski
b46e445ada fix score function and add test 2025-02-15 16:09:08 +01:00
Oliver
b14ab8ad6f Add more instruction to generated questions 2025-02-15 13:47:54 +00:00
Zafir Stojanovski
358b58355c fix prompt 2025-02-15 10:31:03 +01:00
Andreas Koepf
a5d784c6ef fix handling of walls, add unit test 2025-02-14 23:29:17 +01:00
Andreas Koepf (aider)
8ff82bb5a6 refactor: Use Path.open() to read rush_18k.txt line by line 2025-02-14 17:41:09 +01:00
Andreas Koepf
05056ffb50 add RushHour to games/__init__.py 2025-02-14 17:35:14 +01:00
Andreas Koepf (aider)
316aebfadc feat: Add score_answer method to RushHourDataset with input validation 2025-02-14 17:33:01 +01:00
Andreas Koepf (aider)
ca5e23e195 test: Add comprehensive unit tests for RushHourDataset 2025-02-14 17:29:43 +01:00
Andreas Koepf (aider)
5750bd29a7 feat: Add RushHourConfig and RushHourDataset for procedural Rush Hour puzzle generation 2025-02-14 17:26:24 +01:00
Andreas Koepf
11353a3120 refactor: Remove commented TODOs and example code from rush_hour.py 2025-02-14 17:26:22 +01:00
Andreas Koepf
27a945dd07 add unit test for RushHour Board::perform_moves() 2025-02-14 16:59:19 +01:00
ironbound
948011e1b3 input check 2025-02-14 16:00:22 +01:00
Iron-Bound
0b9ad81f28
Merge branch 'open-thought:main' into rush_hour 2025-02-14 15:31:17 +01:00
Andreas Koepf
438f9425c6 more pythonic formatting 2025-02-14 12:04:40 +01:00
Andreas Koepf
8960d66beb move game_of_life from games to algorithmic 2025-02-14 07:26:47 +01:00
ironbound
4423f8706b working puzzle 2025-02-13 22:09:14 +01: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
ironbound
675462c41e documented code 2025-02-13 19:15:13 +01:00
Andreas Koepf
9ae8a29ff2 use json formatting for initial state of game-of-life board 2025-02-13 19:06:20 +01:00
Oliver
39ca150f2b Merge branch 'main' into feature/futoshiki-generator 2025-02-13 17:58:45 +00:00
Rich Jones
0adde9853f json gol 2025-02-13 13:25:38 +01:00
ironbound
071d790e1c v1 bounds checking 2025-02-12 05:13:10 +01:00
ironbound
2e2c5744df working board 2025-02-11 19:41:45 +01:00