Skip to content

Latest commit

 

History

History
150 lines (125 loc) · 7.99 KB

README.md

File metadata and controls

150 lines (125 loc) · 7.99 KB

reeval examples

Each with-* directory is a small project that shows one idea. Most run on a fake agent with no keys or Docker; each README's Needs says what else it takes.

pnpm install && pnpm build # once, at the repo root
cd examples/with-checks
pnpm eval                       # the fake agent
pnpm eval --profile claude-code # Claude Code, with ANTHROPIC_API_KEY in .env.local

Every example takes the real agents in profiles.ts by name: claude-code, cursor, codex, opencode, goose, pi, antigravity, fx and grok-build.

Writing evals

Example Shows
with-checks Deterministic checks on what the agent left behind
with-checks-and-gates Every check reports after one fails; expect.require stops at a gate
with-hidden-tests Grading with a test the agent never saw
with-guarded-files Failing an agent that changes files it should leave alone
with-transcript-matchers Checking what the agent did, not only what it left
with-web-matchers Checking the agent searched the web and read the docs
with-multi-turn A session with a follow-up turn
with-each One task over a list of cases
with-groups Options cascading from a group to its evals
with-pass-rate A cell that passes on most tries, not all
with-background-process A server started in the attempt and checked over HTTP

Judges

Example Shows
with-judge An LLM judge for the quality a check can't read
with-jev Jev, reeval's recommended judge model
with-judge-state Choosing what the judge sees
with-judge-on-output Judging what the program prints, not the diff
with-judge-providers Judges on different providers' keys
with-fake-judge Testing what reaches the judge, without a key

Harnesses

Example Shows
with-many-harnesses One eval on several agents, a cell each
with-harness-edits An eval adding to the harness list it inherits
with-reasoning-effort One agent at two reasoning efforts
with-vercel-gateway Model calls through Vercel AI Gateway, on one key
with-vertex-gateway Claude Code and its judge on Vertex AI, with no key
with-fake-harness A scripted agent for building and testing evals
with-oracle-canary Proving an eval with an oracle and a canary

Environments

Example Shows
with-skill Placing a skill and checking the agent used it
with-skill-sources Skills from git, a registry, npm and inline
with-rules Project rules the agent should follow
with-fixture Seeding the workspace from files in the example
with-git-workspace Starting every attempt from a pinned repository
with-setup Setup steps that run before the agent starts
with-extend-environment Layering one environment on another
with-env Plain variables for the sandbox
with-mcp A stdio MCP server, and checking its tool was called
with-plugin A plugin with a skill and an MCP server

Sandboxes

Example Shows
with-docker-install A tool baked onto reeval's image
with-dockerfile A sandbox from your own Dockerfile
with-python-image An official toolchain image as the sandbox
with-podman The same sandbox on Podman
with-resource-limits Memory, CPU and process limits

Secrets and egress

Example Shows
with-brokered-secret A key the agent's code uses but can't read
with-secret-for-checks A secret only the checks get
with-strict-secrets Refusing any secret the sandbox would see
with-egress-deny-all An agent with no network
with-egress-allowlist An allowlist of hosts
with-egress-allow-all Raw TCP, which the egress gateway can't carry

Compare

Example Shows
with-skill-lift Whether a skill helps
with-compare-control A compare without a baseline
with-min-lift Failing a run when a variant doesn't clearly help
with-two-variants One convention handed over two ways
with-rules-ab Which of two rules files works better
with-compare-questions Asking a model which arm did better
with-compare-harness A compare on one agent, a control on another
with-family-lift A lift pooled over a family of tasks
with-effort A skill's effect on effort
with-skill-reads Whether the agent opened the skill's files

Web UIs

Example Shows
with-capture Judging a screenshot of the agent's page
with-capture-journey A screenshot after a vision model drives the page
with-capture-compare A pairwise question about screenshots

Running

Example Shows
with-profiles Cheap pull request runs and thorough nightlies
with-budget Capping a run before it starts and while it runs
with-tags Running a slice of your evals
with-history Recording runs and comparing two
with-github-pr-gate A pull request check that fails on a regression
with-concurrency Running attempts in parallel

Results

Example Shows
with-query SQL over your runs with reeval query
with-studio Browsing runs in the studio
with-analysis reeval analyze
with-reeval-mcp Your coding agent reading reeval history

Real-world tasks

Example Shows
with-bug-fix Fixing a seeded bug without touching the tests
with-refactor A refactor that keeps behavior
with-test-writing Grading tests by whether they catch a bug
with-framework-migration CommonJS to ES modules
with-dependency-upgrade Bumping a dependency across a breaking change
with-docs-adherence Following a docs file you seeded
with-sdk-usage Whether an agent uses your SDK correctly
with-library-skill-lift Measuring a skill someone else publishes
with-recommendation Whether the agent recommends your product
with-existing-codebase A feature-sized task on a real repository
with-feedback-loop A build, review and revise session
with-code-review A review that finds a planted bug
with-security-fix Fixing a SQL injection, checked by an exploit