I was wrong, we can't assert that since I violate it on purpose ;) The constructor for PathAnimationEffect calls exit with shouldRepeat = false, because it internally calls the angle/autoRotate setters which set shouldRepeat = true. The setters can't tell which player the effect is attached to so it's set unconditionally.

So we can keep a comment about that, but not an assertion.