Repository navigation
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
|
🌿 Preview your docs: https://nvidia-preview-ansubramania-verify-response-echo-contract.docs.buildwithfern.com/nemo/gym Here are the markdown pages you've updated: |
ananthsub
force-pushed
the
ansubramania/verify-response-echo-contract
branch
from
August 24, 2026 05:16
8fd594a to
d78ce73
Compare
ananthsub
marked this pull request as ready for review
August 24, 2026 05:18
Document that verify must return body.response unchanged. Fixture tests now reject verifiers that mutate, omit, or replace the response because downstream code must receive the same response that the verifier scored. Signed-off-by: Ananth Subramaniam <[email protected]>
ananthsub
force-pushed
the
ansubramania/verify-response-echo-contract
branch
from
August 24, 2026 05:18
d78ce73 to
c2a5b8a
Compare
Contributor
Author
30 tasks
This was referenced Sep 8, 2026
This was referenced Oct 22, 2026
yaoyu-33
marked this pull request as draft
November 18, 2026 02:15
Contributor
|
We’re doing some cleanup of the open PR list. This PR has had no activity for over a month, so I’ve moved it back to draft. If this change is still needed, please resolve any merge conflicts and mark the PR ready for review again when it’s ready to merge. Thanks! |
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.
What does this PR do?
A resources server receives the completed agent response in
body.response, calculates a reward, and returns a verification result. This PR documents and tests that the result must contain the same response that was passed to the verifier.When a resources server is tested through
VerifierFixture, the test now:request.responsebefore callingverify().verify()mutates the request response.responsefield.The response returned by
verify()becomes part of the completed/runresult and the persisted rollout. Re-verification must score that same response again. Model-call attribution must also match that response to the model call that produced it. Replacing the response insideverify()would mean that the verifier scored one object while downstream code received another.Scope
This is a test-time check for resources servers that export and run a
VerifierFixture. It does not change runtime verification and does not enforce the requirement across resources servers that do not yet provide a fixture.A verifier that needs derived diagnostics should add separate fields to its verification result. Sanitization or redaction should happen before verification so the verifier scores and returns the same normalized response. If a workflow intentionally returns a different response, it needs an explicit attribution and re-verification design rather than silently replacing
response.terminus_judgesanitizes lone Unicode surrogates but preserves normal responses. Lone-surrogate responses cannot be stored by the token capture path, so they are already unusable for training.Checklist
pre-commit run --all-files) (so CI lint/format/copyright pass).git commit -s) (so the DCO check passes).