Stop at the first check that fails

Run the scene one stated rule at a time, fix the part where it first fails, and pick the smallest change that passes every check

Follow the scene in order

1. Labelworks2. Sealstops here3. Packnot reached4. Sendnot reached
The sequence stops at the first action that cannot work.

Each scene states its rules. Run it from the start, one step at a time, and at each step ask what the rules say must already be true.

More

The first step where the answer is no names the part to fix. Everything after it never got its chance, so do not blame it yet.

Then compare the repairs. Some do not work at all, and some work but change more than they need to. Try each repair against every rule again, not only the one that failed, because a big change can break a rule that was fine. Of the repairs that pass, choose the one that changes least.

1Run the scene step by step against its rules.

2The first failed step is the part to fix.

3Recheck every rule for each repair, then take the smallest one that passes.

Lesson help

Fix the first step that fails, recheck every rule, and choose the repair that changes least.

About this lesson

Try the method in a practice when you are ready.

Report

Follow the scene in order

Each scene states its rules. Run it from the start, one step at a time, and at each step ask what the rules say must already be true. The first step where the answer is no names the part to fix. Everything after it never got its chance, so do not blame it yet.

Then compare the repairs. Some do not work at all, and some work but change more than they need to. Try each repair against every rule again, not only the one that failed, because a big change can break a rule that was fine. Of the repairs that pass, choose the one that changes least.

1Run the scene step by step against its rules.

2The first failed step is the part to fix.

3Recheck every rule for each repair, then take the smallest one that passes.

1. Labelworks2. Sealstops here3. Packnot reached4. Sendnot reached
The sequence stops at the first action that cannot work.

A parcel out of order

The rules: pack before sealing; seal and label before sending; the label may go on before or after sealing. The plan is Label, Seal, Pack, Send.

Step 1, Label, needs nothing, so it works. Step 2, Seal, needs the contents packed, and they are not. The sequence stops there: Seal is the part to fix.

Moving Seal just after Pack crosses one action and gives Label, Pack, Seal, Send, which passes every rule. Moving Seal after Send fixes packing but now Send comes before Seal, so it fails a rule that was fine.

1. Labelworks2. Packworks3. Sealworks4. Sendworks
Label, Pack, Seal, Send: every action works.

Protect the crossing

The train is on the crossing from tick 6 to tick 9. The gate must close at least 1 tick before the train arrives, and stay closed until at least 1 tick after it leaves. It closes at 6 and opens at 11. Change as few ticks as you can.

Check the closing time, then the opening time, before you choose.

0123456789101112traingate closed
The gate closes the moment the train arrives.

Try it

Which repair is the smallest one that works?

  1. Close at 5; keep opening at 11
  2. Close at 5; open at 10
Show the answer

Close at 5; keep opening at 11

Right. The latest safe closing is 6 − 1 = 5, so closing at 6 fails and must move one tick. Opening at 11 already meets its rule, since the earliest safe opening is 9 + 1 = 10, so it stays. One tick changed.

Enable JavaScript to answer interactively and save your place.

Practice Scene repair

Sign in free

Practice without limits and keep your progress.