Skip to content

ashishsingla87/eval

Repository files navigation

Agent Evaluations Dashboard

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

Open http://localhost:5173/

Add your data

  1. Put your JSON files under public/data/.
  2. Update public/data/manifest.json with an array of objects: { "path": "your.json", "label": "Your Label" }.
  3. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published