completed the do_all option for plurality testing on a per fold basis