Promptfoo JSONL Regression Diff — 100% Local & Private IDE Workbench
Love running fast prompt tests with Promptfoo, but want to inspect two separate run exports side-by-side directly inside Cursor or VS Code without spinning up a local web server or touching SQLite files? EvalDiff turns any two .jsonl exports into an instant regression workbench.
3-Step Prompt Regression Loop Inside Your IDE
1. Export Baseline & Candidate
Run your baseline prompt and save outputs as baseline.jsonl. Edit your prompt in Cursor, re-run, and save candidate.jsonl.
2. Right-Click & Compare
Select both files in Explorer and click EvalDiff: Compare Two Eval JSONL Files. EvalDiff opens them strictly read-only.
3. Triage Worst Regressions First
Filter Regressions Only to see exact word-level output drift, score drops, token/latency deltas, and mark Pass/Fail locally.
IDE-Native Diff vs. Browser Dashboards
| Workflow Requirement | Browser Eval Web UI | Manual jq + diff |
EvalDiff (VS Code / Cursor) |
|---|---|---|---|
| Stay inside Cursor / VS Code while editing prompts | Context switch to browser tab | Terminal only, hard to scan | Native split-pane inside IDE |
| Zero SQLite locking / zero WAL corruption risk | Reads/writes local SQLite state | Read-only | 100% read-only JSONL streaming |
| Word-level inline output highlighting + XSS safety | Varies by runner | Raw line diffs | Inline diff + strict HTML escaping |
| Shareable standalone HTML / CSV PR report | Requires screenshot or hosted link | Custom script required | One-click export (Pro · US$ 29/yr) |
Sample Promptfoo-Compatible JSONL Record
{"case_id":"sql-002","prompt":"Count active users in users table","response":"SELECT COUNT(*) FROM users WHERE status = 'online';","score":0.5,"duration_ms":430,"total_tokens":155}