feat(core): parse Promptfoo llm-rubric results#1664
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
e1f24a0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9839a143.agentv.pages.dev |
| Branch Preview URL: | https://grading-llm-rubric-parsing.agentv.pages.dev |
bf768c6 to
e1f24a0
Compare
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
llm-rubricjudge responses shaped as{ reason, pass, score }and normalize them into AgentV grader scores.checks[]into current internal assertion entries while preserving normalized pass/score/reason indetailsfor the downstream artifact contract work.llm-rubriccustom prompts receive the authoredvaluethrough{{ rubric }}and use a Promptfoo-compatible output schema for free-form llm-rubric judging.Validation
bun test packages/core/test/evaluation/graders.test.tsbunx biome check packages/core/src/evaluation/graders/llm-grader.ts packages/core/src/evaluation/registry/builtin-graders.ts packages/core/test/evaluation/graders.test.tsbun --filter @agentv/core typecheckbun --filter @agentv/core buildbun run build(passed before the final prompt-contract adjustment; final core build passed after)Live Dogfood
LOCAL_OPENAI_PROXY_BASE_URL=http://127.0.0.1:10531/v1 LOCAL_OPENAI_PROXY_API_KEY=dummy-local-key LOCAL_OPENAI_PROXY_MODEL=gpt-5.4-mini bun apps/cli/src/cli.ts eval run .agentv/results/av-kfik-28-3-dogfood/eval.yaml --targets .agentv/results/av-kfik-28-3-dogfood/targets.yaml --target local-openai --grader-target local-openai --workers 1 --threshold 0.8 --output .agentv/results/av-kfik-28-3-dogfood-finalEntityProcess/agentv-private:evidence/av-kfik-28-3-llm-rubric-parsingat commitf961c63.Post-Deploy Monitoring & Validation
Notes
assertion_resultsto the finalgraders/checksshape; that remains inav-kfik.28.6.ce-code-reviewdispatch unavailable in this Codex session; performed manual diff scan and fixed a checks-only aggregate edge case before final validation.