Commit graph

100 commits

Author SHA1 Message Date
Andreas Koepf
74f590e24f more native type hints 2025-02-21 21:23:14 +01:00
Andreas Koepf
d27ec36c94 add markdown tripple backtick code block for emoji_mystry hint 2025-02-21 21:06:07 +01:00
Andreas Köpf
e41b86ec36 Merge branch 'main' into feat/emoji-mystery 2025-02-21 20:58:39 +01:00
joesharratt1229
f7be02abfc added answer format spec in prompt 2025-02-21 18:03:05 +00:00
joesharratt1229
425ae24f3b added emoji dataset 2025-02-21 17:57:41 +00:00
Andreas Köpf
28dc0932c4 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
ff5b210106 use native types List->list, Dict->dict, Set->set, Tuple->tuple 2025-02-21 15:15:38 +01:00
Oliver
31941d09e6 Answer scoring fixes to address edge cases 2025-02-20 22:04:01 +00:00
Andreas Köpf
9fb231dde9 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
47321936a5 Add docstring 2025-02-18 21:38:46 +00:00
Oliver
47b4f29c6a Remove now redundant is_valid function 2025-02-18 21:37:37 +00:00
Oliver
43ccddf1ac Remove comment 2025-02-18 21:32:15 +00:00
Oliver
368d13d470 Optimise Sudoku uniqueness checks 2025-02-18 21:30:59 +00:00
Oliver
c1d2e555ee Fix Sudoku generator uniqueness and scoring 2025-02-18 21:02:49 +00:00
Oliver
8a7c782c73 Tweak mini sudoku config 2025-02-18 18:46:14 +00:00
Oliver
90a77d0f5a Tweak mini sudoku config 2025-02-18 18:43:19 +00:00
Oliver
0ccb3cbdfd Tweak num_empty logic 2025-02-18 18:36:12 +00:00
Oliver
bf4c3d26d3 Ensure unique mini sudokus 2025-02-18 18:31:30 +00:00
Oliver
b40c44059d Cleanup question & add scoring for mini sudoku 2025-02-17 18:37:07 +00:00
Andreas Koepf
99b49f868f fix question templates 2025-02-16 23:04:24 +01:00
joesharratt1229
2c032a2500 restrcutured maze prompt template 2025-02-16 18:26:24 +00:00
joesharratt1229
94e07ddbf2 updated tower of hanoi question template 2025-02-16 17:54:33 +00:00
joesharratt1229
ca07c8584e updated countdown question template 2025-02-16 17:53:54 +00:00
Andreas Koepf
5803a2962e more tolerant parsing of futoshiki answers 2025-02-16 14:23:40 +01:00
Andreas Koepf
ac1f889d83 import FutoshikiDataset & update GALLERY 2025-02-15 21:26:15 +01:00
Andreas Köpf
ddb334ba20 Merge pull request #60 from olliestanley/feature/futoshiki-generator
Add Futoshiki puzzle generator
2025-02-15 21:24:15 +01:00
Zafir Stojanovski
95d367bc17 fix score function and add test 2025-02-15 16:09:08 +01:00
Oliver
d42b84ef4c Add more instruction to generated questions 2025-02-15 13:47:54 +00:00
Zafir Stojanovski
b8036a4b7d fix prompt 2025-02-15 10:31:03 +01:00
Andreas Koepf
14f67cb7e7 fix handling of walls, add unit test 2025-02-14 23:29:17 +01:00
Andreas Koepf (aider)
e106bd311c refactor: Use Path.open() to read rush_18k.txt line by line 2025-02-14 17:41:09 +01:00
Andreas Koepf
1d1a0367d4 add RushHour to games/__init__.py 2025-02-14 17:35:14 +01:00
Andreas Koepf (aider)
d5ce2bfdf5 feat: Add score_answer method to RushHourDataset with input validation 2025-02-14 17:33:01 +01:00
Andreas Koepf (aider)
8278a9521c test: Add comprehensive unit tests for RushHourDataset 2025-02-14 17:29:43 +01:00
Andreas Koepf (aider)
0eecc6c450 feat: Add RushHourConfig and RushHourDataset for procedural Rush Hour puzzle generation 2025-02-14 17:26:24 +01:00
Andreas Koepf
254f866146 refactor: Remove commented TODOs and example code from rush_hour.py 2025-02-14 17:26:22 +01:00
Andreas Koepf
417e71cd17 add unit test for RushHour Board::perform_moves() 2025-02-14 16:59:19 +01:00
ironbound
bcf6344125 input check 2025-02-14 16:00:22 +01:00
Iron-Bound
4fffde10f4 Merge branch 'open-thought:main' into rush_hour 2025-02-14 15:31:17 +01:00
Andreas Koepf
b898dba76c more pythonic formatting 2025-02-14 12:04:40 +01:00
Andreas Koepf
80719c7201 move game_of_life from games to algorithmic 2025-02-14 07:26:47 +01:00
ironbound
4cb68b29e1 working puzzle 2025-02-13 22:09:14 +01:00
Oliver
b730709e34 formatting 2025-02-13 19:00:18 +00:00
Oliver
c716affdd0 Correct string formatting 2025-02-13 18:52:48 +00:00
ironbound
864f1437f7 documented code 2025-02-13 19:15:13 +01:00
Andreas Koepf
0e8bf42ddd use json formatting for initial state of game-of-life board 2025-02-13 19:06:20 +01:00
Oliver
38eab5394c Merge branch 'main' into feature/futoshiki-generator 2025-02-13 17:58:45 +00:00
Rich Jones
55b75602ed json gol 2025-02-13 13:25:38 +01:00
ironbound
6cb3d401dc v1 bounds checking 2025-02-12 05:13:10 +01:00
ironbound
0d70a19399 working board 2025-02-11 19:41:45 +01:00