Engineering / Tests & versions
Switch models.
Check what changes.
A different model. A local deployment. A revised prompt. Before choosing a version, replay the same business requirements.
Try the test bench- Model
- OpenAI / Mistral / local
- Instructions
- prompt@3
- Context
- sources@7
- Contract
- quote@1
- Checks
- suite@1 · 5 cases
Business rules remain the point of comparison.
Interactive test bench
Same task. Same contract.
Julie prepares quotes. Discounts are capped at 15%, data stays within her branch, and every proposal awaits her approval.
The same five cases
An expected refusal counts as a passing case.
{
"discount_percent": 5,
"approval": "required",
"saved": false
}Run the tests to reveal the result.
Permission and approval checks are enforced by the system. Changing models does not remove them.
Compare before choosing
A cheaper call.
What about a successful task?
Failed attempts cost something too. Compare the batch cost with the number of tasks that actually meet your requirements.
Fictional amounts · 5 tasks · Not provider pricing
| Same batch | v1 · Reference | v2 · Candidate |
|---|---|---|
| Conforming tasks | 5 / 5 | — |
| Total batch cost | €0.0050 | — |
| Per conforming task | €0.0010 | — |
Batch cost ÷ Conforming tasks
These values explain the calculation. They do not measure OpenAI or Mistral performance or pricing.
Versions & rollback
Keep control
over what changes.
A version connects its configuration, instructions, context and tests. Review the change before choosing it, and keep a reference to roll back to.
- v1 · OpenAImapping@1 · prompt@3 · sources@7 · quote@15 / 5
Run the suite to evaluate the candidate.
State is local to this page. No deployment or server-side save.
The freedom to change takes preparation.
The protocol defines the framework. Tests check changes. Versioning makes decisions traceable.