| LLMs are terrible for out-of-distribution (OOD) tasks. You should use chain of thought suppression and give constaints explictly. My prompt to Grok: --- Follow these rules exactly: - There are 13 hours, labeled 1–13. - There are 13 ticks. - The center of each number is at angle: index * (360/13) - Do not infer anything else. - Do not apply knowledge of normal clocks. Use the following variables: HOUR_COUNT = 13 ANGLE_PER_HOUR = 360 / 13 // 27.692307° Use index i ∈ [0..12] for hour marks: angle_i = i * ANGLE_PER_HOUR I want html/css (single file) of a 13-hour analog clock. --- Output from grok. https://jsfiddle.net/y9zukcnx/1/ |
"Here's the line-by-line specification of the program I need you to write. Write that program."