Commit 983a1af
feat: visual eval trend dashboard (agent-strace dashboard --trend) (#74)
Extends dashboard with --trend mode: reads per-session eval scores from
eval.json, computes error/retry/cost time-series, and renders a
self-contained HTML report with inline SVG charts.
- TrendPoint, TrendReport, EvalScorePoint data structures
- build_trend_report(): extracts metrics from events + eval.json
- format_trend_terminal(): terminal summary with pass-rate deltas
- render_html_trend(): self-contained HTML, no CDN, no JS libraries,
inline SVG sparklines with annotation markers
- save_annotation() / load_annotations(): persist timeline markers
- CLI: --trend, --since Nd, --html FILE flags on dashboard subcommand
- dashboard annotate --date --note subcommand
- 25 new tests covering SVG rendering, annotation storage, trend
builder, terminal formatting, and HTML output
Closes #68
Co-authored-by: Ona <no-reply@ona.com>1 parent b97d8c5 commit 983a1af
3 files changed
Lines changed: 836 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
595 | 605 | | |
596 | 606 | | |
597 | 607 | | |
| |||
0 commit comments