Depends on the model, yeah, for sure. I tried multiple models and the generated Python was still better in my opinion.
I donāt think it was the types: the code was objectively better structured, more maintainable, less junior level mistakes, if you catch my drift.