pull down to refresh

I reckon that's one of the best use cases for ChatGPT, generate something that can be validated as true.
For example, generate a program in your case. If you can't compile it, and you can't generate the specific output, then it's not true, and you can correct it.
Much more dangerous to use when dealing with simply "ideas" or anything that can't be tested or proven wrong in a strong way like a compile does for example.