Frontmatter
| id | 9146 |
| title | Fetch Top Repository Name for Focus Metric |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Feb 13, 2026, 2:56 PM |
| updatedAt | Feb 13, 2026, 3:40 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9146 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9143 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 13, 2026, 3:40 PM |
Fetch Top Repository Name for Focus Metric
tobiu added parent issue #9143 on Feb 13, 2026, 2:56 PM
tobiu assigned to @tobiu on Feb 13, 2026, 2:57 PM

tobiu
Feb 13, 2026, 3:40 PM
Input from Gemini 3 Pro:
✦ Implemented "Top Repository" fetching in
Updater.mjs.Changes:
- Query Upgrade: Now fetches
commitContributionsByRepository(maxRepositories: 5)for every year.- Aggregation: Sums up contributions by repository name across the user's entire history.
- Data Injection: Adds
tr: ["repo-name", count]to the user record.Value: This data point allows the Heuristics Engine (in a future update) to calculate the "Focus" metric:
top_repo_count / total_contributions.
- High Focus (>95%) + High Volume = "One-Trick Pony" (Likely Gym/Life Logger).
- High Focus + "Framework" Name = Framework Author (Exempt).
Ready for deployment.
tobiu closed this issue on Feb 13, 2026, 3:40 PM
Update the GraphQL query in
Updater.mjsto fetch the user's top repository by contribution count. This data is essential for the "Focus" heuristic (distinguishing between Framework Authors and Single-Repo Loggers).Requirements:
contributionsCollection->commitContributionsByRepository(maxRepositories: 1)to the multi-year query loop.repository.nameandcontributions.totalCountfrom the response.tr(Top Repo) to the minified user object:tr: ["repo-name", total_commits_in_repo]Heuristics.mjsto accept this new data point (future enablement).Cost Analysis: