Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/allow checkers to pass #304

Merged
merged 7 commits into from
May 22, 2024
Merged

Feat/allow checkers to pass #304

merged 7 commits into from
May 22, 2024

Conversation

sarge1989
Copy link
Collaborator

@sarge1989 sarge1989 commented May 1, 2024

@sarge1989
Copy link
Collaborator Author

Still need to update tests

@sarge1989 sarge1989 marked this pull request as ready for review May 1, 2024 13:52
const factCheckerCount = totalVoteRequestsCount - errorCount //don't count "error" votes in number of fact checkers, as this will slow the replies unnecessarily.
const validResponsesCount = responsesCount - errorCount //can remove in future and replace with nonErrorCount
const factCheckerCount = totalVoteRequestsCount - passCount //don't count "error" votes in number of fact checkers, as this will slow the replies unnecessarily.
const validResponsesCount = responsesCount - passCount //can remove in future and replace with nonErrorCount
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to L63, should we include a check? Defaulting to 0

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think no need actually. cos L63 is the only resolved promise in the promise.all that isn't coming from the async getCount function. The getCount function will definitely return an integer >= 0. So i think its fine.

@sarge1989 sarge1989 merged commit 1985692 into develop May 22, 2024
1 check passed
@sarge1989 sarge1989 deleted the feat/allow-checkers-to-pass branch May 22, 2024 09:55
@sarge1989 sarge1989 mentioned this pull request May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants