Blog · · 5 min to read
Our skeleton test passed, and so did doing nothing
We're teaching model-maker to put a skeleton inside the animals it makes, so they can walk. We wrote a pass mark down, our fitter met it, and then we found that a placement which looks at nothing but where the feet are meets it too. Here's how that happened and what we changed.
model-maker turns a sentence into a 3-D object, and since version 0.5 it makes animals too. They stand still. To make one walk, it needs a skeleton inside it: a few bones joined at hips, knees, shoulders and along the spine. When a bone turns, the part of the body around it moves with it. Game people call this rigging.
The hard part is putting each joint in the right place. Feet, the head and the tail show on the outside. The hip and shoulder joints don't: they sit deep inside the body, and nothing on the surface marks where.

How we judged it
We marked the joints of five animals by hand (a zebra, a cat, a cow, a bison and a dog) by reading them off a grid laid over a side view. A program's joint counts as close enough when it lands within a small distance of the hand mark. Early trial runs had looked better than they were. So before the deciding check, we wrote down the pass line and saved a fingerprint of that file (a hash), so nobody could quietly change it later: at least 13 of 17 joints close enough, on 4 of the 5 animals, each one fitted using what was learned from the other four. Tails were judged separately.

We also set five more animals aside, and only two of them are marked so far. They're for one final run, once the method is frozen, because a method tuned on the same five animals it's judged on tends to look better than it is.
It passed
Our fitter places the hidden joints from body proportions. The hip, for example, sits a certain share of the way along the body and a certain share of the way up. The parts that show, like the feet and the head, come from the shape itself.
First, we had a second, separate marker mark all five animals again without seeing our marks. The two markings typically differed by 3 to 7 % of the animal's length, and by up to 13 % on single joints, most of all on the hidden ones. The pass mark allowed for that disagreement, and with it the fitter passed on all five animals. Under a plain 5 % limit it would have reached 13 on only one.
So did doing nothing
Our reviewer then tried something simple. Take the average joint positions of the other four animals, stretch them to fit between this animal's feet, and look at nothing else on the body. That answer passed too, on all five.

If an answer that does nothing can pass a test, the test can't tell a good method from a bad one. We didn't move the pass line after the deciding check. It was just too wide: once you allow for how much our two markers disagreed, almost any sensible skeleton lands close enough. Part of that gap was our own slips, too: one marking sat a little further back than the other, and one animal's hind legs were swapped. Even random error of 4 % of the body's length, added to the fit, still passed 79 times in 100.
What we changed
We kept the old pass mark and its result on record. Then, knowing these results but before marking anything new, we wrote a stricter one and saved its fingerprint too:
- a one-page guide that ties each hidden joint to something you can see, such as the point of the shoulder or the corner of the flank;
- two fresh markers who place the hidden joints by that guide, without seeing each other's marks or any fitted skeleton;
- "close enough" never wider than 8 % of the length, however much the markers disagree;
- and the new rule: the fitter's joints must be closer than the do-nothing answer's, on average by at least 1 % of the length, on 4 of the 5 animals.
We judged the current fitter once under that, unchanged, the same evening. The guide worked: the two new markers placed the hidden joints within about 2 % of each other, where the first two markings had been 5 to 8 % apart. On that finer ruler the fitter failed clearly. It got 6 to 10 of 17 joints close enough on the five animals, where 13 were needed, and it beat the do-nothing answer on none of them. On the cow and the bison, the average animal set between the feet did better than our fitter did.
So that approach is closed. Next we'll try predicting the hidden joints from a few body measures, such as the length of the trunk and the height of the back, learnt from more animals marked by the same guide. The five animals we set aside stay unused for whichever method earns them.
The lesson we'll keep from this: before trusting any test, run an answer that does nothing through it. If that passes, the test is the problem.
Words used
- Skeleton, rigging: bones inside a 3-D model that move its surface when they turn.
- Joint: the point where two bones meet, like a hip or a knee.
- Pass mark, pass line: the result a method must reach, written down before it runs.
- Hash: a short fingerprint of a file; change one letter and the fingerprint changes.
- Baseline: the simplest possible answer, used to check that a test can tell methods apart.