Skip to main content

Week 4 Tutorial: How many runs

Watch how far your median still moves as runs are added, and decide how much movement you are willing to live with.

18 March 2027

Before the tutorial

Read the survival analysis section of the week 3 reading, Isaksen, Gopstein and Nealen.

In the tutorial

Run your delayed player from last week over 501 seeds and keep every result. Print the median of the first 1, 5, 15, 51, 101 and 501. For reference, the 150 ms player goes 69.3 s, 69.3 s, 81.5 s, 78.2 s, 78.0 s, 73.7 s.

Then argue with your neighbour about where you would stop. There is no correct answer. Once you have picked a count, run it again on a second set of seeds and write down how far the median moved: that is the smallest difference you will claim with it. There is a cost, which is time, and the specimen makes time nearly free: 51 runs take about 166 ms.

Where it goes wrong

What a finished answer looks like

51 runs. From 51 to 501 my median moved 4.5 s, and I will not claim any difference smaller than 7 s, which is what a second set of 51 seeds moved it.

Afterwards

Your run count and the smallest difference you will claim with it are this week’s quiz answer, and every number you report for the rest of the semester carries them.

The spec

What you walk out with. Every line is something the person sitting next to you could check.

Teaching team