AURORA-1734, 1735, 1864: pylib_ai_arm_statements 0.1.5 #88

Merged
aep merged 2 commits from feat/87-statements-015 into main 2026-11-12 13:31:49 +03:00
Showing only changes of commit d722e0b76c - Show all commits

View File

@ -362,10 +362,10 @@ async def test_real_statements_through_worker_give_done_with_two_documents(
"1500 = 1510 + 1520 + 1530 + 1540 + 1550",
"1410 = 14101 + 14102 + 14103 + 14104 + 14105",
}
assert {item["relation"] for item in income["checks"]["soft_relations_failed"]} >= {
"2400 = 2300 - 2410 + 2420",
"2410 = 2411 + 2412",
}
income_soft = {item["relation"] for item in income["checks"]["soft_relations_failed"]}
assert "2410 = 2411 + 2412" in income_soft
# 2400 — группа альтернатив (0.1.4, AURORA-1864): одна из них в НПЗ сходится, ложного расхождения нет
assert "2400 = 2300 - 2410 + 2420" not in income_soft
# лист с единственной строкой 2400 присоединён (O-9)
assert "2400" in {line["line_code"] for line in income["lines"]}
await core.assert_quiet(request)