investigate: resolution spread across languages on real repos — zod 13.2% and Dapper 11.1% vs ripgrep 37.6% #46
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
h-dv/code-index#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P2 — diagnostic, explain before anyone optimises.
The observation
The 2026-07-28 corpus spike produced the first real-world per-language resolution figures this project has had:
A 3.4× spread between Rust and C#.
Why this needs explaining, not fixing
The standing verdict is that the aggregate rate is a denominator artifact and must not be chased — chasing it mints phantoms. That verdict is almost certainly the explanation for much of this spread too:
IDbConnection,Task<T>, LINQ) that have no in-project definition.So the likely honest conclusion is "these numbers are mostly denominator composition, not resolver quality."
But that is a hypothesis, and it should be measured rather than assumed — precisely because it is the comfortable answer. If some of the gap is a genuine plugin gap (e.g. C# generics or TS conditional types dropping refs that do have in-project targets), that is a real recall bug hiding behind a convenient narrative.
What to do
resolution_gapsreason code (no_candidate/internal_missed/unresolved_qualified/unresolved_bare) — the split already exists inproject_overview.file_healthinternal_missedrefs and classify by hand: genuinely external, or a real miss?Acceptance