To be fair, they don't have the text editor highlighting all the matching parens. I'd be lost too.

Yeah prediction models and many parentheses are probably not a good combination, but we're not talking about anything exceptionally complicated here. I have had syntax issues in Python as well.