def _C_term(u, n, p_0):
    p_obs_u = binom(n, p_0).pmf(u)
    return ((u - n * p_0)**2 - n * p_0 * (1 - p_0))**2 * p_obs_u
dataset/ETHPy150Open arq5x/gemini/gemini/tool_burden_tests.py/_C_term/original