Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/licensedcode/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ def compute_relevance(self):
"relevance" attribute or computed base on the rule length here using
this approach:

- a false positive or a negative rule has a relevance of zero.
- a false positive or a negative rule has a relevance of 100.
- a rule of length equal to or larger than a threshold has a 100 relevance
- a rule of length smaller than a threshold has a relevance of
100/threshold, rounded down.
Expand Down