EvalDiff: A Local, Streaming JSONL Diff Viewer for LLM Evals in VS Code and Cursor
The author built EvalDiff, a read-only VS Code extension for comparing baseline and candidate JSONL evaluation files without any third-party runtime dependencies. Standard approaches often crash editor Webviews when loading large files, fail entirely on a single malformed line, risk XSS from unsafe eval payloads, and conflict with privacy rules that bar uploading customer prompts to cloud dashboards. To address this, EvalDiff streams files with Node.js built-ins, enforces file-size, per-field, and buffer-memory limits, and isolates corrupted lines with their line numbers. It also keeps filtering, search, and sorting in the Extension Host so the Webview receives only small query messages. The project is MIT-licensed and available on GitHub and Open VSX.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in