mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-26 00:03:59 +00:00
AI Evals
Minimal benchmark runner for the four Windmill AI generation modes:
cliflowscriptapp
Each case is just:
- a
prompt - an optional
initialfixture - an optional
expectedfixture
Each attempt runs:
- the real production prompt/tool/guidance path
- deterministic validation
- LLM judging
Install
cd ai_evals
bun install
Frontend runs also require frontend dependencies:
cd frontend
bun install
CLI
List cases:
cd ai_evals
bun run cli -- cases
bun run cli -- cases flow
Run a mode:
cd ai_evals
bun run cli -- run flow
bun run cli -- run flow flow-test5-simple-modification --runs 3
bun run cli -- run cli bun-hello-script
run always writes a JSON result file under ai_evals/results/ unless you pass
--output.
Layout
cases/: one JSON file per modefixtures/: initial and expected fixturescore/: shared case loading, validation, judging, and result writingmodes/: one runner per mode
Notes
- Frontend modes reuse the production frontend chat code through the Vitest bridge.
- CLI mode creates an isolated workspace, writes the current checkout guidance into it, and benchmarks the real skills / AGENTS flow.
- Frontend progress streams live while the benchmark is running.