Skip to main content

review.vocab.drawn_count

review.vocab.drawn_count(survivors)

The number of drawn survivors, by DRAWN_RULE.

Parameters

Name Type Description Default
survivors int The number of surviving mutants, at least 1. required

Returns

Name Type Description
int int How many of them get a proposal written for an assigned verdict.

Examples

from babregen.review.vocab import drawn_count

print([drawn_count(n) for n in (1, 2, 3, 5, 15, 25, 31)])
[0, 1, 1, 1, 2, 3, 3]