bug 1221: Adjust the interface of calc_assurances() to be consistent and