Commit graph

927 commits

Author SHA1 Message Date
Rich Jones
2cb395ba30 polish readme a bit 2025-02-21 15:04:04 +01:00
Andreas Koepf
bedee59616 fix jugs unit test 2025-02-20 23:09:46 +01:00
Andreas Koepf
f1daa8d1da update GALLERY.my, bump version 2025-02-20 23:03:54 +01:00
Andreas Köpf
cd1a989530
Merge pull request #177 from zafstojano/env/rotten-oranges
feat(env): Rotten Oranges
2025-02-20 22:51:14 +01:00
Andreas Köpf
000e179781
Merge branch 'main' into env/rotten-oranges 2025-02-20 22:51:07 +01:00
Andreas Köpf
a8ce2747c1
Merge pull request #172 from open-thought/rich/jugs
Add Water Jug Puzzles
2025-02-20 22:48:12 +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
Andreas Köpf
994ffa8459
Merge pull request #170 from open-thought/rich/needle
Adds Needle in a Haystack problems
2025-02-20 22:12:47 +01:00
Rich Jones
2188c53308 wiggle imports 2025-02-20 16:23:40 +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
Rich Jones
39b739917e move assert to config 2025-02-20 12:45:09 +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
Rich Jones
2eaffb9837 lint 2025-02-20 12:29:12 +01:00
Rich Jones
621c20d8d8 adds Needle in a Haystack problems 2025-02-20 12:28:30 +01:00
Rich Jones
0b7c221cb6
type hints
blind roboting
2025-02-20 12:10:28 +01:00
Andreas Koepf
147088051d exclude PropositionalLogicDataset from auto-import (needs to be improved) 2025-02-20 12:08:48 +01:00
Andreas Koepf
50eab616f8 use correct signature for CryptarithmDataset.score_answer() method 2025-02-20 11:55:32 +01:00
Andreas Köpf
8b03bf6a92
Merge pull request #169 from AhmedSaif2/products
Add allow-negation in products dataset
2025-02-20 11:30:21 +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
Andreas Köpf
f9f3cc518b
Merge pull request #168 from zafstojano/fix/contributing-docs
fix(docs): CONTRIBUTING.md
2025-02-20 11:26:13 +01:00
Rich Jones
a9bbdd292a rc gallery format 2025-02-20 11:26:05 +01:00
Rich Jones
445b63bbf2 fix weird GoL fmt 2025-02-20 11:09:29 +01:00
ahmedsaif
14b2f1f99d Add allow-negation in products dataset 2025-02-20 12:01:09 +02:00
Rich Jones
da9b215278 add to init 2025-02-20 10:51:00 +01:00
Rich Jones
0f965c157f Merge branch 'rich/decimalmath' of github.com:open-thought/reasoning-gym into rich/decimalmath 2025-02-20 10:46:13 +01:00
Rich Jones
556860d5b1 add random paren grouping 2025-02-20 10:46:01 +01:00
Rich Jones
edba52d2a2
Merge branch 'main' into rich/decimalmath 2025-02-20 10:07:28 +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
Zafir Stojanovski
d557b1b4f9 contribution updates 2025-02-20 09:54:26 +01:00
Andreas Köpf
6cd8da9338
Merge pull request #166 from joesharratt1229/fix/envs
Fix/envs
2025-02-20 00:40:27 +01:00
Andreas Köpf
47edc62de8
Merge pull request #167 from vncntt/decimal_chain_sum
Register decimal chain sum
2025-02-20 00:37:56 +01:00
vncntt
992896af29
Merge branch 'open-thought:main' into decimal_chain_sum 2025-02-19 15:31:20 -08:00
vncntt
cdcd79ae2b register decimal_chain_sum 2025-02-19 15:30:30 -08:00
Andreas Köpf
1cf44267f3
Merge pull request #164 from vncntt/decimal_chain_sum
decimal_chain_sum
2025-02-20 00:14:23 +01:00
vncntt
83e5e92126 decimal refactor 2025-02-19 14:46:27 -08:00
Andreas Koepf
4201c7a9b0 update GALLERY.md 2025-02-19 22:45:50 +01:00
Andreas Köpf
e2702092f4
reasoning-gym-server & cli tool (#154)
* feat: Add initial server structure with configuration, registry, and middleware

* feat: Add chain_sum dataset to experiment registry test

* fix: Update test_registry to use DatasetSpec for composite config validation

* refactor: Update Pydantic config to use json_schema_extra and ConfigDict

* feat: Add Pydantic models for API request/response data

* feat: Implement basic experiment management endpoints with tests

* feat: Implement composite configuration endpoints for experiments

* fix: Add missing DatasetConfigUpdate import in server.py

* refactor: Update dataset config update method to properly merge config updates

* fix: Correctly retrieve current dataset config in composite endpoint

* feat: Add basic CLI structure with experiments and config commands

* feat: Add initial CLI tool with basic experiment management commands

* refactor: Reorganize CLI package structure and fix import paths

* refactor: Implement initial CLI commands for experiment management

* feat: Implement HTTP client for Reasoning Gym server in RGC CLI tool

* fix: Move print statements inside try block to resolve SyntaxError

* fix: Resolve SyntaxError in edit_config function by adding missing except block

* feat: Add default app instance in server module for easier uvicorn startup

* docs: Add README.md with server and RGC tool documentation

* remove unused files

* refactor: Remove unsupported type annotation in registry.py

* refactor: Move ExperimentRegistry to coaching module and add Experiment class

* fix: Add missing CompositeDataset import in test_registry.py

* refactor: Implement lazy ASGI app creation for server initialization

* feat: Add health check command to RGC CLI for server connection

* feat: Add version tracking support to CompositeDataset

* feat: Add DatasetVersionManager for tracking dataset versions

* feat: Add entry_id metadata and score_answer_with_id method to CompositeDataset

* feat: Add entry_id metadata combining version and index

* fix: Resolve undefined variable by storing version_id before use

* test: Add comprehensive unit tests for score_answer_with_id() function

* test: Add comprehensive version tracking test for dataset config updates

* feat: Validate dataset weights are positive in CompositeDataset initialization

* feat: Add weight update and normalization methods to CompositeDataset

* refactor: Centralize weight normalization in CompositeDataset and allow zero-weight datasets

* feat: Add negative weight validation to CompositeDataset constructor

* feat: Add duplicate dataset name check in CompositeDataset and update test

* refactor: Move duplicate dataset name check inside dataset iteration loop

* refactor: Update CompositeDataset weight management to use config as source of truth

* refactor: Move duplicate dataset name check to CompositeConfig.validate()

* test: Update composite dataset weight test assertions and validation

* feat: Add methods to add and remove datasets in CompositeDataset

* refactor: Remove weight normalization and use unnormalized weights directly

* refactor: Remove redundant total weight check in update_dataset_weights

* feat: Add batch generation and scoring endpoints to server

* fix: Import BatchEntry in server.py to resolve undefined name error

* refactor: Update ReasoningGymDataset to use server for batch generation and scoring

* fix: Add missing List and Dict type imports

* feat: Add get_batch() and score_outputs() methods to RGClient

* test: Add unit tests for generate_batch and score_outputs endpoints

* refactor: Add DatasetVersionManager to Experiment class and CompositeDataset constructor

* feat: Add validation for base_index and batch_size in generate_batch endpoint

* refactor: Remove unused BatchRequest type from imports

* refactor: Convert models to use Pydantic exclusively

* test: Update scoring endpoint tests to use correct request model format

* refactor: Rename ScoreItem to AnswerItem and update related code

* feat: Update scoring endpoint to return ordered ScoringResponse with scores and entry_ids

* fix: Add missing ScoringResponse import in server.py

* move verl ppo sample with server into own file

* refactor: Use Pydantic models for get_batch() and score_outputs() in RGClient

* refactor: Update client methods to use Pydantic models for type safety

* refactor: Use Pydantic models for experiment and dataset config operations

* refactor: Clean up duplicate methods and improve error handling in main.py

* first bits of rg server use for verl

* refactor: Optimize scoring with single HTTP request in _score_output

* fix: Correct experiment creation with ExperimentCreate object

* grpo tests with server
2025-02-19 22:41:33 +01:00
Andreas Köpf
bec6aefd11
Merge pull request #165 from zafstojano/feat/number-formats
feat(env): Number Formats
2025-02-19 21:51:14 +01:00
joesharratt1229
a4419d6e4b adjusted geom prompt 2025-02-19 19:52:18 +00:00
joesharratt1229
ab44ec6fdd updated geometry 2025-02-19 18:38:36 +00:00
joesharratt1229
831822e899 added zebra 2025-02-19 18:13:03 +00:00
joesharratt1229
52cfca5f73 added colour cube score answer impl 2025-02-19 18:12:31 +00:00
joesharratt1229
9a5ed19eba cleaned up caesar cipher 2025-02-19 18:11:59 +00:00