Skip to content

test(e2e): make live image recognition non-blocking - #1363

Open
vercel-gh-bot-2[bot] wants to merge 1 commit into
mainfrom
e0/77c182c8-0d42-471b-b80c-0a3706f771f0
Open

test(e2e): make live image recognition non-blocking#1363
vercel-gh-bot-2[bot] wants to merge 1 commit into
mainfrom
e0/77c182c8-0d42-471b-b80c-0a3706f771f0

Conversation

@vercel-gh-bot-2

Copy link
Copy Markdown
Contributor

The image content-parts eval currently turns live vision accuracy into a required PR gate. This keeps transport and tool execution checks blocking while recording color interpretation as a soft metric.

Motivation

The fixture renders a valid PNG and stores the exact stripe sequence in its action result. Live models still omit or misidentify a stripe. In one representative run, the image contained black, red, and orange while the model answered black and orange.

The observed direct mismatch rate was 22.2% locally and 23.9% on Vercel after the eval was introduced. Those failures measure model vision quality, not whether eve delivered the toModelOutput content parts.

Hypothesis

Because a soft assertion without a threshold stays visible in eval artifacts but does not fail --strict, making the two color-recognition assertions soft should remove model-perception false negatives from the required gate. The eval still requires successful turns, no failed actions, one completed render-stripes call with valid PNG output, and no second tool call during replay.

Checks

  • pnpm exec oxfmt --check e2e/fixtures/agent-tools/evals/static-tools/to-model-output-content-parts.eval.ts
  • pnpm exec oxlint e2e/fixtures/agent-tools/evals/static-tools/to-model-output-content-parts.eval.ts
  • pnpm --filter eve exec vitest run --config vitest.unit.config.ts src/evals/runner/verdict.test.ts
  • pnpm --filter eve build
  • pnpm --filter agent-tools typecheck
  • pnpm guard:invariants

The fixture E2E itself remains CI-only, per the repository test policy.

Requested by: rui.lealsalvadorconti

Co-authored-by: ruiconti <1834568+ruiconti@users.noreply.github.com>
@vercel
vercel Bot temporarily deployed to Preview – eve-docs-4759 July 29, 2026 21:07 Inactive
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
eve-docs Ready Ready Preview Jul 29, 2026 9:08pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
eve-docs-4759 Skipped Skipped Jul 29, 2026 9:08pm

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.

0 participants