How satinath-nit/ai-usage-measurement-framework works
This Python application measures AI-assisted development by analyzing repository commits and Agents.md files, then presents or exports repository and team-level results. The primary workflow is CLI or dashboard input → local/GitHub repository analysis → pattern detection and confidence scoring → metrics, visualizations, or CSV/JSON output. GitHub team analysis is a distinct multi-repository path. The sampled web application excerpt shows team-repository API access and dashboard rendering, but omits much of its analysis logic; unsampled subsystem links are included only where the README documents them.
Main entry points: git_analyzer.py Repository analysis · cli.py CLI commands · app.py Interactive dashboard · github_analyzer.py GitHub team analysis
Components 13
User interfaces
- CLI commands
src/ai_usage_measurement_framework/cli.py - Interactive dashboard
src/ai_usage_measurement_framework/webapp/app.py
Repository analysis
- Repository analysis
src/ai_usage_measurement_framework/analyzers/git_analyzer.py - Agents.md parsing
src/ai_usage_measurement_framework/analyzers/git_analyzer.py - Commit detection
src/ai_usage_measurement_framework/patterns.py - Confidence scoring
src/ai_usage_measurement_framework/patterns.py
GitHub teams
- GitHub team analysis
src/ai_usage_measurement_framework/analyzers/github_analyzer.py - GitHub API
Results and exports
- Analysis results
src/ai_usage_measurement_framework/models.py - Charts and views
src/ai_usage_measurement_framework/webapp/app.py - JSON export
src/ai_usage_measurement_framework/exporters/json_exporter.py - CSV export
src/ai_usage_measurement_framework/exporters/csv_exporter.py
Other components
- Developer
Connections 18
- Developer → CLI commands: runs commands
README.md - Developer → Interactive dashboard: opens dashboard
README.md - CLI commands → Repository analysis: analyzes repository
src/ai_usage_measurement_framework/cli.py - CLI commands → GitHub team analysis: starts team analysis
src/ai_usage_measurement_framework/cli.py - CLI commands → JSON export: exports JSON
src/ai_usage_measurement_framework/cli.py - CLI commands → CSV export: exports CSV
src/ai_usage_measurement_framework/cli.py - Interactive dashboard → Charts and views: renders results
src/ai_usage_measurement_framework/webapp/app.py - Repository analysis → Agents.md parsing: finds files
src/ai_usage_measurement_framework/analyzers/git_analyzer.py - Repository analysis → Commit detection: checks messages
src/ai_usage_measurement_framework/analyzers/git_analyzer.py - Repository analysis → Confidence scoring: scores detections
src/ai_usage_measurement_framework/analyzers/git_analyzer.py - Repository analysis → Analysis results: builds results
src/ai_usage_measurement_framework/analyzers/git_analyzer.py - GitHub team analysis → GitHub API: requests repositories
src/ai_usage_measurement_framework/analyzers/github_analyzer.py - GitHub team analysis → Repository analysis: analyzes each repo
src/ai_usage_measurement_framework/analyzers/github_analyzer.py - JSON export → Analysis results: serializes results
src/ai_usage_measurement_framework/exporters/json_exporter.py - CSV export → Analysis results: formats results
src/ai_usage_measurement_framework/exporters/csv_exporter.py - Interactive dashboard → GitHub API: fetches team repos
src/ai_usage_measurement_framework/webapp/app.py - Interactive dashboard → Repository analysis: analyzes repository
README.md - Interactive dashboard → GitHub team analysis: supports team mode
README.md