Repository navigation
Call resolver: untyped receiver's JS/TS built-in method is ambiguous, not a confident link (#3756) - #4990
Conversation
…guous receiver, a global's static no edge (#3756) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…call edges; last-digit PageRank ripple elsewhere) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…905) (#3756) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #4990 @ 91869aa: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
|
No description provided. |
Closes #3756
What
In the resolver's untyped-receiver fallback (
_resolve_one, last step), for TS/JS:_BUILTIN_INSTANCE_METHODS) reached through an untyped, non-thisreceiver and landing onfile/importis now the ambiguousreceiverstep (a row, never an edge);Number.isFinite,JSON.parse,Object.keys;_BUILTIN_NAMESPACES) with no repo class of that name isnone(external).this/super,typed,class,qualified, alias and import-stem steps are untouched.Class
Untyped-receiver built-in method calls (the whole built-in-method class, not only
trim/get/has/add). Mechanism check: the fallback is language-generic, but the built-in lists are per language and only JS/TS is measured; other languages are unchanged (guard test).Level 2 (
call_graph_resolution.py typescript, zod@2bf7b0630d53)receiver; 51 external and 7 unconfirmed confident links left. Recall drop is within the 0.5-pt gate. The remaining external (handleMapResult -> util.ts has@696) is aMap.haswith a repohasin util.ts reached by a step not covered here (not examined further).Golden
Blessed both legs via
crucible_check.py --update --yes;scope_check.py --expect typescript,javascript: 197 diffs = 108 TS/JS plus PageRank last-digit (1e-6) ripple in other languages (the function PageRank is corpus-wide, so removing confident TS fcall edges re-normalises) and the LLM brief; no non-PageRank non-TS/JS field moved.Gates
pr_gates --fast5/5;--ratchets7 pass, 0 skipped;call_graph_resolution typescript --ciOK (baseline regenerated); new tests intests/core_engine/test_call_resolver.py.Cross-repo
None.
🤖 Generated with Claude Code