My point was that a prompt that simple could be held and executed very well by sonnet, but all other models (especially reasoning models) crash and burn.
It's a 15 line tsx file so context shouldn't be an issue.
Makes me wonder if reasoning models are really proper models for coding in existing codebases