re(ui): the structural case for last -- 2 293 of 2 305, checked disc-wide

The weakness in the rest-rule finding was that `last` had been SCORED on
only two elements. It cannot be scored on more -- only two ambiguous
elements sit on a screen with a live capture -- but the entry -> hold ->
exit model makes a prediction that can be checked on all 2 305: what does
each element's FINAL keyframe look like?

  final keyframe invisible (a = 0)          1 618   transient: gone at rest
  final keyframe visible, at max alpha        675   faded in and stopped
  final keyframe visible, BELOW max alpha      12   genuinely unclear

Of the 687 that end visible, 472 have monotonically non-decreasing alpha
-- a plain fade-in that stops, [0, 255] over two keyframes in the
commonest case (pjex_eff.rat, pghud_speed_cut.t32) -- and another 203 end
at their maximum after dipping.

So `last` is structurally defensible for 2 293 of 2 305 (99.5 %), against
a dwell rule that returns a mid-movement frame by construction. Observed
correct for 2, structural for 675, model-consistent for 1 618, unclear
for 12.

The assumption carrying the 1 618 is stated rather than buried: that a
plateau-less element's animation has finished by the time the screen is
settled. The draw log establishes exactly this for the two splash glows
(drawn frames 94-115, logos 116-211) and establishes nothing for the
rest.

Default still unchanged. The case is now observational, structural and
model-based rather than two data points, but it would move 1 896 elements
and the decision belongs with whoever owns the renderer.
This commit is contained in:
Sylpheed RE agent
2026-08-29 04:34:21 +00:00
parent 4012d5b555
commit 458585d136
4 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# tools/re-capture/plateauless_endstate.py over dat/GP_*.pak -- 2026-08-29
plateau-less, multi-keyframe, ending VISIBLE: 687
alpha never decreases (a fade/slide IN that stops): 472 (68.7 %)
ends at its maximum alpha but dips on the way : 203 (29.5 %)
ends visible but NOT at maximum alpha : 12 (1.7 %)
examples of the monotone kind (alpha sequence, then scale pairs):
GP_BUNK.pak pjex_eff.rat [0, 255] [(100, 100), (100, 100)]
GP_BUNK.pak pjex_eff.rat [0, 255] [(100, 100), (100, 100)]
GP_DEBRIEFING_PILOTLOG.pak pjex_eff.rat [0, 255] [(100, 100), (100, 100)]
GP_DEBRIEFING_PILOTLOG.pak pjex_eff.rat [0, 255] [(100, 100), (100, 100)]
GP_DEBRIEFING_PILOTLOG.pak pjex_eff.rat [0, 255] [(100, 100), (100, 100)]
GP_DEBRIEFING_PILOTLOG.pak pjex_eff.rat [0, 255] [(100, 100), (100, 100)]
GP_MAIN_GAME_D2D.pak pghud_speed_cut.t32 [0, 255] [(100, 100), (100, 100)]
GP_MAIN_GAME_D2D.pak pgmsg_restart_sub.rat [255, 255] [(106, 106), (100, 100)]