Repository navigation
Add verl ReTool example with E2B code execution - #184
Draft
max-sudolabs wants to merge 1 commit into
Draft
max-sudolabs wants to merge 1 commit into
max-sudolabs wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Adds
examples/verl-retool-python: three scripted ReTool trajectories (a direct answer, a fix after aNameError, a deliberately wrong answer) run through the verl ReTool recipe's E2B tool and scored by the recipe's owncompute_score. No GPU or model; the script runs the trajectories concurrently through a pool of two sandboxes and prints a receipt with rewards, call counts and leftover sandboxes.verl-retool.yml) runs ruff and the offline tests only; the root example runner excludes this example because it creates its own sandboxes.Validation: from a clean copy,
uv sync --locked, offline tests and ruff pass; the README live command gave rewards 1.0 / 1.0 / -0.9 with 16 calls on 2 sandboxes and 0 left after cleanup.TODO before ready for review: after the recipe PR merges, set
RECIPE_COMMITinget_recipe.shto the merge commit. CI fails until then.