import math


def rule_of_thumb(m,alpha=0.92,s=0.20):
    """
    Return number of precincts to audit for given margin m.
        m = margin of victory a fraction of total votes cast
    Roughly 92\% confidence rate.
    """
    return 1.0/m * (- 2.0 * s * math.log(alpha))