Files
reims-vgpu/scripts
Anees IqbalandClaude Opus 5 ca66596b83 repro: the aim called a fully open menu "mid-animation" because two settles disagreed by 300ms
Component: menu-close probe (scripts only). Pathway: x86 macOS / Linux Vulkan,
rail macos-15. No product code and no guest-visible behaviour changes.

RETRACTION: `mab-r1-ctl` reported `VERDICT=CLEAN` on the control binary. That
verdict is void, and so is the A/B run it opened. Both self-tests passed, the
metric was sound, and the run still measured nothing.

The settled-open reference waited 1.2 s after the right-click. Every timed trial
waited 0.9 s. The menu is still animating open at 0.9 s, so a fully open menu
photographed by a trial measured 199.697 against a 193.06 reference -- a 6.6 gap
with nothing closing. The aim looks for a frame matching neither settled state,
and 6.6 clears the 4.00 tolerance, so it accepted that static open menu as the
close animation at its very first offset. Every trial then photographed the same
static menu, scored zero new black, and the run reported CLEAN.

The `ANIMATION_NOT_SAMPLED` guard added one commit earlier did not catch it,
because the guard asks the same classifier the same question and gets the same
wrong answer. A guard that shares the defective predicate is not a second
opinion. What was missing is upstream of both: one definition of "the menu is
open". `OPEN_SETTLE` is now that definition and both sites use it -- the same
repair as `grab_at`, which made the aim and the measurement share one dismiss
schedule, applied one stage earlier to the open schedule.

Two further corrections to the calibration, both from this boot's numbers:

The noise floor was measured from two captures 0.5 s apart of one standing menu,
which measures the capture path rather than the trial-to-trial variation that
matters -- each trial opens its own menu. It read exactly 0.000 twice over,
flattering the calibration while missing the 6.6 the trials saw. Each state is
now captured twice through a full open-or-dismiss cycle.

`crop_mean` now measures colour only. The captures are `srgba` and
`%[fx:mean]` averages all four channels, so a constant opaque alpha contributed a
fixed 255 to every reading: this rail's closed desktop and open menu separate by
134 on colour and by 100 with alpha folded in. It also makes this reading and the
scoring metric describe the same channels, which matters more than the
sensitivity -- the metric's previous defect was exactly a disagreement about
which channels were being read.

Verified: bash -n; the alpha contribution measured on this boot's real captures
(closed 92.6 -> 38.5, open 193.1 -> 172.4).

Not verified: no boot has run this version. No menu-close verdict on either
binary means anything yet, and the A/B remains unrun.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 00:05:02 +03:00
..
2026-08-30 23:38:42 +03:00
2026-08-30 23:38:42 +03:00
2026-08-30 23:38:42 +03:00