feat: review text hits and release false-positive mappings

This commit is contained in:
muena
2026-10-19 06:44:21 +02:00
parent ebf78128c4
commit 03a793ad7c
20 changed files with 536 additions and 210 deletions

View File

@@ -60,6 +60,16 @@ describe("Nachbearbeitung von Projektständen", () => {
expect(plan.mapping).toEqual({});
});
it("gibt auch gruppierte Begriffe samt Verweisen frei und verwendet den Hauptbegriff", () => {
const plan = revision.planProjectRevision({
BEGRIFF_01: { type: "BEGRIFF", original: "Kundensoftware" },
BEGRIFF_02: { type: "BEGRIFF", original: "Kunden-App", merged_into: "BEGRIFF_01" },
}, new Set(["BEGRIFF_02"]), {});
expect(plan.released).toEqual(["BEGRIFF_01", "BEGRIFF_02"]);
expect(plan.replacements.BEGRIFF_02.original).toBe("Kundensoftware");
expect(plan.mapping).toEqual({});
});
it("repariert bereits gespeicherte Personen-Zusammenführungen in Inhalt und Dateiname", async () => {
const root = await fs.mkdtemp(join(tmpdir(), "velum-merge-repair-"));
roots.push(root);