Этап 4 / Волна 10: корректировка settlement-кейса — доменная фиксация синтеза, честное покрытие, удержание фокуса / Этап 4 / Волна 11: бизнес-якоря, доменное заземление и устранение утечки дебага
This commit is contained in:
@@ -129,7 +129,7 @@ describe("assistant answer leakage guard", () => {
|
||||
expect(output.assistant_reply).not.toMatch(/source_ref|canonical_ref|fragment_id|entity_id|guid|uuid/i);
|
||||
expect(output.assistant_reply).not.toMatch(/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i);
|
||||
expect(output.assistant_reply).not.toContain("evidence_source_ref_v1|");
|
||||
expect(output.assistant_reply).toMatch(/evidence|source|operations|risk/i);
|
||||
expect(output.assistant_reply).toMatch(/опор|документ|проводк|проблем/i);
|
||||
|
||||
expect(output.answer_structure_v11?.evidence_block.source_refs?.length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user