The accuracy of a dot product, either side of a length nobody in the program chose
At its defaults it draws the accuracy of a dot product, either side of a length nobody in the program chose. Mean relative error of a dot product of two vectors whose entries are drawn identically at every length, from 58 to 70 terms, over 40 draws each. Below 64 the kernel accumulates into one register; at 64 and above it uses four independent accumulators and combines them, which is how a tuned library uses a vector unit. The error steps down by 1.57× at the cutoff and is flat either side of it. Nothing about the problem changes there: the vectors are drawn from the same distribution, the arithmetic is the same precision, and the cutoff is a constant in somebody else's source file. A user whose problem grows across it sees the answer move, and there is nothing in their program to look at.
kernel-cutoff is one function in lib/figures/repro.js —
one sum, several answers — what a reduction's division costs, and the two policies that remove it. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
Mean relative error of a dot product of two vectors whose entries are drawn identically at every length, from 58 to 70 terms, over 40 draws each. Below 64 the kernel accumulates into one register; at 64 and above it uses four independent accumulators and combines them, which is how a tuned library uses a vector unit. The error steps down by 1.57× at the cutoff and is flat either side of it. Nothing about the problem changes there: the vectors are drawn from the same distribution, the arithmetic is the same precision, and the cutoff is a constant in somebody else's source file. A user whose problem grows across it sees the answer move, and there is nothing in their program to look at.
cutoff: 64
The arguments are the ones The length that changes the kernel passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Mean relative error of a dot product of two vectors whose entries are drawn identically at every length, from 58 to 70 terms, over 40 draws each. Below 64 the kernel accumulates into one register; at 64 and above it uses four independent accumulators and combines them, which is how a tuned library uses a vector unit. The error steps down by 1.57× at the cutoff and is flat either side of it. Nothing about the problem changes there: the vectors are drawn from the same distribution, the arithmetic is the same precision, and the cutoff is a constant in somebody else's source file. A user whose problem grows across it sees the answer move, and there is nothing in their program to look at.
cutoff: 16
The arguments are the ones The length that changes the kernel passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Mean relative error of a dot product of two vectors whose entries are drawn identically at every length, from 10 to 22 terms, over 40 draws each. Below 16 the kernel accumulates into one register; at 16 and above it uses four independent accumulators and combines them, which is how a tuned library uses a vector unit. The error steps down by 1.38× at the cutoff and is flat either side of it. Nothing about the problem changes there: the vectors are drawn from the same distribution, the arithmetic is the same precision, and the cutoff is a constant in somebody else's source file. A user whose problem grows across it sees the answer move, and there is nothing in their program to look at.
cutoff: 32
The arguments are the ones The length that changes the kernel passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Mean relative error of a dot product of two vectors whose entries are drawn identically at every length, from 26 to 38 terms, over 40 draws each. Below 32 the kernel accumulates into one register; at 32 and above it uses four independent accumulators and combines them, which is how a tuned library uses a vector unit. The error steps down by 1.46× at the cutoff and is flat either side of it. Nothing about the problem changes there: the vectors are drawn from the same distribution, the arithmetic is the same precision, and the cutoff is a constant in somebody else's source file. A user whose problem grows across it sees the answer move, and there is nothing in their program to look at.
cutoff: 128
The arguments are the ones The length that changes the kernel passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Mean relative error of a dot product of two vectors whose entries are drawn identically at every length, from 122 to 134 terms, over 40 draws each. Below 128 the kernel accumulates into one register; at 128 and above it uses four independent accumulators and combines them, which is how a tuned library uses a vector unit. The error steps down by 1.47× at the cutoff and is flat either side of it. Nothing about the problem changes there: the vectors are drawn from the same distribution, the arithmetic is the same precision, and the cutoff is a constant in somebody else's source file. A user whose problem grows across it sees the answer move, and there is nothing in their program to look at.
cutoff: 256
The arguments are the ones The length that changes the kernel passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
Mean relative error of a dot product of two vectors whose entries are drawn identically at every length, from 250 to 262 terms, over 40 draws each. Below 256 the kernel accumulates into one register; at 256 and above it uses four independent accumulators and combines them, which is how a tuned library uses a vector unit. The error steps down by 1.79× at the cutoff and is flat either side of it. Nothing about the problem changes there: the vectors are drawn from the same distribution, the arithmetic is the same precision, and the cutoff is a constant in somebody else's source file. A user whose problem grows across it sees the answer move, and there is nothing in their program to look at.
What it checked while drawing
Every figure above checked its own claims on the way to being drawn, and a claim that failed
would have stopped the picture rather than shipped a wrong one. Those checks used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
3 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
a cutoff in the range a tuned kernel uses
a sweep with both kernels in it
the error steps at the cutoff and not at any other length
Against the rule
The rule does not apply to it. It factorises nothing, so there is no residual it could be withholding. That is worth stating rather than leaving blank: a site that reported the rule as satisfied by every generator would be counting mostly generators the rule never reached.
Across the library: the rule bites on 217
of 397 generators —
199 print a residual and
18 are exempt with a published reason;
180 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.