In my tests with coding questions, ChatGPT usually fabulates non-existent but plausible-sounding classes and similar things, so you still have to do the googling. Are you sure the humans evaluating this did a good job?