A zero-dependency static site to visualize agent evaluations, hallucinations, and related metrics from JSON datasets.
Features
- Load from
public/data/manifest.json
automatically, or upload JSON files interactively. - Filters: agent, model, category, pass only, hallucination only, score range, date range.
- Charts: KPIs, histograms, distributions, by model/category, scatter plots, timeline.
- Data table with CSV export.
Data format
- Accepts arrays of JSON objects with flexible keys. Fields are normalized into:
id
,agent
,model
,category
,score
,passed
,hallucination
,latency_ms
,tokens_total
,timestamp
.
- If your keys differ, the normalizer tries common alternatives. Extend
scripts/app.js:normalizeRecord
if needed.
Local run (React + Vite)
npm install
npm run dev
Add your data
- Put your JSON files under
public/data/
. - Update
public/data/manifest.json
with an array of objects:{ "path": "your.json", "label": "Your Label" }
. - Reload the page. Or, drag-and-drop/upload JSON files directly.
Build for static hosting
npm run build
npm run preview
Notes
- ECharts is installed as a dependency (no CDN needed).
- The table shows up to 5000 rows for performance; export includes filtered rows only.