Agents Lookup

Use cases / Decision models (Jev)

Run only the tests a code change could break

A command-line tool has Jev score each test against your code change and runs just the ones at risk, falling back to the full suite when unsure.

DifficultyIntermediate
Setup time1-2 hours (estimate)
CategoryDecision models (Jev)

Author's figure: one run on the tool's own repository took 1,296 ms and cost about $0.00098 (mizchi). Reported by the builder, not measured by us.

The use case

Small software teams wait on full test suites for tiny changes. A public tool by mizchi reads a git diff, sends it once to Jev, and asks one question per test: how likely is this change to alter its result? Jev returns a score on four levels, and tests at or above a cutoff are passed to your runner, and it works with common runners such as vitest, Playwright and the Go and Rust test commands. Doubtful cases still run, and the whole suite runs when the key is missing, the diff is truncated or anything errors. Scoring varies near the cutoff, so keep a full run in your merge pipeline.

Example workflow

  1. Install the tool and add a TypeSafe API key; ignore the folder it uses for saved runs in git.
  2. Run it against your branch with a dry run first and read the JSON scores to see which tests it picks.
  3. Compare its picks with what you would choose by hand on a few real changes and adjust the cutoff.
  4. Use its exec mode to run the selected tests locally or in a pre-push step.
  5. Keep a full test run on the main branch before release so selection mistakes are caught.

Tools

Risks and guardrails

Sources

Written by Agents Lookup. Credits and official pages for the tools this use case names: