Ahead of the planned flopscope release and re-evaluation, we turned the billing issues we reported (#267, #270 to #285) into fixes. Each pull request is one commit on top of main (80e72a92), adds a test file that fails on main and passes with the fix, and was run against the full default suite and the parity gate before it was opened:
- #286 fix(billing): bill var and std on the broadcast a - mean when mean= enlarges a (fixes #273)
- #287 fix(billing): bill polyval on the broadcast output, not x.size (fixes #270)
- #288 fix(billing): bill a ufunc on the shape it writes when out= or where= is larger (fixes #275)
- #289 fix(billing): bill trapezoid once per integral an N-D x forms (fixes #271)
- #290 fix(symmetry): keep the unscanned axes tagged after a cumulative scan (fixes #279)
- #291 fix(billing): bill matrix_rank threshold compares per tolerance for an array tol (fixes #274)
- #292 fix(symmetry): canonicalize a result tagged through einsum’s symmetry= (fixes #284)
- #293 fix(billing): bill histogram’s bins + 1 edges and its density arithmetic (fixes #277)
- #294 fix(symmetry): drop the result’s symmetry tag when a where= mask breaks it (fixes #285)
- #299 fix(billing): price vecdot, matvec and vecmat on the axes axis=/axes= name (fixes #272)
- #300 fix(billing): bill the period branch interp runs for period= (fixes #276)
- #301 fix(billing): bill isclose and allclose on an array rtol= or atol= (fixes #278)
- #302 fix(billing): bill the factorization numpy runs for method= and hermitian=True (fixes #280)
- #303 fix(symmetry): tag einsum’s output symmetry on the axes that carry it (fixes #281)
They are independent and can be merged in any order, except #294, which builds on #288 because both change the same lines.
The attached PDF collects the audit in one place: the method (an equivalent spelling with identical values, billed on both the in-process library and the client/server stack the grader uses), the measured gaps, every issue and pull request, and a check that our own picked submissions bill the same with and without the fixes, to the FLOP.
Associated submission: 335434.
COMMUNITY_CONTRIB.pdf (241.6 KB)