All writing
Article ยท LLM evaluation
You do not need a research team to evaluate your LLM feature
How I start an eval set in about an hour: twenty real inputs, written checks, an LLM judge only where needed, and a baseline that runs on every prompt change.
By Ali Raza, Senior AI Engineer
You do not need a research team to evaluate your LLM feature. You need one hour.
The first hour
- Collect 20 real inputs from production or support logs. Include the weird ones.
- For each, write what must be true of a good answer, not the exact answer.
- Turn those into checks: contains or excludes text, valid JSON schema, correct label.
- Only for open-ended answers, add an LLM-as-judge with a written rubric.
- Run it now, save the result as your baseline, and run it on every prompt change.
20 cases that run on every change beat 2,000 cases that run once.
What makes it last
- Cache model responses, so re-runs are cheap and repeatable.
- Compare against the stored baseline, so you see what changed, not only what failed.
- Output JUnit or JSON with clear exit codes, so CI can fail a pull request.
- Cap the cost of a run, so an eval cannot quietly cost more than planned.
I built evalkit to do exactly this for my own work: YAML suites next to the code, deterministic and tool-call assertions, LLM-as-judge scoring where it is needed, and reports CI can read.