Skip to content

Track unique files changed and improve achievement explainability#1

Open
gregv wants to merge 3 commits intomainfrom
feature/unique-files-tracking-and-explainability
Open

Track unique files changed and improve achievement explainability#1
gregv wants to merge 3 commits intomainfrom
feature/unique-files-tracking-and-explainability

Conversation

@gregv
Copy link
Copy Markdown
Contributor

@gregv gregv commented Mar 30, 2026

Summary

  • Unique files tracking: Fetches individual commit details to accurately track files changed per contributor, excluding boilerplate (.md, .txt, .lock, README, LICENSE, etc.)
  • Fix broken additions/deletions: The list-commits endpoint doesn't return stats — now fetches commit details for accurate line counts
  • Team field: Sets team from repo_name so team achievements actually generate (was always None)
  • Productive team threshold: Teams must have changed >= 10 significant files to win "Most Productive Team"
  • Mentor boost: New "Ready for a Boost" entries identify teams with < 10 files or < 5 commits for mentor support
  • Achievement explainability: All values now include units (e.g., "36 commits" not "36"), descriptions explain exactly how each metric is calculated

Test plan

  • Run python src/main.py <org> and verify unique_files_changed and team fields in saved stats
  • Verify team achievements generate (no "No team information found" warning)
  • Verify "Ready for a Boost" entries appear for low-activity teams
  • Verify achievement values include units

🤖 Generated with Claude Code

gregv and others added 3 commits March 29, 2026 06:56
The scheduler was being auto-stopped by Fly because fly.toml configured
it as an HTTP service. Since the app is a long-running background worker,
removed [http_service] section and configured as a process instead.
Also adds ignored users filtering and updates org to 2026-ASU-WiCS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…plainability

- Fetch individual commit details to get accurate additions/deletions (fixes broken
  list-commits endpoint) and track unique significant files per contributor
- Exclude boilerplate files (.md, .txt, .lock, README, LICENSE, etc.) from file counts
- Add team field to contributor stats (set from repo_name) to fix team achievement generation
- Add MIN_FILES_FOR_PRODUCTIVE_TEAM threshold (10) to prevent low-substance teams from
  winning Most Productive Team
- Add "Ready for a Boost" mentor opportunity entries for teams with low activity
- Add units to bare-number achievement values (commits, PRs, issues, reviews)
- Improve achievement descriptions to explain exactly how each metric is calculated

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant