rollWithReport

Run the same round as roll, returning its seed and final malformed-frame counts.

Shares roll's exceptions and single-use gate. On failure or cancellation no report is returned; malformedFrameCounts is still finalized before the call exits.

Samples

val round = FairRandom(seam, peers)
val report = round.rollWithReport()
check(report.malformedFrameCounts == round.malformedFrameCounts)
// If the round throws (including cancellation), inspect round.malformedFrameCounts in finally.
return report