first commit of cmpy_bayes_util_infer_db.py