Depending on what went wrong maybe it shouldn't be "repaired". They shouldn't pass the class, maybe shouldn't even be tech/cave diving (at least the level they are aspiring to via the class), or worst case even diving at all.
As an example... I continue to wonder if the woman who recently died in Peacock was a) challenged in her Cavern/Intro classes and b) showed any tendency to "bolt" at that time.
I have to agree with this.
While i think it's admirable that there are some very good instructors are willing to spend extra time with student til they master a skill, at some point there should also be the "I don't think you're cut out for tech diving" conversation as well. Unfortunately, there is nothing to stop that student from going elsewhere and finding an instructor who is willing to sign off on a card. If I recall, Rob had a student recently that did something similar.
I think too many things have gotten politically correct and gotten to the point where "everyone gets a trophy" when they play. I don't know this woman, so I can't speak about her specifically, but I have seen several other users that are pursuing tech diving who make posts that make me think they need to take up golf instead.