Find out if your last change made your LLM app better.
Run your app over your test cases with the command you already use. formyl scores the new version against the old with checks and LLM judges, and shows what changed, whether it is more than noise, and what each version cost.
formyl is open to a first group of developers. Write to us and we'll set up your workspace.
formyl run --cases support.jsonl --name v2 -- node answer.js
formyl eval create --baseline v1 --candidate v2 --judge judge.json
v2 against v1, 120 cases
| Score | Difference | Result |
|---|---|---|
| Helpfulnesspairwise judge | 46 better, 13 worsep < 0.001 | |
| Cites the refund policycheck | +0.09 ±0.040.92 against 0.83 | |
| Under 150 wordscheck | −0.01 ±0.03within noise | |
| Cost per case | $0.0042v1 $0.0031 | |
| Time per case | 2.1 sv1 1.4 s |
How it works
-
Write down your cases
One line of JSON per case: the input your app gets. Keep the expected answer in it, if there is one.
{"caseKey": "refund-40-days", "input": {"question": "Can I return shoes after 40 days?"}} -
Run each version of your app
formyl runs your command once per case, gives it the case on stdin and keeps what it prints. Your app needs no formyl code, and it can be in any language.
formyl run --cases cases.jsonl --name v2 -- node answer.js -
Compare them
Choose the checks and LLM judges that matter to you. formyl scores both versions, case by case, and the console shows the difference.
formyl eval create --baseline v1 --candidate v2 --judge judge.json
Results you can check
More than noise, or not
Each score shows the difference between the versions with its 95% interval. A difference inside the noise stays grey, so a lucky run doesn't read as progress.
Judge the judge
Pick the better answer yourself in a blind review, A or B, with nothing to say which version is which. formyl then says how often the judge agrees with you, so you know how far to trust it.
What it cost, and how long it took
Cost and time per case on both sides, beside the scores. A better answer that costs a third more is there to see before it ships.
Every version, in one place
Each app is a project with its own cases. Every candidate you compare with a baseline stays in its standings, newest first, so you can see how the versions have moved.