Out of curiosity after finishing my solution, I tried it with chatgpt 4.0
Part1 worked after me explaining a tiny bug.
Part2 however never worked. Even after explaining exactly where the bug was in the python solution got came up with, it couldn’t fix it.
It was quite fascinating watching it try over and over with different approaches, but it couldn’t even get the example working.
This just goes to show how good of a puzzle maker Eric is if it stumped gpt4 on day1 when last year gpt3.5 did the first 5 days.