Archilyzer · Source

archilyzer

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

commit dd0b8836517d4118f73a418fb31c91f518ca847f
parent 4340afdeaa90a10590111c53e1effcb703ab7a15
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 17 Nov 2026 18:19:25 -0500

the bench ask's byte pin holds the pre-lane route's literal bodies too, a speed of 0 among them (review 2, question b)

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

Diffstat:
Mumtool/lib/report/benchQueueParity.test.mjs | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/umtool/lib/report/benchQueueParity.test.mjs b/umtool/lib/report/benchQueueParity.test.mjs @@ -81,11 +81,18 @@ test("the untuned bench ask, byte for byte as before: Orpheus (no speed), Kokoro const e = { ...m.timeline[0], handle: "invented_nobody" }; const red = await projectRedaction(p.dir, m); const old = (spoken, engine, voice, speed, tuning, reading) => JSON.stringify({ text: spoken, engine, voice, out: "OUT", ...(speed ? { speed } : {}), ...(tuning ? { tuning } : {}), ...(reading !== null ? { reading } : {}) }); + // `old` is the pre-lane route's own body expression (4e42b042f, app/api/report/post-narration/route.ts:460), and the + // literals below are what it made for these asks: the pin holds both. let a = await benchTakeAskOf(p, e, { manifest: m, script: e.narration.script, body: {}, red }); assert.equal(JSON.stringify(askBody(a, "OUT")), old("The ferry runs at noon.", "orpheus", "zac", undefined, null, null)); + assert.equal(JSON.stringify(askBody(a, "OUT")), '{"text":"The ferry runs at noon.","engine":"orpheus","voice":"zac","out":"OUT"}'); const k = { ...e, narration: { ...e.narration, engine: "kokoro", voice: "af_heart", speed: 1.1 } }; a = await benchTakeAskOf(p, k, { manifest: m, script: k.narration.script, body: {}, red }); assert.equal(JSON.stringify(askBody(a, "OUT")), old("The ferry runs at noon.", "kokoro", "af_heart", 1.1, null, null)); + assert.equal(JSON.stringify(askBody(a, "OUT")), '{"text":"The ferry runs at noon.","engine":"kokoro","voice":"af_heart","out":"OUT","speed":1.1}'); a = await benchTakeAskOf(p, k, { manifest: m, script: k.narration.script, body: { speed: "fast" }, red }); assert.equal(JSON.stringify(askBody(a, "OUT")), old("The ferry runs at noon.", "kokoro", "af_heart", undefined, null, null), "a speed that is no number is left out"); + assert.equal(JSON.stringify(askBody(a, "OUT")), '{"text":"The ferry runs at noon.","engine":"kokoro","voice":"af_heart","out":"OUT"}'); + a = await benchTakeAskOf(p, k, { manifest: m, script: k.narration.script, body: { speed: 0 }, red }); + assert.equal(JSON.stringify(askBody(a, "OUT")), '{"text":"The ferry runs at noon.","engine":"kokoro","voice":"af_heart","out":"OUT"}', "a speed of 0 is left out, as the route left it"); });