Skip to content

Commit 1ccc8d3

Browse files
authored
Merge pull request #2113 from AyanSinhaMahapatra/fix-docstring
Fix docstring for compute_relevance
2 parents 4af455a + ab575ec commit 1ccc8d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/licensedcode/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ def compute_relevance(self):
11031103
"relevance" attribute or computed base on the rule length here using
11041104
this approach:
11051105
1106-
- a false positive or a negative rule has a relevance of zero.
1106+
- a false positive or a negative rule has a relevance of 100.
11071107
- a rule of length equal to or larger than a threshold has a 100 relevance
11081108
- a rule of length smaller than a threshold has a relevance of
11091109
100/threshold, rounded down.

0 commit comments

Comments
 (0)