Skip to content

mass-scan: Design and create code to spot incorrect copyrights #1498

Closed

Description

@pombredanne

I would like to spot incorrect copyright detections, the ones that would need a human review afterwards.

  • Design and create code to spot incorrect copyrights in ScanCode.io and PurlDB
  • Apply AI/ML to spot copyrights issues and generate automated fixes/improvement

Some references:

Activity

  1. moved this from Needs prep to In progress in 00-AboutCodePlanneron Nov 20, 2025
  2. JonoYang commented on Jan 22, 2026

    @JonoYang
    Member

    aboutcode-org/scancode-toolkit#2402 (comment)

    We now have code that performs gibberish detection on strings using a 2-character markov chain, which has been merged in aboutcode-org/scancode-toolkit#4610

    At a high level, it detects gibberish strings by seeing if a sequence of letters is part or a whole word, two letters at a time. It does this by checking how likely it is to go from one letter to another. The probabilities of going from one letter to another are determined by a model that has been trained on a large set of valid text, where it counts each transition between letters and computes a probability based off of that. These probabilities and thresholds are stored in a model that is saved to a Python pickle.

    These copyrights are no longer reported.

    These fixes are now in scancode-toolkit and will be available in future releases. These enhancements will also be available in scancode.io .

  3. moved this from Done to Validated in 00-AboutCodePlanneron May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions