Commit graph

191 commits

Author SHA1 Message Date
Andreas Koepf
74f590e24f more native type hints 2025-02-21 21:23:14 +01:00
Andreas Köpf
de362fb76f Merge pull request #182 from zafstojano/env/binary-alternation
feat(env): Binary Alternation
2025-02-21 17:27:16 +01:00
Andreas Köpf
1e0f67f7a2 Merge pull request #175 from AhmedSaif2/fix-format
Add score_answer function to handle comma-formatted numbers
2025-02-21 15:36:21 +01:00
Andreas Koepf
ff5b210106 use native types List->list, Dict->dict, Set->set, Tuple->tuple 2025-02-21 15:15:38 +01:00
Zafir Stojanovski
a168605fc7 pre-commit 2025-02-21 13:39:05 +01:00
Zafir Stojanovski
6c46b93ae2 binary alternation 2025-02-21 13:09:21 +01:00
Andreas Köpf
07587d1647 Merge branch 'main' into env/rotten-oranges 2025-02-20 22:51:07 +01:00
Andreas Koepf
c1aeacad0b store possible answer in entry 'answer' field 2025-02-20 22:47:21 +01:00
Andreas Koepf (aider)
96bd177b9b docs: Add descriptive comments for num_jugs and difficulty parameters 2025-02-20 22:39:22 +01:00
Andreas Koepf (aider)
d8dac6272c feat: Add type hints to generate_puzzle and min_moves_n functions 2025-02-20 22:38:11 +01:00
Andreas Koepf
5f985d61c5 refactor: Simplify jug puzzle dataset generation and solution verification 2025-02-20 22:38:10 +01:00
Zafir Stojanovski
67617a0a42 remove empty space 2025-02-20 22:35:53 +01:00
Zafir Stojanovski
51ea7778ee rotten oranges 2025-02-20 22:33:39 +01:00
Rich Jones
3dad5f9eca jugs jugs jugs lint 2025-02-20 16:15:29 +01:00
Rich Jones
3eef5841f6 basic jugs 2025-02-20 15:24:46 +01:00
Andreas Köpf
3adf5b6c22 Merge pull request #158 from open-thought/rich/decimalmath
Decimal Arithmetic
2025-02-20 12:35:41 +01:00
Andreas Koepf
67bf9d10cb use correct signature for CryptarithmDataset.score_answer() method 2025-02-20 11:55:32 +01:00
Andreas Köpf
c6e0e5a6a2 Merge pull request #155 from theblackcat102/cryptarithm
Cryptarithm add score_answer function
2025-02-20 11:28:03 +01:00
Rich Jones
988b093800 fix weird GoL fmt 2025-02-20 11:09:29 +01:00
theblackcat102
daa3b309f2 [fix] precommit not happy 2025-02-20 17:00:18 +08:00
theblackcat102
9c955f5b3c [feat] remove answer parsing since its already handled 2025-02-20 16:57:51 +08:00
joesharratt1229
edfe7f19b1 cleaned up caesar cipher 2025-02-19 18:11:59 +00:00
theblackcat102
c95a163ea6 [fix] normalize to <answer></answer> 2025-02-19 08:40:31 +08:00
theblackcat102
822c096e73 [fix] pre-commit fix 2025-02-18 21:48:54 +08:00
theblackcat102
e714d5e395 [feat] add test case 2025-02-18 21:45:51 +08:00
theblackcat102
0e49bd8180 Merge remote-tracking branch 'upstream/main' into cryptarithm 2025-02-18 21:34:42 +08:00
theblackcat102
3975f78343 [feat] added score_answer function 2025-02-18 21:33:14 +08:00
Zafir Stojanovski
6b0ea7a14c lint 2025-02-18 14:24:07 +01:00
Zafir Stojanovski
fd5c47d634 update generation of input string 2025-02-18 14:23:05 +01:00
Zafir Stojanovski
ed606631bb Merge branch 'main' of https://github.com/open-thought/reasoning-gym into env/palindrome-partitioning 2025-02-18 14:08:00 +01:00
Andreas Köpf
54d52ef6ae Merge pull request #147 from Adefioye/koko/question-template-tinkering
Tweaking some question templates
2025-02-17 18:22:49 +01:00
abdulhakeem
d3323b1a77 Remove python code reference in count_primes prompt 2025-02-17 10:29:14 -06:00
Zafir Stojanovski
38e8e371b6 fix prompt 2025-02-17 14:21:10 +01:00
Zafir Stojanovski
c9895f1023 fix prompt and scoring function 2025-02-17 13:17:29 +01:00
abdulhakeem
5b1e42f878 Tweaked some question templates 2025-02-17 02:58:42 -06:00
Zafir Stojanovski
a27704b44e fix template 2025-02-16 19:51:24 +01:00
Andreas Köpf
33f888dce7 Merge pull request #140 from theblackcat102/cryptarithm
New task : Verbal arithmetic
2025-02-16 16:41:44 +01:00
Andreas Koepf
b78408200c cryptarithm change defaults: size=500, include_example=True 2025-02-16 16:38:43 +01:00
Andreas Koepf
446913fee6 import CryptarithmDataset in algorithmic/__init__.py 2025-02-16 16:32:17 +01:00
Andreas Koepf
839c830c2a formatting 2025-02-16 16:30:28 +01:00
Andreas Koepf
6fae41a6e1 ensure reward is float 2025-02-16 16:27:12 +01:00
Andreas Köpf
66ddb41bbd Merge pull request #141 from joesharratt1229/feat/score-answer-impl
Added score answer implementations `spell_backward` and `sentence reordering`
2025-02-16 16:24:48 +01:00
Andreas Koepf
6bf2dfa36c formatting 2025-02-16 16:18:39 +01:00
Zafir Stojanovski
1a3e4372ef update prompt and score answer 2025-02-16 15:18:45 +01:00
joesharratt1229
35fe482c4d updated spell backward impl 2025-02-16 13:10:26 +00:00
joesharratt1229
1c930a5e23 added custom score answer func 2025-02-16 13:10:03 +00:00
theblackcat102
9fe04f7c16 [feat] add include example params 2025-02-16 20:45:19 +08:00
joesharratt1229
cc7d422d78 merged remoted
Merge remote-tracking branch 'origin/main' into feat/score-answer-impl
2025-02-16 12:03:25 +00:00
Zafir Stojanovski
4b71eb2da9 improve template 2025-02-16 11:02:51 +01:00
Ubuntu
d9b08a579e reformatted word ladder question template 2025-02-16 09:04:17 +00:00