"""Examine binary-bet Kelly sensitivity.

Estimated probabilities are uncertain. A negative result rejects the assumed favorable bet; this is not a sizing recommendation.
All inputs are synthetic teaching examples. Run: python 12_kelly-estimation.py
"""
from tv_math import *

f=kelly(.55,1.5)
assert abs(f-.25)<1e-12
print({'full_fraction':f,'quarter_fraction':f/4})
