Generator

One tug-of-war register: 32 keys, each pulled one way or the other

Rendered here at the parameters it defaults to, with every essay that calls it — which is the same list as the blast radius of changing it.
One tug-of-war register: 32 keys, each pulled one way or the otherEvery bar is one key of the stream, its height its exact count and its direction the ±1 the hash family drew for it. The register holds the sum, which is 9,034; the estimate is that number squared, 81,613,156, against a true F2 of 36,931,352 — 121.0% out on this draw. The bars very nearly cancel, and that is the mechanism rather than an accident: the cross terms cancel in expectation and what survives is the sum of the squares. Model: cash register, 20,000 updates.+1−1keys, most frequent firstΣ s(x)·f(x) = 9,034squared: 81,613,156true F2: 36,931,352121.0% outa polynomial of degree 4 · cash-register model · counts exactone register, 32 bits

One tug-of-war register: 32 keys, each pulled one way or the other

Every bar is one key of the stream, its height its exact count and its direction the ±1 the hash family drew for it. The register holds the sum, which is 9,034; the estimate is that number squared, 81,613,156, against a true F2 of 36,931,352 — 121.0% out on this draw. The bars very nearly cancel, and that is the mechanism rather than an accident: the cross terms cancel in expectation and what survives is the sum of the squares. Model: cash register, 20,000 updates.

Drawn at 700 × 224, wide on the page. Everything above is what tug-of-war-run returns with no arguments; the caption is the generator's own, computed from the numbers in the drawing rather than written beside it.

3 essays call tug-of-war-run. The drawing above is what it returns with no arguments at all; every call below passes it something, because a placement that passes nothing draws whichever member of the family the generator happens to default to rather than the one its essay argues about — which is what optcheck and figfill exist to catch.

Where it is called

Changing this generator changes every one of these figures.

The library, page 5 of 5 — where tug-of-war-run sits