ep: Fix `teacher` and `repair` output parsers (#52213)

In some cases, we were generating a bunch of junk.

Release Notes:

- N/A
b39b995ba5Oleksiy Syvokon committed on 3/23/2026, 2:09:37 PM· committed by GitHubparent256135e
2 files changedLine totals unavailable