Module Expr Str Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad NameLoad attr BinOpDiv Num Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad NameLoad attr BinOpDiv Num Num AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Created on Feb 22, 2013

@organization: cert.org
 N/A unittest certfuzz.scoring.multiarmed_bandit.arms.bayes_laplace BanditArmBayesLaplace Test N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self arm N/A BanditArmBayesLaplace N/A tearDown N/A N/A self N/A N/A N/A N/A test_update_p N/A N/A self N/A N/A N/A N/A N/A N/A self arm update 1 1 N/A N/A N/A self assertEqual N/A 2.0 3.0 N/A N/A self arm probability N/A N/A N/A N/A self arm update 1 1 N/A N/A N/A self assertEqual N/A 3.0 4.0 N/A N/A self arm probability N/A N/A N/A self arm successes 0 N/A N/A N/A self assertEqual 2 N/A N/A self arm trials N/A N/A N/A N/A self arm _update_p N/A N/A N/A self assertEqual 0.25 N/A N/A self arm probability N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main