The test-file count ran find over the working tree, sweeping untracked
build output — a Rails repo reported 623 test files when git tracks 17
(37x), skewing retro narratives and ship dashboards. Count via git ls-files
instead; includes the one-line Python-glob widening so non-JS repos stop
undercounting.
Fixes#2307, #1999.
Contributed by @joshRpowell (PR #2308).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>