Skip to content

fix(grader): select grader providers from shared pool - #1718

Merged
christso merged 2 commits into
mainfrom
av-qvv9-provider-grader-selection
Jul 7, 2026
Merged

fix(grader): select grader providers from shared pool#1718
christso merged 2 commits into
mainfrom
av-qvv9-provider-grader-selection

Conversation

@christso

@christso christso commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Provider-based graders now resolve from the same providers pool as candidate providers, so eval authors can select grader providers with defaults.grader, default_test.options.provider, tests[].options.provider, or assertion-level provider without reviving top-level graders:.

This keeps candidate selection separate from grader selection: AgentV no longer falls back to grading with the first candidate provider, and agent providers now fail clearly when an LLM-backed assertion has no usable grader provider. Eval-authored defaults.provider and defaults.grader are also carried through the CLI path so external eval files do not accidentally inherit a repo-local grader default.

Task bundles now include referenced grader providers alongside candidate providers, so reruns and result artifacts remain self-contained when a case uses a separate grader provider.

Validation

  • bun test packages/core/test/evaluation/grader-provider-selection.test.ts packages/core/test/evaluation/loaders/grader-parser.test.ts packages/core/test/evaluation/orchestrator.test.ts apps/cli/test/commands/eval/task-bundle.test.ts packages/core/test/evaluation/eval-inline-experiment.test.ts
  • bun test packages/core/test/evaluation/loaders/config-loader.test.ts apps/cli/test/commands/eval/run-command-options.test.ts
  • bun --filter @agentv/core typecheck
  • bun --filter @agentv/core build
  • bun --filter agentv typecheck
  • bunx biome check ...touched files...
  • Live dogfood against http://127.0.0.1:10531/v1: 1/1 passing, with tests[].options.provider selecting live-test-grader over defaults.grader.

Evidence

Private evidence branch: agentv-private:evidence/av-qvv9-provider-grader-selection

Key path: evidence/av-qvv9-provider-grader-selection/results/grading.json records the assertion target as live-test-grader.

Post-Deploy Monitoring & Validation

No additional operational monitoring required. This changes local eval parsing, provider selection, and CLI artifact bundling behavior; CI plus targeted live dogfood are the relevant validation gates.

Review Notes

The ce-code-review multi-agent path was skipped because the harness only permits spawning subagents when the user explicitly requests delegation. I completed a manual diff scan with no blocking findings.

Related

Related: av-qvv9


Compound Engineering
GPT-5

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 7, 2026

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 207ea93
Status: ✅  Deploy successful!
Preview URL: https://10905abe.agentv.pages.dev
Branch Preview URL: https://av-qvv9-provider-grader-sele.agentv.pages.dev

View logs

@christso
christso merged commit a096dd1 into main Jul 7, 2026
9 checks passed
@christso
christso deleted the av-qvv9-provider-grader-selection branch July 7, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant