ap renamed to assumed_prob