Skip to content

#3265 step 2: capture the call qualifier (utils.parse, obj.save, Class::method) #3329

Closed

Description

@squid-protocol

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

  1. added
    enhancement
    on Sep 23, 2026
  2. added
    core-engine
    on Sep 23, 2026
  3. added 3 commits that reference this issue on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-engineenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions