Sadly, I must say that Opus 4.7, as observed by many here, has become too annoying to work with. GPT 5.5 has become noticeably better, but it still not satisfying for hacking the compiler.
Claude Pro vs Codex Pro on Scala compiler:
Claude is extremely good at Scala 3 and synthesizes idiomatic code, understands capture checking very, very well!
Codex: less elegant code, requires more handholding, but still fairly competent.
It flips on pencil-and-paper math.