-
Notifications
You must be signed in to change notification settings - Fork 210
Complete Environment Snapshot & Zero-Training sections #306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
carabistouflette
wants to merge
18
commits into
NousResearch:main
Choose a base branch
from
carabistouflette:verifiers
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…it's needed for flake8
Author
|
pre-commit.ci seems to be complaining about a comment in |
Updated verifiers dependency version in pyproject.toml.
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.
PR Type
📝 General Information
Description
This PR continues the work started in PR #258 to create a Verifiers Environment (VerifiersEnv) that integrates the external verifiers library into the Atropos ecosystem.
Key Changes:
environments/toatroposlib/envs/to align with the project's module structure.verifiersdependency, defensive checks for empty API responses andNonecontent, and division-by-zero protection for reward weight normalization.percent_correctand cumulative accuracy metrics for Weights & Biases logging.reward_thresholdconfig option for binary reward conversion._call_reward_funcwrapper to handle API differences acrossverifiersversions.test_verifiers.py) covering initialization, trajectory collection, and item fetching.Related Issues
Continues PR #258
Type of Change
🔖 Environment Snapshot
VerifiersEnvverifierslibrary ecosystem.verifierslibrary dynamically)verifiers(pip install verifiers)🧪 Zero-Training Test Results
Details
W&B Link: N/A - Requires external
verifierspackage with specific environment configuration.Examples of the Environment scoring a good example and a bad example:
Tested via unit tests in
test_verifiers.py. Mocked environment correctly scores valid responses with 1.0 and handles empty/error responses gracefully.✅ Developer & Reviewer Checklist