You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Weigh programming language tallies by file size (bytes) instead of file count
Previously, language summaries were calculated based on the number of files, causing languages with many small files (e.g., C header files) to incorrectly appear as the primary language over languages with fewer but larger files (e.g., C++ source). This change uses file size (bytes) as the weight for the tally, ensuring the primary language reflects the code mass rather than file count. Fallback to count=1 if size is 0.
0 commit comments