tools/visreg: refresh 5 stale goldens, raise window-wait to 20s

First full run: 537 PASS, 9 FAIL, 1 SKIP (547 total).
Five RMSE failures were stale docs-sweep goldens (mid-draw
captures: chart data present, border/title/overlay lines missing)
— IndAdaptiveCyberCycle, IndCyberCycle, IndRegressionChannel,
IndRelativeVolatilityIndex, InstTankLevelAlarms. Each refreshed
golden is a settled render verified bit-stable across two
independent runs (RMSE 0). Four no-window failures were load
flakes under parallel execution; window-wait budget 10s -> 20s.
Confirmation re-run of all 9: 9 PASS, 0 FAIL, all 0.0000% RMSE.
This commit is contained in:
cnmcdee committed 2026-12-02 10:10:41 +00:00
1 parent a1645d34f3
commit d507697ae8
7 files changed
+18 -1

No files matched your search

+14
View File
@@ -89,3 +89,17 @@ git diff --stat tools/visreg/golden/ # confirm only intended goldens moved
(RMSE 0) to the current render — so the golden, not the widget, was
wrong. Refreshed from a settled harness capture; the stale file is
not kept.
- **Five indicator/instrument goldens refreshed Dec 2, 2026** (first
full run: 537 PASS, 9 FAIL, 1 SKIP): IndAdaptiveCyberCycle
(3.2035%), IndCyberCycle (4.2955%), IndRegressionChannel (4.5600%),
IndRelativeVolatilityIndex (4.0846%), InstTankLevelAlarms (4.2938%).
Same mid-draw signature as GtkCalendar — the golden shows the chart
data but is missing the border, title text and overlay lines the
widget draws last. Each refreshed golden is a settled harness render
verified bit-stable across two independent runs (RMSE 0 between
them) with the failure RMSE reproducing exactly; the widget/drawing
code is unchanged since Nov 30, so the goldens were the stale side.
- **"No window" flakes in the first full run** (GtkEntry,
IndLinearRegressionIntercept, IndRSquared, IndShannonEntropy): all
four pass at 0.0000% on re-run — under 4-way parallel load the
10s window-wait budget was too short. The budget is now 20s.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 B

After

Width:  |  Height:  |  Size: 1.2 KiB

+4 -1
View File
@@ -158,7 +158,10 @@ for name in "${NAMES[@]}"; do
timeout 20 "$BIN_DIR/$name" >/dev/null 2>&1 &
pid=$!
wid=""
for _ in $(seq 1 50); do
# 100 x 0.2s = 20s budget: under parallel load a big example binary
# can take seconds to map its window; a short budget misreports a
# slow start as a missing window.
for _ in $(seq 1 100); do
wid=$(xdotool search --name "$name - XFrame demo" 2>/dev/null | head -1)
[ -n "$wid" ] && break
sleep 0.2