fix(pipeline): grade built-in deterministic assertions in subagent mode#1085
Merged
fix(pipeline): grade built-in deterministic assertions in subagent mode#1085
Conversation
pipeline grade now evaluates contains, regex, equals, starts-with, ends-with, is-json, and other built-in assertion types against response.md. Previously these were silently ignored, producing score: 0 for tests with only deterministic assertions. Closes #1075 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying agentv with
|
| Latest commit: |
729b85c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a33d76a4.agentv.pages.dev |
| Branch Preview URL: | https://fix-1075-builtin-graders.agentv.pages.dev |
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.
Summary
pipeline inputnow writes built-in deterministic assertion configs (contains, regex, equals, etc.) tobuiltin_graders/directory alongside existingcode_graders/andllm_graders/pipeline gradeevaluates these built-in assertions in-process againstresponse.mdand writes results tocode_grader_results/sopipeline benchmerges them into the final scorepipeline benchreads thetypefield from result JSON instead of hardcoding'code-grader', preserving the original assertion type in outputRed/Green Evidence
Red (main) — builtin assertions silently ignored:
Green (this branch) — builtin assertions evaluated correctly:
Test plan
Closes #1075
🤖 Generated with Claude Code