-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
Add support for tracking AI coding assistant metrics to measure AI tool adoption and productivity impact.
Background
DX platform tracks Cursor AI usage with 16,086+ daily user records including:
- Agent requests per user
- Models used (claude-4.5-sonnet-thinking, gpt-5.2-codex, etc.)
- Code changes attributed to AI assistance
- Daily usage patterns
Requirements
- Add
ai_toolsmodule undersrc/gitflow_analytics/integrations/ - Support Cursor API integration (if available) or log parsing
- Support GitHub Copilot metrics via GitHub API
- Track metrics: daily usage, models, code attribution
- Aggregate AI-assisted vs manual commits
- Add
--ai-metricsflag to CLI
Data Model
class AIToolMetric:
date: date
user: str
tool: str # cursor, copilot, etc.
model: str
requests: int
code_changes: intAcceptance Criteria
- Report shows AI tool adoption rate by team/user
- Correlation between AI usage and velocity metrics
- CSV/JSON export of AI metrics
Priority
Medium - Provides insight into AI tool ROI
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels