One question, one command:
Does my technique make Jev cheaper (fewer calls, fewer input tokens) without making it less accurate?
./jb compare my_techniqueThis runs your technique and plain Jev on the same steps from Mind2Web, a widely used web-agent benchmark of recorded human sessions (real tasks on real websites). Accuracy is checked automatically against what the human actually did: no judge, no labelling, no live websites, no browser. The output is one table plus a verdict.
bash scripts/setup.sh # Python env + the pinned, unmodified Jev agent; creates .env
brew install ollama && ollama pull gemma3:4b # local text helper (types values into fields), per the team specIn .env set:
TYPESAFE_API_KEY: your Jev key.HF_TOKENis only needed for the optional live benchmark.- The text helper is already configured: local Gemma, with
TEXT_MODEL_REASONING=none.
./jb doctor # checks key, text helper, dataThe Mind2Web data (~1.5 GB) downloads automatically on the first compare.
./jb new my_technique --group A # or B; creates jevbench/techniques/my_technique.py + an experiment card
./jb compare my_technique --backend mock --tasks 3 # free: checks your code runs (numbers are meaningless)
./jb compare my_technique # real: 30 tasks (~220 steps), ~450 Jev calls
./jb compare my_technique --tasks 100 --noise-floor # final numbersHow to write a technique: docs/TECHNIQUES.md. Two worked examples:
- Group A, skip Jev calls:
techniques/memory_replay.py - Group B, shrink Jev's input:
techniques/prune_actions.py
./jb compare --full --split test_task test_website test_domain --out results/m2w-official-baselineThis runs the full original test splits (the paper's) with the official scoring (macro average), and prints Jev next to the paper's published results (MindAct, GPT-4, GPT-3.5). The pipeline was checked by reproducing the paper's MindAct numbers with the authors' own model and evaluation code (results/calibration/). Details and caveats: docs/BENCHMARKS.md.
| Column | Meaning |
|---|---|
| Step SR | % of steps where the action matched the human's (right element and right operation/value). Main accuracy number. |
| Element Acc / Op F1 | Right element / right operation and value (the standard Mind2Web metrics) |
| Agree w/ baseline | % of steps where the technique chose exactly what plain Jev chose |
| Jev calls/step | Fewer = Group A savings |
| Jev tokens/step | Input tokens as billed by Jev (usage.input_tokens). Fewer = Group B savings |
| Aux tokens/step | Tokens your technique's own helper models used (counted against you) |
| Jev-free steps | % of steps decided without calling Jev |
| Verdict | SUPPORTED = cheaper (CI excludes 0) and step SR not worse by more than 5 points (CI). Otherwise REJECTED / NOT SUPPORTED / INCONCLUSIVE. PRELIMINARY below 20 tasks. |
Jev isn't deterministic. Two runs of plain Jev agree on about 91% of steps, and step success moves by a few points between runs. Use --noise-floor for final numbers: it runs plain Jev twice, so you can see how much difference is just chance. A technique's "agree w/ baseline" should be read against that ~91%, not 100%.
| Step SR | Jev tokens/step | Agree w/ Jev | |
|---|---|---|---|
| Plain Jev | 23–26% (two runs) | ~12,000 | 91% (vs itself) |
prune_actions (naive example) |
26% | ~4,300 (−67%) | 71% |
Real web pages cost Jev about 12k input tokens per decision, so there's real money to save. The naive pruner cuts 67% of tokens, but it changes Jev's decisions far more than chance does. The verdict was INCONCLUSIVE: run more tasks before concluding anything.
- Develop on
--split train, or on smalltest_tasksamples. - Final numbers:
--tasks 100 --noise-floorontest_task, ideally also ontest_websiteandtest_domain(the "new website" and "new domain" generalization splits). - Write your hypothesis in
experiments/<name>.mdbefore the final run. If you change the technique after seeing final numbers, it's a new version. - Training data for predictors:
./jb mind2web export --split train --out resources/mind2web/train.jsonlwrites human steps in Jev's exact format. Never train on test splits.
About 1 Jev call per step per technique. 100 tasks ≈ 750 steps:
- ~1,500 Jev calls for baseline + one technique
- ~2,250 Jev calls with
--noise-floor
Use --max-jev-requests N as a hard cap.
- Live end-to-end check on real websites:
./jb run --suite online_mind2web(Online-Mind2Web, 100-task frozen subset, scored by the benchmark's official AI judge). NeedsHF_TOKENand OpenAI billing. See docs/BENCHMARKS.md. - WebArena: if the team ever gets hosting. See docs/WEBARENA.md.
- Built-in toy sites:
--suite core, for plumbing tests only.
Details on exactly how Mind2Web is converted into Jev's format, and every deviation from the original benchmark, are in docs/BENCHMARKS.md. The statistics are described in docs/METHODOLOGY.md.