There was an error while loading. Please reload this page.
2 parents 4af455a + ab575ec commit 1ccc8d3Copy full SHA for 1ccc8d3
1 file changed
src/licensedcode/models.py
@@ -1103,7 +1103,7 @@ def compute_relevance(self):
1103
"relevance" attribute or computed base on the rule length here using
1104
this approach:
1105
1106
- - a false positive or a negative rule has a relevance of zero.
+ - a false positive or a negative rule has a relevance of 100.
1107
- a rule of length equal to or larger than a threshold has a 100 relevance
1108
- a rule of length smaller than a threshold has a relevance of
1109
100/threshold, rounded down.
0 commit comments