macaron icon indicating copy to clipboard operation
macaron copied to clipboard

refactor SourceCodeRepo heuristic

Open art1f1c3R opened this issue 10 months ago • 0 comments

Referencing the TODO item in #983:

Currently, the SourceCodeRepo heuristic still has a dependency on the EmptyProjectLinks heuristic. This is done currently to make the merging process easier, and to avoid a heavy rework of the SUSPICIOUS_COMBOS dictionary. This dictionary is expected to soon be replaced with a more usable alternative, at which time the combinations including this heuristic may be updated.

The SourceCodeRepo heuristic must be refactored to avoid a dependency on the EmptyProjectLinks, as these two heuristics are not closely related enough for this dependency. SourceCodeRepo tracks whether a repository was found, whereas EmptyProjectLinks tracks whether any project links are available on the PyPI page of the package.

art1f1c3R avatar Feb 13 '25 01:02 art1f1c3R