Skip to content
This repository was archived by the owner on Sep 26, 2019. It is now read-only.

Fixing bug where retire_limit is never met in Mark#540

Open
nonword wants to merge 2 commits into
masterfrom
retire-limit-should-be-percentage
Open

Fixing bug where retire_limit is never met in Mark#540
nonword wants to merge 2 commits into
masterfrom
retire-limit-should-be-percentage

Conversation

@nonword
Copy link
Copy Markdown
Collaborator

@nonword nonword commented Nov 10, 2015

Originally workflow.retire_limit was an int (e.g. 3). Later, after implementing the completion_assessment_task we realized this should be a percentage (e.g. 0.75) to establish the target majority threshold when multiple conflicting completion_assessment votes have been cast. (In the future, we might modify this to take the time into account - so that a lot of early "yes" votes do not dominate later equally legitimate "no" votes.) In any case, we've configured our workflows with retire_limit 3, but we're checking that against the percentage of "no" votes when determining whether or not to retire. But [number of "no" votes] / [number of votes] will never be greater than 1 much less 3, so nothing is retired.

Also adding Emigrant discuss url.

…entation, which rightly expects a percentage of completion_assessment_votes
@simensta simensta self-assigned this Nov 12, 2015
@simensta simensta removed their assignment Jan 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants