-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: consider annotation=-1 as a vote (#908)
So that this mechanism does not have to be implemented client-side. The voting mechanism has also been updated: before, all classes (0, 1, -1) could be considered as a valid value. Now, -1 is exclusively used for users to ignore insights, so it's not taken into account when computing vote counts (only 0 and 1 are considered). Another bug was fixed: when vote counts for 0 and 1 are both >= 2, we save the insight as invalid (-1) instead of saving it as negative (0).
- Loading branch information
1 parent
850aea1
commit 18e9552
Showing
2 changed files
with
104 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters