Conversation
…-from-prompt_renderer-examples # Conflicts: # verifiers/rl/trainer/trainer.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
openenv_projectpath configuration and assuming the templateproj/layout.**kwargsfrom example signatures.Description
OpenEnvEnv.openenv_projectoptional (openenv_project: str | Path | None = None) and add_resolve_openenv_projectto inferproj/next to the calling environment module with acwd/projfallback.verifiers/scripts/init.py) to removefrom pathlib import Path, drop**kwargsfrom therender_promptexample, and stop showing an explicitopenenv_projectargument.verifiers/envs/integrations/README.md) to rely on the defaultproj/layout and use the simplifiedrender_prompt(observation)signature.environments/openenv_echo/*,environments/openenv_textarena/*) to remove unused**kwargsand stop passingopenenv_project=Path(__file__).parent / "proj"so they follow the new default behavior.Testing
python -m compileall -q verifiers/envs/integrations/openenv_env.py verifiers/scripts/init.py environments/openenv_echo/openenv_echo.py environments/openenv_textarena/openenv_textarena.pywhich completed successfully.ruff check verifiers/envs/integrations/openenv_env.py verifiers/scripts/init.py environments/openenv_echo/openenv_echo.py environments/openenv_textarena/openenv_textarena.pywhich reported no issues.Codex Task
Note
Medium Risk
Changes how
OpenEnvEnvlocates the OpenEnv project directory via stack inspection, which could affect runtime path resolution in some call patterns; otherwise this is mostly docs/template/example cleanup.Overview
OpenEnv environments no longer need to pass an explicit
openenv_projectpath:OpenEnvEnvnow acceptsopenenv_project=Noneand infers the defaultproj/directory next to the calling environment module (falling back tocwd/proj).OpenEnv onboarding docs and templates were updated to match this default and to simplify
prompt_rendererexamples by dropping unused**kwargs; bundled example envs (openenv_echo,openenv_textarena) were updated similarly.Written by Cursor Bugbot for commit 6ae3273. This will update automatically on new commits. Configure here.