aboutcode-org / aboutcode-org/scancode-toolkit

Accept certain known extra words in a license without losing score points

Abierto
#2,405 0 comentarios 0 reacciones 0 asignados Ver en GitHub
license scan new feature
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

When we have a license matched exactly to a rule but there are some extra words, we do not have a 100% match score by design.
Yet there are cases where these extra words are NOT something that should degrade the score. For instance:

`The library is licensed under the GPL` as a rule
vs.
`The FOOBAR library is licensed under the GPL` as a scanned text.

Here the extra `FOOBAR` should not impact the 100% score of the rule detection.

One approach could be to maintain a set of such known words and use these in some post-processing of the license match results to keep a 100% match.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.