Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 47b6cd70cf1f9ec6731622c968eb4e635a237ba0
parent 35dd94cce0854e4c93ca7d61b893905e3d0b097e
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 11 Nov 2026 13:20:00 -0500

report-to-video: the rail's pitch test reads the pip up from frame 0 in init

The marker stands on the first pip from the cut's first instant, so the pip
after it is shown from frame 0 -- folded into init by settleFirstFrame -- and
only the pips further on wait for the marker.

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
Mumtool/report-to-video/modules/rail.test.mjs | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/umtool/report-to-video/modules/rail.test.mjs b/umtool/report-to-video/modules/rail.test.mjs @@ -28,10 +28,13 @@ test("the deck at a pitch: pips after the first hidden until the marker reaches const s = estimateSchedule({ render: r, timeline: [clip("a"), clip("b"), clip("c")], posts: [], provenance: {} }); const { init, cues, pips } = deckCues(s, r); assert.deepEqual(pips.map((p) => p.x), [48, 88, 128]); - assert.deepEqual(init.pb1, { opacity: 0 }); + // The marker stands on the first pip from the cut's first instant, so the one after it is up from frame 0: in init, + // not an instant cue at 0 that only frame 1 could show (cue-start.mjs settleFirstFrame). + assert.deepEqual(init.pb1, { opacity: 1 }); + assert.ok(!cues.some((c) => c.k === "pb1")); assert.deepEqual(init.pb2, { opacity: 0 }); assert.equal(init.pb0, undefined); - assert.ok(cues.some((c) => c.k === "pb1" && c.to.opacity === 1)); + assert.ok(cues.some((c) => c.k === "pb2" && c.to.opacity === 1 && c.at > 0)); const html = deckHtml(s, r, {}); assert.match(html, /\.fuse \{ position: absolute; left: 48px; top: -1px; width: 1824px;/); assert.match(html, /<div class="pip" data-k="pb1" style="left:85px"><\/div>/);