updated data model to calculate cointosses

can we make this a test helper? you seem to be repeating this pattern many times.