aboutcode-org / aboutcode-org/scancode-analyzer

Remove Identical/Correct Detections

Open
#16 0 comments 0 reactions 1 assignee Claimed by @AyanSinhaMahapatra View on GitHub
Dominant language
Python
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

1. Removing Identical Cases across the same Package

Across one same package, there can be similar faulty license detection results, as there
might exist same license notices/pieces of text throughout the package files, referring to

- the same license
- some specific exception/variation of the same license

Only keep one of these cases, and delete the remaining. Also, preserve data on how many of these were detected (non-unique).

2. Group License Detections by location in the file and delete Correct Detections

So, there can be multiple slices of important texts, in multiple locations of the file. And
not all of these has an incorrect license detection, it can be the case that some are correct, only keep the faulty ones and delete correct blocks of detection. (Uses Line Numbers where they are detected, i.e. `start_line` and `end_line`)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.