@pvitraw I don't think it could be robust to any test case, there could be still cases where this would fail probably. Good find though, did you give test case input to claude by any chance , like whatever is visible on the past submission tab ?
Top 10 mathematicians
10. You can't
9. Rank them
8. Because the
7. Importance of
6. Their contributions
5. Are
4. Relative to
3. Their respective
2. Fields
1. Leonhard Euler