Commit Graph

198 Commits

Author SHA1 Message Date
Paolo Ricciuti 0b7bb881ca Merge pull request #70 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.6.2
2026-02-12 16:50:44 +01:00
github-actions[bot] b58bc3d8d7 Version Packages 2026-02-12 14:56:51 +00:00
Paolo Ricciuti 1f83ac4097 Merge pull request #69 from vercel-labs/track-newly-created-files
fix: add all the files to track newly created files
2026-02-12 15:56:04 +01:00
paoloricciuti 93c1a6390a fix: add all the files to track newly created files 2026-02-12 15:24:14 +01:00
Paolo Ricciuti d37b219fb4 Merge pull request #68 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.6.1
2026-02-12 09:43:51 +01:00
github-actions[bot] 37dbeaf29c Version Packages 2026-02-11 20:56:57 +00:00
Paolo Ricciuti fc91cfb7e2 Merge pull request #64 from vercel-labs/save-changed-files
fix: use git to get changes files
2026-02-11 21:56:10 +01:00
Paolo Ricciuti 326c87126c Merge pull request #67 from vercel-labs/copilot/sub-pr-64
docs: document copyFiles configuration option
2026-02-11 21:55:45 +01:00
copilot-swe-agent[bot] 1b07100d3c docs: remove "When to use" section from copyFiles docs
Co-authored-by: paoloricciuti <26281609+paoloricciuti@users.noreply.github.com>
2026-02-11 20:54:53 +00:00
copilot-swe-agent[bot] 08505b5cc1 docs: document copyFiles configuration option
Co-authored-by: paoloricciuti <26281609+paoloricciuti@users.noreply.github.com>
2026-02-11 20:49:57 +00:00
copilot-swe-agent[bot] aeee9aaa32 Initial plan 2026-02-11 20:48:21 +00:00
github-actions[bot] 68adf6525d Version Packages (#66)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.6.0
2026-02-11 15:28:24 -05:00
Jude Gao cf50218fe2 Make failure classifier optional (#65) 2026-02-11 15:22:13 -05:00
paoloricciuti 83be77b5b7 Merge remote-tracking branch 'origin/main' into save-changed-files 2026-02-11 16:42:34 +01:00
paoloricciuti f7b663a4ed chore: changesets 2026-02-11 16:39:28 +01:00
paoloricciuti f3e4f69612 feat: add option to copy files in results 2026-02-11 16:38:58 +01:00
github-actions[bot] 4f9d492e8d Version Packages (#62)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.5.0
2026-02-10 18:06:50 -05:00
Jude Gao bc5114cea6 [CLI] Live terminal dashboard for parallel experiment runs (#63)
* [CLI] Live terminal dashboard for parallel experiment runs

* Fix lint errors: remove unused renderDetailLine and verbose
2026-02-10 17:55:04 -05:00
paoloricciuti 24c4345b26 fix: use git to get changes files 2026-02-10 20:28:39 +01:00
Paolo Ricciuti c59ef08b0b Merge pull request #61 from vercel-labs/better-test-path
fix: allow user defined tests  `verifyNoTestFiles`
2026-02-10 17:40:46 +01:00
paoloricciuti b846fc7ec7 fix: allow user defined tests verifyNoTestFiles 2026-02-10 15:18:55 +01:00
Allen Zhou a0cc76e0b9 Merge pull request #59 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval-playground@0.1.3 @vercel/agent-eval@0.4.1
2026-02-09 14:11:20 -08:00
github-actions[bot] 2455c8be48 Version Packages 2026-02-09 22:09:59 +00:00
Allen Zhou 13875fb239 Merge pull request #58 from vercel-labs/allen/codex-parsing
fix: codex parsing
2026-02-09 14:09:18 -08:00
Allen Zhou e42dbf7d4c playground changeset 2026-02-09 14:07:03 -08:00
Allen Zhou f426890713 update playground 2026-02-09 14:03:59 -08:00
Allen Zhou 6cd92aa8f6 changeset 2026-02-09 13:52:00 -08:00
Allen Zhou bcb69cd046 fix opencode parsing 2026-02-09 13:50:35 -08:00
Allen Zhou 2f0be0862a codex parsing 2026-02-09 13:41:42 -08:00
github-actions[bot] bf99e421b3 Version Packages (#57)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.4.0
2026-02-09 14:28:15 -05:00
Jude Gao 5e451599e0 [Codex] Support reasoning effort via model string, fix Docker CA certs, and improve npm install reliability (#56) 2026-02-09 14:25:04 -05:00
Paolo Ricciuti 89ab4b7fca Merge pull request #50 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval@0.3.2
2026-02-08 22:27:56 +01:00
github-actions[bot] 4497ed66ae Version Packages 2026-02-08 20:23:01 +00:00
Paolo Ricciuti 8be8164329 Merge pull request #49 from vercel-labs/allow-vercel-oidc-token
fix: allow `VERCEL_OIDC_TOKEN` if `AI_GATEWAY_API_KEY` is not set
2026-02-08 21:22:25 +01:00
paoloricciuti 465fbac30b fix: allow VERCEL_OIDC_TOKEN if AI_GATEWAY_API_KEY is not set 2026-02-08 19:48:18 +01:00
github-actions[bot] cfa2555c19 Version Packages (#48)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.3.1
2026-02-08 01:05:49 -05:00
Jude Gao e10e69b2b3 Fingerprint reuse was never persisting fingerprints to results (#47) 2026-02-08 01:04:49 -05:00
Jude Gao 2b953ea015 Overhaul README with run-all, fingerprinting, classification, and housekeeping (#46)
Rewrites the README to document all features added in v0.3.0:
default run-all behavior, --smoke/--force flags, content fingerprinting
and result reuse, AI failure classification, auto-retry, and
housekeeping. Fixes outdated result file paths and summary.json format.
2026-02-08 00:40:57 -05:00
github-actions[bot] 2eef698793 Version Packages (#45)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@vercel/agent-eval@0.3.0
2026-02-08 00:31:38 -05:00
Jude Gao 9f7af6276c Add changeset for run-all and related features (#44) 2026-02-08 00:30:21 -05:00
Jude Gao 0bbd6b29d5 Make run-all the default when invoked with no arguments (#43)
`npx agent-eval` with no args now discovers and runs all experiments
(same as `agent-eval run-all`). Running a single experiment still
works: `npx agent-eval my-experiment`.
2026-02-08 00:24:17 -05:00
Jude Gao 3e57444699 Add run-all command with housekeeping (#41)
New run-all command auto-discovers experiments/*.ts and orchestrates
the full pipeline: fingerprint reuse, failure classification,
auto-retry of infra failures, and housekeeping.

Housekeeping runs after each experiment: keeps only the latest valid
result per (experiment, eval) pair, removes duplicates and incomplete
results, cleans up empty timestamp directories.

Supports --dry (preview), --force (ignore fingerprints), --smoke
(1 eval per experiment), and optional experiment name/glob arguments.
2026-02-08 00:21:05 -05:00
Jude Gao b841c01306 Add failure classification and auto-retry support (#40)
New classifier.ts module classifies failed evals as model, infra, or
timeout. Rule-based fast path catches ~80% of cases (timeout errors,
missing transcripts, rate limits, tiny transcripts with API errors).
Falls back to AI classification via gateway(anthropic/claude-sonnet-4-5)
with sandboxed read-only tools. Gracefully degrades to rule-based only
when AI_GATEWAY_API_KEY is not set.

shouldRetry() returns true when all failures are non-model, enabling
auto-retry of infra-failed evals.

summary.json now supports classification and valid fields. Results
marked valid: false are excluded from fingerprint reuse.
2026-02-08 00:17:03 -05:00
Jude Gao 8f08f07cd8 Add content fingerprinting and result reuse (#42)
Computes a SHA-256 fingerprint from all eval directory files plus the
config fields that affect results (agent, model, scripts, timeout,
earlyExit, runs). The fingerprint is stored in summary.json.

scanReusableResults() scans existing results and returns matches where
the fingerprint is identical, the result is valid, and passedRuns > 0.

Functions like setup and editPrompt can't be hashed — use --force to
re-run when these change.
2026-02-07 23:57:05 -05:00
Jude Gao 08eb8eedda Add --smoke flag for quick setup verification (#38)
Picks the first eval alphabetically and runs it once per model.
Useful for verifying API keys, model IDs, and sandbox connectivity
before committing to a full suite, especially with model arrays.
2026-02-07 23:41:19 -05:00
Jude Gao a5af95bfb3 Move script outputs to outputs/scripts/ to fix naming collision (#37)
When `scripts: ['eval']` is configured, the script output was written
to `outputs/eval.txt` which collided with the EVAL.ts test output at
the same path. Script outputs now go to `outputs/scripts/{name}.txt`.
2026-02-07 23:34:56 -05:00
Allen Zhou 38930cfad3 show playground runs 2026-02-07 15:01:58 -08:00
Allen Zhou 030a1a2af7 Merge pull request #35 from vercel-labs/changeset-release/main
Version Packages
@vercel/agent-eval-playground@0.1.2 @vercel/agent-eval@0.2.0
2026-02-07 14:43:16 -08:00
github-actions[bot] 3885f2ba08 Version Packages 2026-02-07 22:41:12 +00:00
Allen Zhou 59ceacaf77 Merge pull request #36 from vercel-labs/allen/recursive-directory-playground-support
fix: support recursive playground directory discovery
2026-02-07 14:40:38 -08:00