aboutcode-org / aboutcode-org/scancode-toolkit

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

未關閉
#2,405 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
license scan new feature
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。