def hear_bark(do, hb):
    tt = dict(
        tt=0.7,
        ft=0.01)
    key = make_key(do, hb)
    if key in tt:
        return tt[key]
    key = make_key(do, not hb)
    return 1 - tt[key]
dataset/ETHPy150Open eBay/bayesian-belief-networks/bayesian/examples/bbns/family_out_problem.py/hear_bark/original