Skip to lesson
  1. Learn
  2. See
  3. Try
  4. Make

Turn a wrong answer into a test

What this lesson is about

Take one wrong answer and write the item that fails today and will pass after the repair.

You find the helpline giving a wrong fare for Gorakhpur. Your circle asks you to file it properly.

Why this matters

A published code check set is built this way round. Each item carries a test that fails before the repair and passes after it. So the repair is proved, not claimed. A complaint cannot be proved and cannot be fixed. An item can be handed to anybody.

Lesson 8 of 8 on Coding & reasoning evaluationnextWorked examples and SFTPart 2 ends in a work sample you can sendThe rules this work sample is read against

Read the primary or official source: Jimenez et al., SWE-bench: Can Language Models Resolve Real-World GitHub Issues? (arXiv)