calculateResultProb impl