[kimi] Generate daily/weekly agent scorecards (#712) #790
Reference in New Issue
Block a user
Delete Branch "kimi/issue-712"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #712
Summary
Implements agent scorecard system that tracks and summarizes agent performance across issues, PRs, tests, and tokens.
Features
Core Functionality
API Endpoints
GET /scorecards/api/agents- List tracked agentsGET /scorecards/api?period=daily|weekly- All scorecards (JSON)GET /scorecards/api/{agent_id}?period=daily|weekly- Single agent (JSON)GET /scorecards/panel/{agent_id}?period=daily|weekly- HTMX panelGET /scorecards/all/panels?period=daily|weekly- All panels (HTMX)GET /scorecards- Full dashboard pageUI
New Files
src/dashboard/services/scorecard_service.py- Core scoring logicsrc/dashboard/routes/scorecards.py- API routessrc/dashboard/templates/scorecards.html- Dashboard templatetests/dashboard/test_scorecards.py- Test suiteModified Files
src/dashboard/app.py- Register new routersrc/dashboard/templates/base.html- Add navigation linksTesting
All tests pass: