You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #3265. Depends on #3327. Can land in parallel with #3328. The resolver uses it once it exists.
Problem: extraction keeps only the bare name, so utils.parse(), self.parse() and parser.parse() all become parse. A qualifier that matches an imported module or alias (import utils / from x import utils), self/this, or a class name is the most useful single clue for resolving a call. It's the biggest accuracy gain after the resolver itself.
Scope: emit a qualifier alongside each callee name for the major languages first (Python, JS/TS, Java, C#, Go, PHP, Ruby, C++ ::). Leave other languages unqualified, which is the current behavior. Keep calls_out_to backward compatible: add the qualifier as a parallel structure or a new column rather than changing the list's element type.
Care: this changes extraction output, so it needs the full verification chain (crucible_check.py --update, strict tests, ReDoS rules from how_to_add_a_language.md). Qualifier patterns must stay bounded.
Done when: qualifiers are recorded for the scoped languages, the golden masters are re-blessed with an explained diff, and #3328 uses them in step 2 (import match).
Activity
calls_out_tointo a First-Class Function Dependency Graph #3265Engine: repository-wide call resolver + call qualifiers (#3328, #3329) (
#3913: recognise the qualified-call family by pattern text, not identity
#3913: Full Suite Gate out of its timeout: small scans skip the worke…