Skip to content

chore: migrate off v0 logic-env/math-env to v1 tasksets#2999

Draft
mikasenghaas wants to merge 2 commits into
mainfrom
chore/drop-v0-logic-math-env
Draft

chore: migrate off v0 logic-env/math-env to v1 tasksets#2999
mikasenghaas wants to merge 2 commits into
mainfrom
chore/drop-v0-logic-math-env

Conversation

@mikasenghaas

@mikasenghaas mikasenghaas commented Jul 11, 2026

Copy link
Copy Markdown
Member

Summary

Companion to PrimeIntellect-ai/research-environments#653 (the v0→v1 migration, which deletes the v0 envs). Moves prime-rl off the v0 logic-env / math-env so it keeps building once deps/research-environments is re-pinned past their deletion.

  • Removed the v0 logic-env and math-env editable path deps (from the envs list and [tool.uv.sources]) + relock. math-env-v1 stays; only the v0 envs go.
  • Migrated the standalone math training configs to v1 env sections (taskset + null harness + subprocess runtime; drops the v0-only math_verify_max_workers):
    • configs/gsm8k/rl.tomlgsm8k-v1 (from verifiers)
    • configs/hendrycks_math, configs/nemotron_debug, configs/nemotron_4node, examples/multinodemath-env-v1 (Hendrycks, math_verify_timeout=60 preserved)
    • configs/debug/hendrycks_sanity, examples/hendrycks_sanitymath-env-v1 (sanity dataset)

Why gsm8k/Hendrycks → math-env-v1 but not the others

math-env-v1 is the Hendrycks-Math taskset; v0 math-env's default is INTELLECT-3-RL math with difficulty filtering — a different env. Configs that passed an explicit Hendrycks/gsm8k dataset migrate cleanly; configs that relied on the INTELLECT-3-RL default do not map to math-env-v1.

Remaining before this can merge (staged on #653)

qwen30b_math and examples/Intellect-3.1 use v0 math-env's INTELLECT-3-RL default (and Intellect-3.1 also uses v0 logic-env). Their correct v1 targets are i3_math_v1 (being added in #653, parallel to i3_logic_v1) and i3_logic_v1 — neither is in prime-rl's pinned submodule yet. So this PR stays draft until #653 merges, after which it will also:

  1. bump deps/research-environments to include chore(readme): fix fake command #653,
  2. add i3-math-v1 + i3-logic-v1 path deps,
  3. migrate qwen30b_math (→ i3_math_v1) and examples/Intellect-3.1 (→ i3_math_v1 + i3_logic_v1), and relock.

These v0 environments are being removed from research-environments in favor of
their v1 tasksets (logic-env -> i3_logic_v1, math-env -> math-env-v1, the latter
already wired here). Remove the v0 editable path deps + relock so the build
doesn't break when deps/research-environments is re-pinned past their deletion.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4cb47aa. Configure here.

Comment thread pyproject.toml
"ifeval-v1",
"lean-v1",
"livecodebench-v1",
"logic-env",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configs still reference removed envs

Medium Severity

Dropping logic-env and math-env from the envs extra leaves many in-repo configs and examples still declaring id = "math-env" or id = "logic-env". After uv sync --extra envs, those runs fail to resolve the packages. math-env-v1 is already available as a successor, so the math configs are left pointing at a removed dep.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4cb47aa. Configure here.

Move the training configs that used the v0 math-env on an explicit dataset to
v1 env sections: gsm8k -> gsm8k-v1 (verifiers), and the Hendrycks/sanity configs
-> math-env-v1 (task-facing math_verify_timeout preserved where set). All use the
`null` harness + subprocess runtime. Drops the v0-only math_verify_max_workers.

qwen30b_math and examples/Intellect-3.1 use the v0 math-env DEFAULT (INTELLECT-3-RL
math), so they migrate to i3_math_v1 instead — deferred to the submodule bump.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mikasenghaas mikasenghaas changed the title chore: drop v0 logic-env and math-env deps chore: migrate off v0 logic-env/math-env to v1 tasksets Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant