aboutcode-org / aboutcode-org/scancode-analyzer

Remove Identical/Correct Detections

Ouverte
#16 0 commentaires 0 réactions 1 personne assignée Réclamée par @AyanSinhaMahapatra Voir sur GitHub
Langage dominant
Python
Étoiles
4
Forks
4
Métriques de merge des PR
Aucune PR mergée en 30 j

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`)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.