Commit 25cc997
feat: replace heuristic LOC estimates with precise cloc counts for all benchmark repos
The old repo_approx_loc was computed as repo_size_bytes/30, which inflated
values by 5-50x (e.g. linux: 208M heuristic vs 29.8M actual). Now uses
cloc --json on shallow clones of all 71 repos.
- Add scripts/collect_repo_cloc.py: shallow-clone + cloc pipeline (resumable)
- Add scripts/update_loc_from_cloc.py: propagate cloc values to all configs
- Update backfill_size_metadata.py to prefer cloc data over bytes/30 heuristic
- Update 470/477 tasks across 9 config files + official_results.json
- 71 repos counted: 9.9K (grpcurl) to 43.4M (chromium) code lines
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 695c0d5 commit 25cc997
File tree
17 files changed
+40717
-2940
lines changed- configs
- docs
- official_results/data
- ops
- results
- scripts
17 files changed
+40717
-2940
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
56 | 80 | | |
57 | 81 | | |
58 | 82 | | |
| |||
73 | 97 | | |
74 | 98 | | |
75 | 99 | | |
76 | | - | |
| 100 | + | |
77 | 101 | | |
78 | 102 | | |
79 | 103 | | |
| |||
92 | 116 | | |
93 | 117 | | |
94 | 118 | | |
95 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
96 | 144 | | |
97 | 145 | | |
98 | | - | |
| 146 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
46 | 70 | | |
47 | 71 | | |
48 | | - | |
| 72 | + | |
0 commit comments