

def dog_out(fo, bp, do):
    tt = dict(ttt=0.99, tft=0.9, ftt=0.97, fft=0.3)
    key = make_key(fo, bp, do)
    if (key in tt):
        return tt[do]
    key = make_key(fo, bp, (not do))
    return (1 - tt[key])

dataset/ETHPy150Open eBay/bayesian-belief-networks/bayesian/examples/bbns/family_out_problem.py dog_out/VarMisuse@58/67 `key`->`do`