From 6e7add085f28f15edc7749d77b32984cc9be1b9d Mon Sep 17 00:00:00 2001 From: sergiopaniego Date: Wed, 25 Nov 2026 17:20:45 +0100 Subject: [PATCH 1/3] Fix external links that no longer resolve - torchforge moved from pytorch-labs to meta-pytorch. - MiniWoB++ tasks now live in miniwob/html/miniwob on main. - RESCO is maintained at Pi-Star-Lab/RESCO. - FinQABenchmark is gone from GitHub, link the snorkelai/finqa-data dataset the environment already downloads. - verifiers removed usage_utils.py, link StateUsageTracker at the last commit that has it. --- docs/source/environments/browsergym.md | 2 +- docs/source/environments/finqa.md | 2 +- docs/source/environments/qed_math.md | 2 +- docs/source/environments/sumo.md | 2 +- docs/source/tutorials/rubrics.md | 2 +- envs/browsergym_env/README.md | 2 +- envs/finqa_env/README.md | 2 +- envs/qed_math_env/README.md | 2 +- envs/sumo_rl_env/README.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/source/environments/browsergym.md b/docs/source/environments/browsergym.md index fc7702ef67..43fbb6a210 100644 --- a/docs/source/environments/browsergym.md +++ b/docs/source/environments/browsergym.md @@ -224,7 +224,7 @@ Enterprise software automation tasks: - Business workflows **Full task lists:** -- [MiniWoB++ tasks](https://github.com/Farama-Foundation/miniwob-plusplus/tree/master/miniwob/environment) +- [MiniWoB++ tasks](https://github.com/Farama-Foundation/MiniWoB-plusplus/tree/main/miniwob/html/miniwob) - [WebArena tasks](https://github.com/web-arena-x/webarena/blob/main/config_files/) - [BrowserGym documentation](https://github.com/ServiceNow/BrowserGym) diff --git a/docs/source/environments/finqa.md b/docs/source/environments/finqa.md index e5e4fa14f2..dad6c901c2 100644 --- a/docs/source/environments/finqa.md +++ b/docs/source/environments/finqa.md @@ -3,7 +3,7 @@ A financial question-answering environment for RL training. Evaluates LLMs on their ability to answer complex financial questions using tool calls on SEC 10-K filing data. -Based on [FinQABenchmark](https://github.com/snorkel-ai/FinQABenchmark) from Snorkel AI. +Based on Snorkel AI's FinQA benchmark ([`snorkelai/finqa-data`](https://huggingface.co/datasets/snorkelai/finqa-data)). ## Overview diff --git a/docs/source/environments/qed_math.md b/docs/source/environments/qed_math.md index 36d66f91a6..63bf09f38f 100644 --- a/docs/source/environments/qed_math.md +++ b/docs/source/environments/qed_math.md @@ -234,7 +234,7 @@ For answer-mode problems (`evaluation_mode: "answer"`), grading is routed throug ### Harness-injected token count -Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/main/verifiers/utils/usage_utils.py) pattern from PrimeIntellect/verifiers: +Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/fd495e5c4784a62cbed112fe8611c690f85a4f0c/verifiers/utils/usage_utils.py#L22) pattern from PrimeIntellect/verifiers: ```python # Training harness (pseudocode) diff --git a/docs/source/environments/sumo.md b/docs/source/environments/sumo.md index 727d1d9435..bb78f1ba25 100644 --- a/docs/source/environments/sumo.md +++ b/docs/source/environments/sumo.md @@ -322,7 +322,7 @@ export SUMO_HOME=/usr/share/sumo - [SUMO Documentation](https://sumo.dlr.de/docs/) - [SUMO-RL GitHub](https://github.com/LucasAlegre/sumo-rl) - [SUMO-RL Paper](https://peerj.com/articles/cs-575/) -- [RESCO Benchmarks](https://github.com/jault/RESCO) +- [RESCO Benchmarks](https://github.com/Pi-Star-Lab/RESCO) ## Citation diff --git a/docs/source/tutorials/rubrics.md b/docs/source/tutorials/rubrics.md index 064b1267a9..5c64603797 100644 --- a/docs/source/tutorials/rubrics.md +++ b/docs/source/tutorials/rubrics.md @@ -352,7 +352,7 @@ That snippet works for *any* OpenEnv environment that sets `self.rubric`, regard Training frameworks consume the reward through the same channel as any other OpenEnv observation field: `step()` returns an `Observation` whose `reward` is the rubric's output, and the client delivers it via `result.reward`. -With [TRL](https://huggingface.co/docs/trl/main/en/openenv), the recommended path is `GRPOTrainer`'s `environment_factory`: you define a thin wrapper class with tool methods that call the OpenEnv client, store `self.reward = result.observation.reward` after each step, and a plain reward function reads it off the `environments` parameter. The [TRL OpenEnv integration guide](https://huggingface.co/docs/trl/main/en/openenv) has the full recipe, and TRL's [`examples/`](https://github.com/huggingface/trl/tree/main/examples) folder ships ready-to-run OpenEnv scripts (`grpo_wordle`, `grpo_catch`, `grpo_sudoku`, ...). The same observation shape works with [torchforge](https://github.com/pytorch-labs/torchforge) and other OpenEnv-compatible training stacks. +With [TRL](https://huggingface.co/docs/trl/main/en/openenv), the recommended path is `GRPOTrainer`'s `environment_factory`: you define a thin wrapper class with tool methods that call the OpenEnv client, store `self.reward = result.observation.reward` after each step, and a plain reward function reads it off the `environments` parameter. The [TRL OpenEnv integration guide](https://huggingface.co/docs/trl/main/en/openenv) has the full recipe, and TRL's [`examples/`](https://github.com/huggingface/trl/tree/main/examples) folder ships ready-to-run OpenEnv scripts (`grpo_wordle`, `grpo_catch`, `grpo_sudoku`, ...). The same observation shape works with [torchforge](https://github.com/meta-pytorch/torchforge) and other OpenEnv-compatible training stacks. `named_rubrics()` is orthogonal: use it to **log per-component scores** (to Weights & Biases, TensorBoard, trackio, …) while training, without changing the reward the optimiser sees. diff --git a/envs/browsergym_env/README.md b/envs/browsergym_env/README.md index 2c50955c88..d27a71d679 100644 --- a/envs/browsergym_env/README.md +++ b/envs/browsergym_env/README.md @@ -239,7 +239,7 @@ Enterprise software automation tasks: - Business workflows **Full task lists:** -- [MiniWoB++ tasks](https://github.com/Farama-Foundation/miniwob-plusplus/tree/master/miniwob/environment) +- [MiniWoB++ tasks](https://github.com/Farama-Foundation/MiniWoB-plusplus/tree/main/miniwob/html/miniwob) - [WebArena tasks](https://github.com/web-arena-x/webarena/blob/main/config_files/) - [BrowserGym documentation](https://github.com/ServiceNow/BrowserGym) diff --git a/envs/finqa_env/README.md b/envs/finqa_env/README.md index 809f738064..a481cd4735 100644 --- a/envs/finqa_env/README.md +++ b/envs/finqa_env/README.md @@ -17,7 +17,7 @@ tags: A financial question-answering environment for RL training. Evaluates LLMs on their ability to answer complex financial questions using tool calls on SEC 10-K filing data. -Based on [FinQABenchmark](https://github.com/snorkel-ai/FinQABenchmark) from Snorkel AI. +Based on Snorkel AI's FinQA benchmark ([`snorkelai/finqa-data`](https://huggingface.co/datasets/snorkelai/finqa-data)). ## Overview diff --git a/envs/qed_math_env/README.md b/envs/qed_math_env/README.md index 0f9d97b39b..3b3f87009c 100644 --- a/envs/qed_math_env/README.md +++ b/envs/qed_math_env/README.md @@ -249,7 +249,7 @@ For answer-mode problems (`evaluation_mode: "answer"`), grading is routed throug ### Harness-injected token count -Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/main/verifiers/utils/usage_utils.py) pattern from PrimeIntellect/verifiers: +Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/fd495e5c4784a62cbed112fe8611c690f85a4f0c/verifiers/utils/usage_utils.py#L22) pattern from PrimeIntellect/verifiers: ```python # Training harness (pseudocode) diff --git a/envs/sumo_rl_env/README.md b/envs/sumo_rl_env/README.md index cb279b0201..bc40efd090 100644 --- a/envs/sumo_rl_env/README.md +++ b/envs/sumo_rl_env/README.md @@ -334,7 +334,7 @@ export SUMO_HOME=/usr/share/sumo - [SUMO Documentation](https://sumo.dlr.de/docs/) - [SUMO-RL GitHub](https://github.com/LucasAlegre/sumo-rl) - [SUMO-RL Paper](https://peerj.com/articles/cs-575/) -- [RESCO Benchmarks](https://github.com/jault/RESCO) +- [RESCO Benchmarks](https://github.com/Pi-Star-Lab/RESCO) ## Citation From c78e27f5cc3332c8d1c37b078e2591b910daac36 Mon Sep 17 00:00:00 2001 From: sergiopaniego Date: Wed, 25 Nov 2026 17:27:35 +0100 Subject: [PATCH 2/3] Point the DIPG README to the bundled sample dataset The Harmonic-Reasoner dataset it linked is no longer on the Hub. The server already falls back to data/sample_dataset.jsonl, and DIPG_DATASET_PATH still selects a full dataset. --- docs/source/environments/dipg.md | 2 +- envs/dipg_safety_env/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/environments/dipg.md b/docs/source/environments/dipg.md index 4393a08828..4595cabf86 100644 --- a/docs/source/environments/dipg.md +++ b/docs/source/environments/dipg.md @@ -50,7 +50,7 @@ The `DIPGSafetyEnv` follows a standard client-server model. ### 1. Running the Server -The server requires the custom synthetic dataset (`harmonic_reasoner_dataset_structured.jsonl`). You can download it from [here](https://huggingface.co/datasets/dvitel/Harmonic-Reasoner/resolve/main/harmonic_reasoner_dataset_structured.jsonl). +By default the server loads the sample dataset bundled with the environment (`data/sample_dataset.jsonl`). To use a full dataset in the same JSONL format, set `DIPG_DATASET_PATH` (see below). The original `harmonic_reasoner_dataset_structured.jsonl` is no longer published on the Hugging Face Hub. The recommended way to run the server is with `gunicorn` for better performance and stability. The server is highly configurable via environment variables to support different reward schemes. diff --git a/envs/dipg_safety_env/README.md b/envs/dipg_safety_env/README.md index 250b3d6848..471c24dd68 100644 --- a/envs/dipg_safety_env/README.md +++ b/envs/dipg_safety_env/README.md @@ -62,7 +62,7 @@ The `DIPGSafetyEnv` follows a standard client-server model. ### 1. Running the Server -The server requires the custom synthetic dataset (`harmonic_reasoner_dataset_structured.jsonl`). You can download it from [here](https://huggingface.co/datasets/dvitel/Harmonic-Reasoner/resolve/main/harmonic_reasoner_dataset_structured.jsonl). +By default the server loads the sample dataset bundled with the environment (`data/sample_dataset.jsonl`). To use a full dataset in the same JSONL format, set `DIPG_DATASET_PATH` (see below). The original `harmonic_reasoner_dataset_structured.jsonl` is no longer published on the Hugging Face Hub. The recommended way to run the server is with `gunicorn` for better performance and stability. The server is highly configurable via environment variables to support different reward schemes. From 0fe2b6721d1e834791f747df5339b08ef2bd2f8c Mon Sep 17 00:00:00 2001 From: sergiopaniego Date: Wed, 25 Nov 2026 17:45:12 +0100 Subject: [PATCH 3/3] Use a generic dataset path in the DIPG example --- docs/source/environments/dipg.md | 2 +- envs/dipg_safety_env/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/environments/dipg.md b/docs/source/environments/dipg.md index 4595cabf86..7994524b55 100644 --- a/docs/source/environments/dipg.md +++ b/docs/source/environments/dipg.md @@ -59,7 +59,7 @@ The recommended way to run the server is with `gunicorn` for better performance pip install gunicorn # Set the dataset path environment variable -export DIPG_DATASET_PATH=/path/to/your/harmonic_reasoner_dataset_structured.jsonl +export DIPG_DATASET_PATH=/path/to/your/dataset.jsonl # Run the server with the V3 "format-first" reward configuration export EXACT_FORMAT_REWARD=10.0 diff --git a/envs/dipg_safety_env/README.md b/envs/dipg_safety_env/README.md index 471c24dd68..2825636d69 100644 --- a/envs/dipg_safety_env/README.md +++ b/envs/dipg_safety_env/README.md @@ -71,7 +71,7 @@ The recommended way to run the server is with `gunicorn` for better performance pip install gunicorn # Set the dataset path environment variable -export DIPG_DATASET_PATH=/path/to/your/harmonic_reasoner_dataset_structured.jsonl +export DIPG_DATASET_PATH=/path/to/your/dataset.jsonl # Run the server with the V3 "format-first" reward configuration export EXACT_FORMAT_REWARD=10.0