I’ve tried 2 AI tools recently. Neither could produce the correct code to calculate the CPU temperature on a Raspberry Pi RP2040. The code worked, looked ok and even produced reasonable looking results - until I put a finger on the chip and thus raised the temp. The calculated temperature went down.
As an aside the free version of chatGPT didn’t know about anything newer than 2023 so couldn’t tell me about the RP2350