Module 6 · Why it goes wrong, by mechanism

Why a comma changes the answer

In this lesson

  • 8 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 7 of 10 in this chapter

This chapter’s goalDiagnose a wrong or unreliable answer by naming the mechanism behind it (sampling, training signal, tokenisation, knowledge conflict, position, version change or data share) run the two-minute test that confirms the diagnosis, and choose the mitigation that acts on that mechanism rather than on the prompt.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

The measurements

Run the same classification task with the prompt formatted two ways: Answer: with a trailing space and Answer: without. Or options labelled A to D versus 1 to 4. Or a blank line between examples versus none. These are the same task by any human reading.

Studies from 2023 and 2024 that tried this systematically found accuracy swings across equivalent formats of up to several tens of percentage points on the same model and the same items. Not on average (the average swing is smaller), but the range is that wide, and which format wins is not consistent across models.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI, Actually Explained exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘Why a comma changes the answer’, in How a Language Model Actually Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/how-llms-work/prompt-sensitivity (Accessed: 29 November 2026).