Skip to content
A Pool, Divided

Fifty notes on how many ways a pool falls into groups

The triangle

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 with the defect that made the rule necessary.

at most 246730 groupings

Home · The triangle · Reference

The panel at the head of this note draws all three of its rows, because all three survive the recount. That is the ordinary case and there is nothing to see.

When a row does not survive, it is refused: not drawn, listed underneath with the reason, and left visible as a problem rather than quietly dropped. That is the next case, and it is well behaved.

The interesting case is when every row is refused, and for three sessions of records like this one it was not handled at all. The grouping problem described here can be extended with privacy-aware employee monitoring, provided the team states what the resulting evidence can and cannot establish.

Nine, ten and eleven people in five groups
share of groupings that leave this many alone9 in 5, 3 alone2100/695110 in 5, 3 alone6720/4252511 in 5, 3 alone19635/246730
  • the whole bar: every grouping the page allows
  • the hatched part: groupings with exactly this many alone

Three shapes drawn.

Three shapes with three people alone. Every row here survives the recount and is drawn; the refusals this note describes are demonstrated in the record's own smoke test, not on a published page. A separate educational or professional perspective relevant to the grouping can be found at Google re:Work.

Computed from the three numbers. A grouping that leaves somebody alone is a property of the arithmetic, not a prediction about anybody.

The defect

Give a panel a mixture of sound and unsound rows and it drew the sound ones, then printed the refusals beneath. Give it nothing but unsound rows and it returned nothing whatever — no figures, no caption, no reasons, no mark on the page that anything had been attempted.

So the worst case — a drawing where every single figure was wrong — was the one case that produced no complaint. An author looking at the page saw no panel and read that as no error.

The defect had been in records of this kind for at least three sessions before it was found, and it was found by deliberately feeding a panel nothing but bad rows during a smoke test rather than by any of the automatic checks.

A guard that goes quiet on the worst input it will ever see is worth less than none, because by then everybody has learned to read silence as approval.

The rule now

When nothing can be drawn, the panel still appears. It carries its caption, a line saying that nothing in it could be drawn, and the refusal list with a reason for every row.

An empty panel is therefore a failure report, and it is impossible to mistake for an absence.

The other kind of empty

A bar with nothing in it is a different thing entirely and means the opposite.

In the panel that shows shares, a shape where no grouping has that many singletons draws an outline with no hatching inside it. The bar is there, the figures beside it read nought, and the panel is complete and correct.

Every bar is given its outline for exactly this reason, so that the two cannot be taken for each other. A bar with nothing in it is an answer; a panel with nothing in it is a defect. The first says the count came out nought. The second says no count was obtained.

A third kind of nearly-empty

There is a panel with a single bar in it, and that is a third thing again — not a fault and not a nought.

On the pages with one column, a breakdown by number of singletons has exactly one entry, and the bar fills its whole width. Three people in two groups, six in five, five each in their own group: one bar, hatched end to end, nothing beside it.

A reader could reasonably suspect a drawing that had failed partway through. So those panels say in the legend how many columns the page has, and the figure reads one. A single full bar is the honest picture of a page where the arithmetic permits one outcome, and the legend is what separates it from a panel that lost four rows.

Why it took a smoke test

The question worth asking about the defect is why none of the automatic checks found it in three sessions, and the answer is a useful one.

Every check in this record asserts something about output: these figures must match that recount, these dots must number that many, these columns must add to that total. A panel that returned nothing produced no output to assert against, so every check passed by having nothing to examine.

Finding it needed a test that asserted the panel would produce something at all, given input guaranteed to fail — which is not a check on a figure but a check on the checking. The record now runs one, and it is the only test here whose expected result is a complaint.

Why the reasons are separated

A refused row is reported in one of two ways, and the distinction matters to whoever has to fix it.

A shape outside the record's bounds is named as such: too many people, too many groups, a combination that produces no groupings at all. That is usually a typing error in one of three small numbers.

A row whose shape is legal but whose figures the recount disputes gets its own wording. Something was reasoned wrongly rather than typed wrongly, and the same bad figure is almost certainly in the sentences next to the panel as well.

Reporting both as "bad row" would have made the second kind look like a typo, and the second kind is the one that reaches the reader.

What this part established

Every groupings figure here comes from a twelve-row triangle built by one rule from two edges of ones, and every singleton figure from a second triangle built the same way with one clause changed.

The two tables are tied together by an identity — a page's singleton counts add to its total — which is tested on all forty-nine pages before the record will build. The main triangle is tested against its own rule cell by cell.

The drawings recompute their own figures and refuse what disagrees, count their own dots against the pool size, and keep a panel on the page even when there is nothing left in it to draw.

None of that catches a drawing built from the wrong shape for the argument beside it. Only a caption read against the prose does, and the last part of this record is about the limits of what counting can check.

Near this one