Claude Opus 5.5

vitest-5-0-0-20-b

Claude Code's read-only tools, web search on, ludion sync on

Question

What does vitest -p do?

Answer key

A correct answer says
`-p` is shorthand for `--project`.
The stale answer
There is no short alias for --project.

The change's lesson

Answer

In vitest 5.x, `-p` is short for `--project`. It limits the run to the named project(s) in a multi-project (workspace) setup. For example, `vitest -p frontend` is the same as `vitest --project frontend`. The flag was added in vitest 5.0.0, which matches the vitest 5.0.3 this project has installed. Older versions don't have it.

I got this from the project's `.ludion/lessons.md` notes and didn't run vitest to check it. To confirm, run `npx vitest --help` and look for `-p, --project`.

Answering cost $0.07.

Grade

correct

The judge's reason: It states that -p is shorthand for --project and does not present the stale no-alias behavior as current.

The judge's log

Session log

What the agent wrote, the tools it called, and what they returned, from docs/bench/2026-10-11-done3/runs/B-project-sync/vitest-5-0-0-20-b.jsonl. Thinking and the session's settings are left out. The raw log

  1. Agent

    In vitest 5.x, `-p` is short for `--project`. It limits the run to the named project(s) in a multi-project (workspace) setup. For example, `vitest -p frontend` is the same as `vitest --project frontend`. The flag was added in vitest 5.0.0, which matches the vitest 5.0.3 this project has installed. Older versions don't have it.
    
    I got this from the project's `.ludion/lessons.md` notes and didn't run vitest to check it. To confirm, run `npx vitest --help` and look for `-p, --project`.