Commit graph

191 commits

Author SHA1 Message Date
Andreas Koepf
eeb9fa31d5 more native type hints 2025-02-21 21:23:14 +01:00
Andreas Köpf
2947038557
Merge pull request #182 from zafstojano/env/binary-alternation
feat(env): Binary Alternation
2025-02-21 17:27:16 +01:00
Andreas Köpf
a6a5d30f1c
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
3e7ff3b084 use native types List->list, Dict->dict, Set->set, Tuple->tuple 2025-02-21 15:15:38 +01:00
Zafir Stojanovski
96464388bb pre-commit 2025-02-21 13:39:05 +01:00
Zafir Stojanovski
941085e0c5 binary alternation 2025-02-21 13:09:21 +01:00
Andreas Köpf
000e179781
Merge branch 'main' into env/rotten-oranges 2025-02-20 22:51:07 +01:00
Andreas Koepf
c236bcf1b6 store possible answer in entry 'answer' field 2025-02-20 22:47:21 +01:00
Andreas Koepf (aider)
9068e1d1b1 docs: Add descriptive comments for num_jugs and difficulty parameters 2025-02-20 22:39:22 +01:00
Andreas Koepf (aider)
ece040a0d0 feat: Add type hints to generate_puzzle and min_moves_n functions 2025-02-20 22:38:11 +01:00
Andreas Koepf
d7db2ed838 refactor: Simplify jug puzzle dataset generation and solution verification 2025-02-20 22:38:10 +01:00
Zafir Stojanovski
8709ec1ca3 remove empty space 2025-02-20 22:35:53 +01:00
Zafir Stojanovski
0d65bf3668 rotten oranges 2025-02-20 22:33:39 +01:00
Rich Jones
0f798457ed jugs jugs jugs lint 2025-02-20 16:15:29 +01:00
Rich Jones
6f00690ae1 basic jugs 2025-02-20 15:24:46 +01:00
Andreas Köpf
e25973b118
Merge pull request #158 from open-thought/rich/decimalmath
Decimal Arithmetic
2025-02-20 12:35:41 +01:00
Andreas Koepf
50eab616f8 use correct signature for CryptarithmDataset.score_answer() method 2025-02-20 11:55:32 +01:00
Andreas Köpf
6bbe8886e5
Merge pull request #155 from theblackcat102/cryptarithm
Cryptarithm add score_answer function
2025-02-20 11:28:03 +01:00
Rich Jones
445b63bbf2 fix weird GoL fmt 2025-02-20 11:09:29 +01:00
theblackcat102
44559aac95 [fix] precommit not happy 2025-02-20 17:00:18 +08:00
theblackcat102
407b212326 [feat] remove answer parsing since its already handled 2025-02-20 16:57:51 +08:00
joesharratt1229
9a5ed19eba cleaned up caesar cipher 2025-02-19 18:11:59 +00:00
theblackcat102
9a2e9e949e [fix] normalize to <answer></answer> 2025-02-19 08:40:31 +08:00
theblackcat102
bbc31e4291 [fix] pre-commit fix 2025-02-18 21:48:54 +08:00
theblackcat102
c612e2abc1 [feat] add test case 2025-02-18 21:45:51 +08:00
theblackcat102
f27746be17 Merge remote-tracking branch 'upstream/main' into cryptarithm 2025-02-18 21:34:42 +08:00
theblackcat102
288f632c5c [feat] added score_answer function 2025-02-18 21:33:14 +08:00
Zafir Stojanovski
4787516616 lint 2025-02-18 14:24:07 +01:00
Zafir Stojanovski
49c4115eaf update generation of input string 2025-02-18 14:23:05 +01:00
Zafir Stojanovski
525c9f6378 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
79c5e53ef0
Merge pull request #147 from Adefioye/koko/question-template-tinkering
Tweaking some question templates
2025-02-17 18:22:49 +01:00
abdulhakeem
8989bfca6c Remove python code reference in count_primes prompt 2025-02-17 10:29:14 -06:00
Zafir Stojanovski
9f5d2e474f fix prompt 2025-02-17 14:21:10 +01:00
Zafir Stojanovski
51c31e7015 fix prompt and scoring function 2025-02-17 13:17:29 +01:00
abdulhakeem
15140d06e7 Tweaked some question templates 2025-02-17 02:58:42 -06:00
Zafir Stojanovski
b47b6f94c9 fix template 2025-02-16 19:51:24 +01:00
Andreas Köpf
2bec5cdf5a
Merge pull request #140 from theblackcat102/cryptarithm
New task : Verbal arithmetic
2025-02-16 16:41:44 +01:00
Andreas Koepf
de8162dc6a cryptarithm change defaults: size=500, include_example=True 2025-02-16 16:38:43 +01:00
Andreas Koepf
172d81be8a import CryptarithmDataset in algorithmic/__init__.py 2025-02-16 16:32:17 +01:00
Andreas Koepf
c832e2a438 formatting 2025-02-16 16:30:28 +01:00
Andreas Koepf
4c47b7966f ensure reward is float 2025-02-16 16:27:12 +01:00
Andreas Köpf
c858d1f236
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
44f8d7b6af formatting 2025-02-16 16:18:39 +01:00
Zafir Stojanovski
5da45015c9 update prompt and score answer 2025-02-16 15:18:45 +01:00
joesharratt1229
86508308e2 updated spell backward impl 2025-02-16 13:10:26 +00:00
joesharratt1229
e80f44d75a added custom score answer func 2025-02-16 13:10:03 +00:00
theblackcat102
0e4b6a9026 [feat] add include example params 2025-02-16 20:45:19 +08:00
joesharratt1229
73910f0f61 merged remoted
Merge remote-tracking branch 'origin/main' into feat/score-answer-impl
2025-02-16 12:03:25 +00:00
Zafir Stojanovski
edecfef50d improve template 2025-02-16 11:02:51 +01:00
Ubuntu
316cf0dac7 reformatted word ladder question template 2025-02-16 09:04:17 +00:00