Уточнить честность широкого бизнес-обзора ассистента

This commit is contained in:
2026-05-26 00:05:28 +03:00
parent baa8aa31e7
commit 92473c894f
4 changed files with 118 additions and 20 deletions
@@ -202,7 +202,8 @@ describe("assistant MCP discovery response candidate", () => {
})
);
expect(candidate.reply_text).toContain("нельзя точно подтвердить чистую прибыль");
expect(candidate.reply_text).toContain("чистую прибыль и маржу не подтверждаю");
expect(candidate.reply_text).toContain("расчетное нетто");
expect(candidate.reply_text).toContain("полный отчет о прибылях и убытках");
expect(candidate.reply_text).toContain("себестоимости");
expect(candidate.reply_text).not.toContain("47 628 853");
@@ -1003,7 +1004,7 @@ describe("assistant MCP discovery response candidate", () => {
})
);
expect(candidate.reply_text).toContain("Что видно:");
expect(candidate.reply_text).toContain("Что видно в ограниченном денежном срезе:");
expect(candidate.reply_text).toContain("НДС:");
expect(candidate.reply_text).toContain("Долги:");
expect(candidate.reply_text).toContain("Склад:");
@@ -1425,6 +1426,11 @@ describe("assistant MCP discovery response candidate", () => {
})
);
const firstLine = candidate.reply_text?.split("\n")[0] ?? "";
expect(firstLine).toContain("по ограниченному проверенному 1С-срезу");
expect(firstLine).toContain("не аудиторское заключение");
expect(firstLine).toContain("не подтвержденная чистая прибыль");
expect(candidate.reply_text).toContain("Что видно в ограниченном денежном срезе");
expect(candidate.reply_text).toContain("Что не подтверждено в этом срезе");
expect(candidate.reply_text).toContain("НДС");
expect(candidate.reply_text).toContain("долги");