My year-one heat chart had some families racing each other in every heat. I built it by hand, and it showed. Some kids ran the same lane all day. A few ran three heats in a row and then didn't see the track again.
A heat chart looks like a table of cars and lanes, so it seems easy. It isn't. The numbers have to work out in a few ways at once, and the arithmetic gets harder with every car you add.
What a pinewood derby heat chart has to do
A fair chart makes three promises, and a bad one breaks at least one of them.
- Every car runs every lane the same number of times, so the track can't be blamed.
- Every car meets every other car about the same number of times, so nobody keeps drawing the same few rivals.
- Each car's heats are spread through the day, so nobody races all four early and then waits an hour.
The first two together have a name. A Perfect-N chart keeps them exactly, with every pair of cars meeting the same number of times. It only exists for some combinations of cars and lanes. For the rest, the best you can do is get every pair to within one meeting of the others, and that's a very good chart.
I didn't come up with any of this. The Perfect-N method, the math behind it and the chart generators were published by Stan Pope, and Cory Young worked with him on the generators. His pages trace the math back to a 1967 book on combinatorics. Their math is impeccable, and everything that follows stands on it.
How many heats you'll need
Take the number of cars, multiply by how many times each one runs, and divide by the number of lanes. When every car runs every lane once, each car runs as many times as you have lanes, and the lanes cancel it out. The number of heats is the number of cars.
Forty cars on four lanes is 40 heats, and every car runs four times. At about 100 seconds a heat, that's an hour and 23 minutes of racing, which I worked through in how long a pinewood derby takes.
A real chart, eight cars on four lanes
Here's a complete chart for cars A to H. Each heat lists the car in lane 1, lane 2, lane 3 and lane 4.
| Heat | Lane 1 | Lane 2 | Lane 3 | Lane 4 |
|---|---|---|---|---|
| 1 | A | C | E | H |
| 2 | B | D | F | A |
| 3 | C | E | G | B |
| 4 | D | F | H | C |
| 5 | E | G | A | D |
| 6 | F | H | B | E |
| 7 | G | A | C | F |
| 8 | H | B | D | G |
Read down any one column. Lane 1 has A to H, and so does every other lane, once each. Every car runs four times, and meets each of the other seven cars once or twice. With eight cars on four lanes that's as even as it gets.
It's built by stepping around the list. Heat 1 starts at car A. Count two cars along for lane 2, two more for lane 3, and three more for lane 4, and wrap round to the start when you run out. Then start at car B and do it again. The steps are two, two and three for eight cars on four lanes.
Why you can't do this by hand for 40 cars
The steps change with the size of the field. The ones that suit eight cars aren't the ones that suit nine, so the tables hold a different set for different sizes. Finding steps that keep opponents as even as possible means trying combinations and checking each one.
Apex Derby has the steps worked out ahead of time for 3 to 6 lanes and for fields from 3 cars up past 200. For a field it doesn't have steps for, it falls back to a random search that scores a lot of tries and keeps the best.
Either way, it doesn't stop at the first chart that works. It builds several, scores them, and keeps the best one.
Ordering the heats is our part
A chart can be perfectly fair and still be miserable to race. If a car's four heats come back to back, its family is stuck at the track, and then the car sits out the rest of the morning.
The Perfect-N charts tell you which cars race together. How fair a chart is doesn't change with the order you run its heats in, and Stan Pope's generator has optional rules for the order too. The ordering we do in Apex Derby is our own addition, and it came from something that happened.
We had 40 heats on a four-lane track, and one kid didn't get their first race until heat 28. It made things awkward, and I didn't want that happening again.
After the heats are built, we put them in order. For each slot, the software picks the heat that brings the most cars onto the track for the first time, and if several tie, the one whose cars have had the most rest. That's what keeps cars from racing back to back, and it's a strong preference, not a rule.
It does this for up to 20 versions of the chart, scores each by the longest wait between any car's runs, and keeps the best. For 40 cars on four lanes, the minimum for everyone to have run once is heat 10. It allows four heats of slack on top of that, so it aims for no car waiting past about heat 14 for its first run. (That's cars divided by lanes, plus one more heat's worth of lanes.)
That's the part I'd never have managed on a spreadsheet.
Let a computer build it
Building one of these for an odd number of cars by hand is a nightmare. Let a computer do it.
If you only need a chart to print, our free heat chart generator builds one for up to 30 racers. Before race day, look down the first column of the chart you print. Every car should show up in roughly the first third of the chart, or someone is going to wait.
Reading
- Pope's Pinewood Pages, where Stan Pope publishes the Perfect-N charts and related race-method pages
- Mathematics of Perfect-N Racing Format by Stan Pope
- Perfect-N Chart Generator by Cory Young and Stan Pope