From 4a7eeb707628e00c6e4c978f8246ddd811ed1407 Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Thu, 12 Nov 2026 13:31:26 +0400 Subject: [PATCH 1/2] =?UTF-8?q?Golden=20=D1=84=D0=BE=D1=80=D0=BC=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B4=20pylib=5Fai=5Farm=5Fstatements=200.1.5=20(#36)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit У трёх ОФР (НПЗ 2025-Q3, Унагранде 2024-FY, Унагранде группа 2025-Q3) уходит ложное мягкое «2400 = 2300 − 2410 + 2420»: с 0.1.4 соотношения 2400 — группа альтернатив (AURORA-1864). Других изменений в снимках нет; разрез по форме (0.1.5) на Excel-фикстурах ничего не меняет. Co-Authored-By: Claude Opus 5.5 --- ...·а Январь - Сентябрь 2025 г. (НОВОРОССИЙСКИЙ ПРОКАТНЫЙ ЗАВОД).json | 24 ------------------- .../unagrande-co/2024-FY/ОФР. Лист 1.json | 24 ------------------- .../2025-Q3/ОФР. Лист 1 3кв.25.json | 24 ------------------- 3 files changed, 72 deletions(-) diff --git a/golden/expected_statement_parse/npz/2025-Q3/Бухгалтерская отчетность за Январь - Сентябрь 2025 г. (НОВОРОССИЙСКИЙ ПРОКАТНЫЙ ЗАВОД).json b/golden/expected_statement_parse/npz/2025-Q3/Бухгалтерская отчетность за Январь - Сентябрь 2025 г. (НОВОРОССИЙСКИЙ ПРОКАТНЫЙ ЗАВОД).json index 592584e..9209a6a 100644 --- a/golden/expected_statement_parse/npz/2025-Q3/Бухгалтерская отчетность за Январь - Сентябрь 2025 г. (НОВОРОССИЙСКИЙ ПРОКАТНЫЙ ЗАВОД).json +++ b/golden/expected_statement_parse/npz/2025-Q3/Бухгалтерская отчетность за Январь - Сентябрь 2025 г. (НОВОРОССИЙСКИЙ ПРОКАТНЫЙ ЗАВОД).json @@ -7163,30 +7163,6 @@ "checks": { "relations_failed": [], "soft_relations_failed": [ - { - "column_index": 10, - "relation": "2400 = 2300 - 2410 + 2420", - "codes": [ - "2400", - "2300", - "2410", - "2420" - ], - "expected": "-2235788.00", - "actual": "-3178912.00" - }, - { - "column_index": 13, - "relation": "2400 = 2300 - 2410 + 2420", - "codes": [ - "2400", - "2300", - "2410", - "2420" - ], - "expected": "240044.00", - "actual": "241791.00" - }, { "column_index": 13, "relation": "2410 = 2411 + 2412", diff --git a/golden/expected_statement_parse/unagrande-co/2024-FY/ОФР. Лист 1.json b/golden/expected_statement_parse/unagrande-co/2024-FY/ОФР. Лист 1.json index fba1035..70d1c8a 100644 --- a/golden/expected_statement_parse/unagrande-co/2024-FY/ОФР. Лист 1.json +++ b/golden/expected_statement_parse/unagrande-co/2024-FY/ОФР. Лист 1.json @@ -614,18 +614,6 @@ "checks": { "relations_failed": [], "soft_relations_failed": [ - { - "column_index": 14, - "relation": "2400 = 2300 - 2410 + 2420", - "codes": [ - "2400", - "2300", - "2410", - "2420" - ], - "expected": "816867.00", - "actual": "816486.00" - }, { "column_index": 14, "relation": "2500 = 2400 + 2510 + 2520 + 2530", @@ -639,18 +627,6 @@ "expected": null, "actual": "816867.00" }, - { - "column_index": 17, - "relation": "2400 = 2300 - 2410 + 2420", - "codes": [ - "2400", - "2300", - "2410", - "2420" - ], - "expected": "457988.00", - "actual": "458077.00" - }, { "column_index": 17, "relation": "2500 = 2400 + 2510 + 2520 + 2530", diff --git a/golden/expected_statement_parse/unagrande-group/2025-Q3/ОФР. Лист 1 3кв.25.json b/golden/expected_statement_parse/unagrande-group/2025-Q3/ОФР. Лист 1 3кв.25.json index b36e96c..a23656a 100644 --- a/golden/expected_statement_parse/unagrande-group/2025-Q3/ОФР. Лист 1 3кв.25.json +++ b/golden/expected_statement_parse/unagrande-group/2025-Q3/ОФР. Лист 1 3кв.25.json @@ -614,18 +614,6 @@ "checks": { "relations_failed": [], "soft_relations_failed": [ - { - "column_index": 14, - "relation": "2400 = 2300 - 2410 + 2420", - "codes": [ - "2400", - "2300", - "2410", - "2420" - ], - "expected": "449033.00", - "actual": "448749.00" - }, { "column_index": 14, "relation": "2500 = 2400 + 2510 + 2520 + 2530", @@ -639,18 +627,6 @@ "expected": null, "actual": "449033.00" }, - { - "column_index": 17, - "relation": "2400 = 2300 - 2410 + 2420", - "codes": [ - "2400", - "2300", - "2410", - "2420" - ], - "expected": "431027.00", - "actual": "431054.00" - }, { "column_index": 17, "relation": "2410 = 2411 + 2412", From 43b985804ba73742e6c07a8ae0f5c362f16fe5cc Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Thu, 12 Nov 2026 13:34:13 +0400 Subject: [PATCH 2/2] =?UTF-8?q?=D0=AD=D1=82=D0=B0=D0=BB=D0=BE=D0=BD=20?= =?UTF-8?q?=D0=BD=D0=BE=D1=80=D0=BC=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B0=20aep=5F3=20=D0=BF=D0=BE=D0=B4=20pylib=5Fai?= =?UTF-8?q?=5Farm=5Fstatements=200.1.5=20(#36)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit В колонках 2 и 4 ОФР aep_3 уходит мягкое «2400 = 2300 + 2410 + 2460»: с 0.1.4 оно — альтернатива группы 2400, а другая альтернатива в этих колонках сошлась (AURORA-1864). Остальные эталоны scan-gateway не изменились: разрез по форме (0.1.5) на них не срабатывает. Co-Authored-By: Claude Opus 5.5 --- ocr/expected_normalize/aep_3.json | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/ocr/expected_normalize/aep_3.json b/ocr/expected_normalize/aep_3.json index ffb68a0..abe3a91 100644 --- a/ocr/expected_normalize/aep_3.json +++ b/ocr/expected_normalize/aep_3.json @@ -2227,18 +2227,6 @@ "expected": null, "relation": "2400 = 2300 - 2410 + 2420" }, - { - "actual": "391578.00", - "codes": [ - "2400", - "2300", - "2410", - "2460" - ], - "column_index": 2, - "expected": null, - "relation": "2400 = 2300 + 2410 + 2460" - }, { "actual": "-1557.00", "codes": [ @@ -2262,18 +2250,6 @@ "expected": null, "relation": "2400 = 2300 - 2410 + 2420" }, - { - "actual": "565357.00", - "codes": [ - "2400", - "2300", - "2410", - "2460" - ], - "column_index": 4, - "expected": null, - "relation": "2400 = 2300 + 2410 + 2460" - }, { "actual": "-6172.00", "codes": [