Archilyzer · Source

archilyzer

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

commit 1e76c938f99bd9898e9034b8fe7beada1124f658
parent c13f5e855718c5be46af12791076057721985624
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sat, 24 Oct 2026 04:58:47 -0400

umtool phone walk fixture: a source of its own (walk1), so clip-bench's corpus fetches of vid1 cannot widen its cache

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/e2e/fixtures/make-fixture.mjs | 14++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/umtool/e2e/fixtures/make-fixture.mjs b/umtool/e2e/fixtures/make-fixture.mjs @@ -787,6 +787,11 @@ const CUES = { [24, 27, "That is where it ends."], ], }; +// The phone walk's source: vid1's words under a name nothing fetches. A clip +// window lands in the CORPUS, keyed by video, so clip-bench's fetches of vid1 +// widen every vid1 cache -- and the phone walk asserts where its cache ENDS +// (a sentence past it is offered as a fetch). Source isolation, as vid3/vid4. +CUES.walk1 = CUES.vid1.map((r) => [...r]); for (const [vid, rows] of Object.entries(CUES)) { const dir = path.join(CHANNELS, "testchan", "data", vid); mkdirSync(dir, { recursive: true }); @@ -996,7 +1001,8 @@ const WALK = writeProject( // THE WALK ON A PHONE (phone-walk.spec.ts): its own, and WRITABLE -- the spec // confirms p01 and undoes it, and walk-fixture's counts must not move. // -// p01 3.00- 6.00 on vid1, whose sentences end at 3, 9, 12, 15 and 21 (the +// p01 3.00- 6.00 on walk1 (vid1's words, a source of its own -- see CUES.walk1), +// whose sentences end at 3, 9, 12, 15 and 21 (the // 3-6 cue runs on): `sentence ›` takes the end to 9.00, // `‹ sentence` the start to 0.00, and a drag near 9 snaps // p02 12.00-15.00 the walk's next, where Confirm on p01 lands @@ -1005,8 +1011,8 @@ const WALK = writeProject( const PHONE_WALK = writeProject( "phone-walk-fixture", manifest("phone-walk-fixture", "The Phone Walk Fixture", { siteOrigin: "https://archive.example" }, [ - { type: "clip", id: "p01", video: "vid1", start: 3.0, end: 6.0, cite: 3, section: 0, lock: true, quote: "and because" }, - { type: "clip", id: "p02", video: "vid1", start: 12.0, end: 15.0, cite: 12, section: 0, lock: true, quote: "a fourth one" }, + { type: "clip", id: "p01", video: "walk1", start: 3.0, end: 6.0, cite: 3, section: 0, lock: true, quote: "and because" }, + { type: "clip", id: "p02", video: "walk1", start: 12.0, end: 15.0, cite: 12, section: 0, lock: true, quote: "a fourth one" }, ]), ); @@ -1882,7 +1888,7 @@ for (const name of ["vid1_10.00-16.00.mp4", "vid1_14.50-18.50.mp4"]) { mkdirSync(path.join(WALK, "out", "clips-raw"), { recursive: true }); // phone-walk-fixture's: p01 in the first, p02 in the second. mkdirSync(path.join(PHONE_WALK, "out", "clips-raw"), { recursive: true }); -for (const name of ["vid1_0.00-9.00.mp4", "vid1_11.50-15.50.mp4"]) { +for (const name of ["walk1_0.00-9.00.mp4", "walk1_11.50-15.50.mp4"]) { copyFileSync(path.join(REPORT, "out", "clips-raw", "vid1_0.00-9.00.mp4"), path.join(PHONE_WALK, "out", "clips-raw", name)); } for (const name of ["vid1_0.00-9.00.mp4", "vid1_11.50-15.50.mp4", "vid1_14.50-18.50.mp4"]) {