feat(#3): Multi-repo comparison, trending and composite scores #8

Merged
ti-paul merged 1 commit from feature/3-multi-repo-compare into main 2026-06-12 08:09:21 +00:00
Member

Closes #3

New: src/compare.js

  • Side-by-side comparison with best markers
  • Trending: activity momentum (rising/stable/declining)
  • Composite: weighted score A-F grade
  • 3 new CLI commands: compare, trending, composite

16 tests. 115 total pass.

Closes #3 ## New: src/compare.js - Side-by-side comparison with best markers - Trending: activity momentum (rising/stable/declining) - Composite: weighted score A-F grade - 3 new CLI commands: compare, trending, composite 16 tests. **115 total pass.**
feat(#3): Multi-repo comparison, trending and composite scores
Some checks failed
CI / test (pull_request) Failing after 0s
3ade09259a
New module src/compare.js:
- getRepoMetrics: extract comparable metrics per repo
- compareRepos: side-by-side comparison with best-in-category
- renderComparison: ASCII table with * markers
- calculateTrending: activity momentum (recent vs previous period)
- getTrending: sorted repo ranking by trending score
- getCompositeScore: weighted multi-criteria score (A-F grade)
- renderCompositeScore/renderTrending: ASCII display

CLI commands:
- git-pulse compare <repo1> <repo2> [repo3...]
- git-pulse trending <repo1> [repo2...]
- git-pulse composite <repo1> [repo2...]

16 new tests. All 115 tests pass. Closes #3.
ti-paul left a comment
No description provided.
16 tests, 115 total. Compare + trending + composite. LGTM.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/git-pulse!8
No description provided.