ChatGPT Prone to Logic Hallucinations on Basic Algorithms

ReasonableSociety945 · reddit · 2026-07-06

Users report that when solving Shortest Job First (SJF) scheduling calculations, ChatGPT produces seemingly flawless tables that completely ignore process arrival times; it outputs Sum of Products instead of Product of Sums; and it even misinterprets a complexity of 2n as 2^n.

The user jokes that debugging these "logic hallucinations" takes more time than calculating by hand and asks if there is a reliable prompt structure to enforce strict constraints.

Original post →

More from Models

Models channel →