_resolve_repo_relpath resolves a predicted path in a way that aliases node_modules/<pkg>/package.json onto the repository's root package.json. A prediction naming a vendored dependency file is therefore credited for a different, real file it did not name.
That inflates File precision for any system that returns vendored paths, and it does so silently.
_resolve_repo_relpathresolves a predicted path in a way that aliasesnode_modules/<pkg>/package.jsononto the repository's rootpackage.json. A prediction naming a vendored dependency file is therefore credited for a different, real file it did not name.That inflates File precision for any system that returns vendored paths, and it does so silently.