The triangle
Two Ways to Check a Row
A page's singleton counts must add to its total, and that identity is tested on all forty-nine pages when the record is built. It is the strongest internal check here.
Home · The triangle ·
Nine people into four groups. One thousand two hundred and sixty groupings leave nobody alone, four thousand four hundred and ten leave one, two thousand and sixteen leave two, eighty-four leave three.
Add them: seven thousand seven hundred and seventy. That is S(9, 4) from the main triangle, arrived at by a completely different route.
Four columns drawn; 9 people in 4 groups; the columns add to all 7770 groupings the page allows; height is logarithmic, because 84 and 4410 do not fit one chart honestly otherwise. To compare group structures in live work, reviewers can see how the reports are presented and agree the decision, access rules and review date in advance.
Four columns adding to all seven thousand seven hundred and seventy groupings the page allows. The drawing performs that addition before it draws anything. A broader reference for interpreting group patterns is available from Gartner.
The column is the count of groupings with exactly that many people left alone. The counts on one page add to the page's own total, and the drawing checks it.
Why the identity has to hold
Because every grouping of nine people into four groups has some number of singletons, and exactly one such number.
So the groupings of a page fall into disjoint classes by that number, and the classes exhaust the page. Adding the class sizes must give the page total; there is nowhere else for a grouping to be.
That is not a property anybody arranged. It follows from the definition, which is what makes it worth testing: a definition can be implemented wrongly, and an identity that cannot fail by accident will catch it.
What the check actually catches
Not errors in the triangle. The two sides of the identity come from two different tables, so an error in either one breaks the agreement.
An arithmetic slip in the second triangle shows up as a sum that misses. A wrong binomial coefficient shows up the same way. A boundary condition set one step off — the commonest kind of mistake in a recursion — shows up on the pages nearest the boundary and nowhere else, which is exactly where a cursory look would not find it.
The record runs the test on all forty-nine pages when it is built, and a page that failed would stop the build rather than print.
Agreement with the total proves nothing by itself. Disagreement proves a fault somewhere, and catching that before publication is the entire purpose of running it.
The second check
The main triangle against its own rule.
Every entry should equal k times the entry above it plus the entry to its upper left. That is tested for all forty-nine cells of the table — one for each page — and it catches a different class of error: transcription, an off-by-one in an index, a cached value that never got recomputed.
Two checks against two different properties. Neither would catch everything on its own, and together they cover the failures that have actually occurred in records of this kind.
A boundary mistake, and how the addition finds it
Worth working one through, since boundary errors are the ones that survive inspection.
Suppose the second triangle had been given a diagonal of ones, by analogy with the main triangle — a plausible slip, since the main triangle's diagonal is ones and the two tables are built the same way. Then six people in four groups of at least two would be recorded as possible, one way.
The six-into-four page would acquire a nobody-alone column of one, on top of its forty-five groupings with two people alone and its twenty with three. Those add to sixty-six.
The page total is sixty-five. The addition fails by exactly one, the build stops, and the single wrong cell is named. Without the check, the page would have published a nobody-alone arrangement of six people into four groups — which does not exist, and which no reader could have disproved from the figures alone.
What neither check can catch
Whether the shape beside a paragraph is the shape the paragraph is about.
Both tests verify that the figures are consistent with the shape. If a drawing carries nine people in four groups while the prose argues about ten in three, both tests pass and the panel is still wrong. That failure has occurred before in this series of records — a drawing built from the wrong quantity, both of its checks passing, the picture saying something false.
The only guard is a caption read against the prose, which is why every drawing here is required to carry one and why a sign without a caption is reported as a fault.
A third check, cheaper than both
One comparison, and it should be made before either addition.
The alone figure can never exceed the groupings figure on the same row. One counts part of a page and the other counts all of it, so a row where the first is larger is wrong whatever any formula says, and seeing that takes a glance.
It catches less than the other two and it catches it instantly, which makes it the right thing to do first. A figure transposed — seven hundred written where one thousand seven hundred and one belongs, or the two swapped — shows up here and nowhere else as quickly.
Doing it yourself
Pick any page in this record. Read the four or five singleton counts off its drawings, add them, and compare with the page's groupings figure.
If they agree, the page is internally consistent and the arithmetic behind it is probably sound. If they do not, something here is wrong and the record would like to know — not least because the check is run automatically, so a discrepancy would mean the check itself is broken, which is the one failure the check cannot report.
Near this one
- The Two Edges the Triangle Starts From
A pool in one group falls one way. A pool in as many groups as it has people falls one way. Everything between - Where the Table Stops, and Why There
Two to twelve people, one to five groups. Both bounds were chosen, both shape every summary figure here, and o - What a Drawing Checks Before It Draws
Every panel recomputes its own figures from the shape beside them and refuses any row that disagrees. It also - A Panel That Cannot Draw Must Still Appear
When every row of a drawing is refused, the panel stays on the page and prints the reasons. Closing this part