Skip to content

test: re-record the pinned corpus baselines for 2.4.0 - #1197

Merged
1 commit merged into
stagingfrom
test/corpus-baselines-2.4.0
Nov 10, 2026
Merged

1 commit merged into
stagingfrom
test/corpus-baselines-2.4.0

Conversation

@tirth8205

Copy link
Copy Markdown
Owner

Why

The release gate's corpus check compares eight pinned repositories with numbers recorded at cf676b8 (16 September). On staging f56618d it reports 3 of 8 repositories out of band (fastapi nodes +72%, sinatra nodes +167% and edges +69%, newtonsoft-json resolved share 0.60 → 0.53), and 8 canary failures follow from that: with files_without_nodes now 0 everywhere, adding 1 no longer goes over the old ceiling. All of these moves are on purpose, so this re-records the baselines for 2.4.0.

The newtonsoft-json drop is accepted: calls that cannot be told apart, such as calls to C# overloads, now stay unresolved instead of being bound to a guess.

What changed

  • tests/corpus_baselines.json re-recorded with python -m tests.real_repo_corpus --record. Same pinned commits, same bands.
  • build_seconds keeps its old values. Wall clock depends on the machine, and this Mac builds 2 to 3 times faster than whatever recorded them, so taking its timings would tighten the time budget by accident (newtonsoft-json's ceiling would fall from 61.7s to 26.2s).
  • CHANGELOG Fixed entry.

Every number that moved, and the PR that moved it

I measured the corpus at cf676b8, at every merge into staging since then, and at every merge inside the two trains that moved anything (#1146 and #1186): 142 builds in all. #1027 is the only other merge that moved anything. The PR contributions in each row add up to the new value. The build at cf676b8 matches the old baseline exactly, and the last build matches the new one.

repo property old → new moved by (change)
fastapi files_parsed 1179 → 1182 #1159 +3
fastapi files_without_nodes 51 → 0 #1092 -51
fastapi total_nodes 6287 → 10804 #1092 +4398; #1159 +5; #715 (with train fix e7712d7) +114
fastapi total_edges 32613 → 36969 #1092 +4347; #1065 +7; #1159 +2
fastapi file_nodes 1128 → 1182 #1092 +51; #1159 +3
fastapi resolved_edge_share 0.5112 → 0.5684 #1133 +0.0003; #1092 +0.0574; #1065 +0.0001; #1151 -0.0006; #715 (with train fix e7712d7) -0.0004; #1185 +0.0004
fastapi imports_resolved_share 0.4759 → 0.4691 #1151 -0.0068
fastapi languages adds html, yaml #1092 +yaml; #1159 +html
gin files_without_nodes 11 → 0 #1092 -11
gin total_nodes 1591 → 1870 #1092 +275; #715 (with train fix e7712d7) +4
gin total_edges 17266 → 17530 #1092 +264
gin file_nodes 98 → 109 #1092 +11
gin resolved_edge_share 0.5142 → 0.5216 #1092 +0.0074
gin languages adds yaml #1092 +yaml
zod files_parsed 534 → 577 #1092 -1; #1158 +1; #1159 +2; #1174 +41
zod files_without_nodes 11 → 0 #1092 -11
zod total_nodes 7082 → 8629 #972 +1; #1092 +323; #1033 +10; #1158 +8; #1159 +10; #715 (with train fix e7712d7) +471; #1174 +724
zod total_edges 98833 → 99923 #972 +1; #1092 +313; #1033 +23; #1158 +29; #1159 +41; #1174 +683
zod file_nodes 523 → 577 #1092 +10; #1158 +1; #1159 +2; #1174 +41
zod resolved_edge_share 0.5287 → 0.5367 #1093 +0.0035; #1092 +0.0014; #1033 +0.0003; #715 (with train fix e7712d7) -0.0012; #1185 +0.0008; #1174 +0.0032
zod imports_resolved_share 0.4337 → 0.6553 #1093 +0.2221; #1158 -0.0005
zod languages adds html, json, yaml #1092 +yaml; #1159 +html; #1174 +json
gson files_parsed 272 → 273 #1174 +1
gson files_without_nodes 8 → 0 #1092 -8
gson total_nodes 4125 → 4736 #1092 +266; #1168 +17; #715 (with train fix e7712d7) +327; #1174 +1
gson total_edges 47564 → 47834 #1092 +258; #1154 +22; #715 (with train fix e7712d7) -10
gson file_nodes 264 → 273 #1092 +8; #1174 +1
gson resolved_edge_share 0.5254 → 0.6223 #1092 +0.0026; #1168 +0.0029; #1154 +0.1363; #715 (with train fix e7712d7) -0.0458; #1185 +0.0009
gson imports_resolved_share 0.1458 → 0.3407 #1154 +0.1949
gson dangling_contains_edges 693 → 0 #1168 -693
gson languages adds json, yaml #1092 +yaml; #1174 +json
newtonsoft-json files_parsed 952 → 977 #1174 +25
newtonsoft-json files_without_nodes 2 → 0 #1092 -2
newtonsoft-json total_nodes 9094 → 10491 #1079 +32; #1092 +71; #715 (with train fix e7712d7) +906; #1174 +388
newtonsoft-json total_edges 76052 → 76920 #1079 +263; #1092 +69; #964 +173; #1174 +363
newtonsoft-json file_nodes 950 → 977 #1092 +2; #1174 +25
newtonsoft-json resolved_edge_share 0.6005 → 0.5286 #1079 -0.0010; #1092 +0.0004; #964 -0.0206; #715 (with train fix e7712d7) -0.0530; #1174 +0.0023
newtonsoft-json dangling_contains_edges 486 → 0 #964 -486
newtonsoft-json languages adds json, yaml #1092 +yaml; #1174 +json
ripgrep files_without_nodes 5 → 0 #1092 -5
ripgrep total_nodes 3518 → 3755 #1092 +195; #715 (with train fix e7712d7) +42
ripgrep total_edges 29256 → 29431 #1092 +190; #1065 +1; #1171 -16
ripgrep file_nodes 120 → 125 #1092 +5
ripgrep resolved_edge_share 0.4613 → 0.4705 #1092 +0.0035; #715 (with train fix e7712d7) -0.0023; #1171 +0.0080
ripgrep imports_resolved_share 0.2236 → 0.2281 #1171 +0.0045
ripgrep languages adds yaml #1092 +yaml
sinatra files_parsed 157 → 159 #878 +2
sinatra files_without_nodes 10 → 0 #1092 -10
sinatra total_nodes 1224 → 3268 #1027 +11; #933 +18; #1092 +271; #878 +3; #1154 +1701; #715 (with train fix e7712d7) +40
sinatra total_edges 14647 → 24701 #1027 +909; #933 +13; #1092 +264; #878 +1; #1154 +8867
sinatra file_nodes 147 → 159 #1092 +10; #878 +2
sinatra resolved_edge_share 0.1969 → 0.558 #1027 -0.0019; #933 -0.0119; #1092 +0.0136; da989c5 (train fix for #933 with #1087) +0.0124; #1154 +0.3492; #715 (with train fix e7712d7) -0.0003
sinatra imports_resolved_share 0.0 → 0.3138 #1027 +0.3138
sinatra dangling_contains_edges 615 → 0 #933 -364; 8a9f150 (train fix for #933) -251
sinatra languages adds liquid, yaml #1092 +yaml; #878 +liquid
guzzle files_parsed 141 → 145 #1174 +4
guzzle files_without_nodes 4 → 0 #1092 -4
guzzle total_nodes 3221 → 3451 #1092 +130; #715 (with train fix e7712d7) +7; #1174 +93
guzzle total_edges 43443 → 43658 #1092 +126; #1174 +89
guzzle file_nodes 137 → 145 #1092 +4; #1174 +4
guzzle resolved_edge_share 0.5759 → 0.5769 #1092 +0.0012; #1174 +0.0009; #1176 -0.0011
guzzle languages adds json, yaml #1092 +yaml; #1174 +json

PRs: #1027 Go/Ruby imports, #1092 generic YAML, #1093 workspace imports, #1133 sys.modules shims, #972 HOC components, #1079 PowerShell, #933 Ruby compact namespaces, #1033 TS abstract classes, #1065 Python @property, #1158 .cjs/.kts, #1159 HTML, #878 Liquid, #964 C# namespaces and lexical binding, #1168 nested scope chain, #1151 import cycles (stdlib imports no longer answered by a package file), #1154 Java and Ruby tests in tests_for, #715 same-file nodes kept on a qualified-name collision (it only builds with the train fix e7712d7), #1171 honest confidence, #1185 inherited calls, #1174 JSON, #1176 Laravel tests.

All moves are improvements (new files, nodes and languages indexed, every parsed file now has nodes, dangling CONTAINS gone, most shares up) except the falls in resolved share: newtonsoft-json −0.072 (#715 −0.053, #964 −0.021) and gson −0.046 from #715, both accepted as above. Also fastapi imports_resolved_share −0.007 from #1151, where stdlib imports stopped pointing at package files.

Proof

  • Before, on f56618d: promotion_gate.py run --check corpus -- -m corpus gives failed (13 passed, 11 failed).
  • After: passed (24 passed, 0 failed).
  • tests/test_real_repo_corpus_guard.py: 35 passed.
  • ruff check code_review_graph/ clean, mypy code_review_graph/ no issues.
  • Full suite: 7936 passed, 938 skipped, 3 xfailed, 3 xpassed.

🤖 Generated with Claude Code

The baselines were recorded at cf676b8 (16 September). Since then the YAML,
JSON, HTML and Liquid indexers, the Ruby and Java test finding, and the C#
and nested-scope identity changes moved every repository's numbers on
purpose, and fastapi, newtonsoft-json and sinatra fell outside their bands.

Recorded with `python -m tests.real_repo_corpus --record`. build_seconds keeps
its old values: wall clock depends on the machine, and this one is faster
than the one that recorded them, so lowering it would only tighten the time
budget by accident. Bands are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

code-review-graph review

Overall risk: 0.00 (LOW) — 0 changed function(s)/class(es), 0 affected flow(s), 0 test gap(s)

Token savings: this graph-backed report used ~44,837 fewer tokens (~100%) than reading every changed file in full (estimated, chars/4 approximation).


Powered by code-review-graph — local-first analysis; no code leaves the CI runner.

@tirth8205 tirth8205 closed this pull request by merging all changes into staging in 29d8bd9 Nov 10, 2026
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.

1 participant