Testing the limits of what the model is capable of, I decided to throw it this, and ask it to translate the JS implementation to Python:
Essentially this algorithm is meant to take tabular data produces by
JOIN queries, and turn them into nested objects, where the rows are grouped recursively by their identity columns. Not an easy task!
Well, Codex chewed through it:
Now it’s possible to take the auto-generated Python translation, and use a tool like
py2many to generate other language translations from that. Such a neat realm of possibilites to open up!