Skip to content

refactor(servers): migrate verifier completion - #5676

Draft
giuliolovisotto wants to merge 1 commit into
glovisotto/derived-verification-completionfrom
glovisotto/verifier-completion-servers
Draft

giuliolovisotto wants to merge 1 commit into
glovisotto/derived-verification-completionfrom
glovisotto/verifier-completion-servers

Conversation

@giuliolovisotto

@giuliolovisotto giuliolovisotto commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Part 2 of 2, stacked on #5670. Rebased on the updated core branch after #5129 merged. Review this PR against its base branch to see only the server migration.

Migrate server completion declarations to the shared invocation-derived projection. Apply explicit zero-score decisions as observed grading operations, retain the agent failure separately, and persist shared classification/action decisions. Agent-budget timeout defaults to count_as_zero, with policy overrides preserved. Reported context-limit failures go to verification instead of remaining ungraded. These defaults can change scores and denominators compared with earlier runs; the defaults table and compatibility note are updated. Activate these defaults alongside the environment consumers that implement them.

The shared response-schema switch lands here because Pydantic cannot combine an inherited computed property with the old server-owned fields. Legacy saved-row inputs remain accepted. Incomplete-only harness responses without explicit failure metadata still use their existing handling.

No new server tests. Existing stale assertions are updated for the policy defaults, typed decision fields, and completed zero-score grading. New coverage is limited to core contracts. This completes #5670; no separate public issue is required.

Validation:

  • After rebasing onto current main: 609 targeted runtime/policy tests and 164 recovery tests passed; all-files pre-commit passed.

Earlier implementation validation (before this behavior-preserving rebase):

  • 485 runtime, recovery, Harbor multi-turn, and single-agent policy tests passed.
  • 164 DeepSWE and simple-agent policy tests passed.
  • 405 shared-policy and Harbor tests passed; 152 single-agent environment tests passed.
  • 47 MCQA tests passed.
  • Fresh model-response grading smoke: rewards 1 and 0 both retain completed invocation status across JSON round trips. This checks model-to-grader integration, not a full sandbox rollout.
  • Explicit grading failures in the verifiers agent and Aviary now report failed invocations. Their optional verifiers / aviary / hypotest packages are absent locally, so those module suites were not run; changed modules compile.
  • Final Harbor/completion/recovery follow-up: 212 tests passed. Clean multi-turn aggregates carry no applied failure class.
  • pre-commit run --all-files and npm run check in fern/ passed (Fern: zero errors, one warning); DCO and SSH signatures verified.

Independent stack review completed; kept as draft pending full repository CI and sandbox integration validation.

@copy-pr-bot

copy-pr-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown

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.

@giuliolovisotto giuliolovisotto added feature New capabilities, enhancements, or enablement work area:evaluation Evaluation, rollout collection, reward profiling, comparison, and exporters labels Nov 5, 2026
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/derived-verification-completion branch from 872e1ff to 93c6373 Compare November 5, 2026 17:09
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/verifier-completion-servers branch from 6114dbe to d17e16f Compare November 5, 2026 17:09
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/derived-verification-completion branch from 93c6373 to 19fe388 Compare November 5, 2026 17:15
@giuliolovisotto
giuliolovisotto force-pushed the glovisotto/verifier-completion-servers branch from d17e16f to 0edc564 Compare November 5, 2026 17:15
Activate invocation-derived response schemas and shared failure policies alongside their server consumers. Update existing stale assertions without adding server tests.

Signed-off-by: Giulio Lovisotto <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:evaluation Evaluation, rollout collection, reward profiling, comparison, and exporters feature New capabilities, enhancements, or enablement work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant