The course materials say that failures will happen, and you should not count a failed rep. Instead, just try again until you complete the required number of reps.
Does this mean that for mastery you don't need to have 5, say, successes in a row? Or does mastery require that all of the reps be completed without any failed mixed in?