Archilyzer · Source

archilyzer

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

commit fe411479e865bfbfdf99bc6f82ec48b6f8c8cb17
parent b4b6b08420c1f1ce9d08c1fe8c4fef460891b73b
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri, 16 Oct 2026 16:45:53 -0400

umtool: by-hand.spec respells a word only the quote holds

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

Diffstat:
Mumtool/e2e/by-hand.spec.ts | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/umtool/e2e/by-hand.spec.ts b/umtool/e2e/by-hand.spec.ts @@ -109,8 +109,8 @@ test("Fix a mishearing: the preview's word hunks per file, then Apply writes bot await expect(tools.getByRole("combobox", { name: "iteration to work on" })).toHaveValue("1"); await tools.getByRole("button", { name: "Fix a mishearing" }).click(); const form = tools.getByRole("region", { name: "fix a mishearing" }); - await form.getByRole("textbox", { name: "heard forms" }).fill("vote"); - await form.getByRole("textbox", { name: "reads as" }).fill("ballot"); + await form.getByRole("textbox", { name: "heard forms" }).fill("everybody"); + await form.getByRole("textbox", { name: "reads as" }).fill("everyone"); await form.getByRole("button", { name: "Preview" }).click(); // Two files (the iteration's report and the article's), each its quote's hunk. @@ -118,7 +118,7 @@ test("Fix a mishearing: the preview's word hunks per file, then Apply writes bot await expect(plan).toHaveAttribute("data-respell-plan", "2"); await expect(plan.locator("[data-respell-target='iteration-report']")).toContainText("iterations/1/report.json"); await expect(plan.locator("[data-respell-target='article-report']")).toBeVisible(); - await expect(plan.locator("[data-respell-hunk]").first()).toContainText("ballot"); + await expect(plan.locator("[data-respell-hunk]").first()).toContainText("everyone"); // Nothing written by the preview. expect(json(path.join(ARTICLES, RESPELL, "report.json")).citations.q1.quote).toBe("The vote was rigged and everybody knew."); @@ -132,11 +132,11 @@ test("Fix a mishearing: the preview's word hunks per file, then Apply writes bot for (const file of [path.join(ARTICLES, RESPELL, "report.json"), path.join(ARTICLES, RESPELL, "iterations", "1", "report.json")]) { const doc = json(file); - expect(doc.citations.q1.quote).toBe("The ballot was rigged and everybody knew."); - expect(doc.respellings).toEqual([{ heard: ["vote"], reads: "ballot", note: "a synthetic note" }]); + expect(doc.citations.q1.quote).toBe("The vote was rigged and everyone knew."); + expect(doc.respellings).toEqual([{ heard: ["everybody"], reads: "everyone", note: "a synthetic note" }]); } // The report's respellings are listed with their heard forms. - await expect(form.getByRole("list", { name: "respellings" })).toContainText("“vote” → ballot"); + await expect(form.getByRole("list", { name: "respellings" })).toContainText("“everybody” → everyone"); }); test("start blank on Create, then add a claim by hand: a new section, a verdict, a citation from the record's cues", async ({ page }) => {