Skip to content

Conversation

@TheZoran
Copy link
Collaborator

No description provided.

steffen and others added 21 commits September 22, 2025 12:12
…isplay

- Implemented GetCumulativeUniqueAuthorsByYear to calculate unique authors per year.
- Updated repository information to include total authors.
- Modified growth history display to show authors alongside commits and on-disk size.
- Adjusted tests to reflect changes in growth statistics structure and output.
…, enhance output formatting, and update tests for clarity
…ned values and update test expectations for clarity
… predictive accuracy. Replace old estimation logic with a dynamic approach based on delta changes. Update related display functions and tests accordingly.
…rcentage values. Update display functions and tests to utilize pre-computed values for improved clarity and consistency.
…stimates. Update logic to store these values for improved tracking and prediction.
…owth sections. Replace redundant functions with `DisplayUnifiedGrowth` for simplified logic and enhanced clarity.
…ed display logic. Update `DisplayUnifiedGrowth` to remove redundant header printing.
…implified formatting and reduced redundancy in printed output.
…tralization and clarity. Update `DisplayUnifiedGrowth` to reflect this change.
…columns. Adjust footnotes and spacing accordingly.
…ar column for clarity, adjust spacing in output, and update current year display to include markers for estimated growth.
@steffen steffen force-pushed the show-authors-in-growth-table branch from e18f1a1 to 06fea8f Compare September 24, 2025 18:55
@steffen steffen requested a review from Copilot September 24, 2025 19:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restructures the growth and estimation display by adding author tracking and implementing a unified table showing both historic and estimated growth with enhanced delta percentage calculations.

  • Adds cumulative author tracking across repository history
  • Removes old estimation logic and implements new delta-based prediction algorithm
  • Consolidates historic growth and estimation into a single unified table with enhanced formatting

Reviewed Changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pkg/progress/progress.go Updates progress display format to show authors and placeholder values
pkg/models/models.go Adds TotalAuthors field and comprehensive delta/percentage tracking fields
pkg/git/git_test.go Removes outdated CalculateEstimate test function
pkg/git/git.go Removes CalculateEstimate function and adds GetCumulativeUniqueAuthorsByYear
pkg/display/sections/run_information.go Extends section header length for consistent formatting
pkg/display/sections/growth_tables_test.go Updates tests to reflect new table structure and author tracking
pkg/display/sections/growth_history.go Replaces historic growth display with unified table format
pkg/display/sections/growth_estimates.go Implements new estimation algorithm and unified display function
main.go Restructures growth calculation flow and integrates author tracking
fixtures/git-metrics.txt Updates test fixture to reflect new unified table output

@steffen steffen merged commit dd02864 into main Sep 24, 2025
7 checks passed
@steffen steffen deleted the show-authors-in-growth-table branch September 24, 2025 19:56
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.

3 participants