From d0c543da833cb6bc62796f4067d74173bd889a02 Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Tue, 6 Oct 2026 18:19:49 +0400 Subject: [PATCH] =?UTF-8?q?test(golden):=20s12/s14=20=E2=80=94=20=D0=B4?= =?UTF-8?q?=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D1=8B=20=D1=84=D0=BE?= =?UTF-8?q?=D1=80=D0=BC=20=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=BB=D1=83=D1=88=D0=BA=D0=B8=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D0=BF=D1=83=D1=81=D0=BA=D0=B0=20(arm-tabular-parser#14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Claude-Session: cedd7915-2efe-41e5-988c-a9117033598b --- .../synthetic/s12_statement_and_osv.json | 27 ++++++- .../synthetic/s14_statement_forms.json | 75 ++++++++++++++++++- 2 files changed, 96 insertions(+), 6 deletions(-) diff --git a/golden/expected_osv_parse/synthetic/s12_statement_and_osv.json b/golden/expected_osv_parse/synthetic/s12_statement_and_osv.json index 0ae61e8..e89c31c 100644 --- a/golden/expected_osv_parse/synthetic/s12_statement_and_osv.json +++ b/golden/expected_osv_parse/synthetic/s12_statement_and_osv.json @@ -3,12 +3,14 @@ "service": { "name": "tabular-parser" }, - "status": "done", + "status": "needs_check", "metrics": { "rows": 9, "warnings": [ "sheet=ОСВ 60 hierarchy=outline", - "sheet=Бухгалтерский баланс skipped: statement (slice 2b)" + "sheet=Бухгалтерский баланс колонка кодов не найдена", + "sheet=Бухгалтерский баланс в шапке не найдена организация", + "sheet=Бухгалтерский баланс в шапке не найдена единица измерения" ] }, "documents": [ @@ -247,6 +249,27 @@ "balance_identity_violations": [], "parent_sum_violations": [] } + }, + { + "document_type": "BALANCE", + "locator": "sheet:Бухгалтерский баланс", + "header": { + "form_name": "Бухгалтерский баланс", + "organization_name": null, + "organization_name_confidence": null, + "inn": null, + "inn_confidence": null, + "report_date_text": "на 30 сентября 2025 г.", + "report_date": "2025-09-30", + "units": null, + "okud": "0710001", + "okpo": null, + "okopf": null, + "okfs": null, + "address": null + }, + "columns": [], + "lines": [] } ] } diff --git a/golden/expected_osv_parse/synthetic/s14_statement_forms.json b/golden/expected_osv_parse/synthetic/s14_statement_forms.json index ce3aab4..64b5878 100644 --- a/golden/expected_osv_parse/synthetic/s14_statement_forms.json +++ b/golden/expected_osv_parse/synthetic/s14_statement_forms.json @@ -3,14 +3,20 @@ "service": { "name": "tabular-parser" }, - "status": "done", + "status": "needs_check", "metrics": { "rows": 9, "warnings": [ "sheet=ОСВ 60 hierarchy=outline", - "sheet=Форма 1 skipped: statement (slice 2b)", - "sheet=ОФР skipped: statement (slice 2b)", - "sheet=Форма 2 skipped: statement (slice 2b)" + "sheet=Форма 1 колонка кодов не найдена", + "sheet=Форма 1 в шапке не найдена организация", + "sheet=Форма 1 в шапке не найдена единица измерения", + "sheet=ОФР колонка кодов не найдена", + "sheet=ОФР в шапке не найдена организация", + "sheet=ОФР в шапке не найдена единица измерения", + "sheet=Форма 2 колонка кодов не найдена", + "sheet=Форма 2 в шапке не найдена организация", + "sheet=Форма 2 в шапке не найдена единица измерения" ] }, "documents": [ @@ -249,6 +255,67 @@ "balance_identity_violations": [], "parent_sum_violations": [] } + }, + { + "document_type": "BALANCE", + "locator": "sheet:Форма 1", + "header": { + "organization_name": null, + "organization_name_confidence": null, + "inn": null, + "inn_confidence": null, + "report_date_text": null, + "report_date": null, + "units": null, + "okud": "0710001", + "okpo": null, + "okopf": null, + "okfs": null, + "address": null + }, + "columns": [], + "lines": [] + }, + { + "document_type": "INCOME", + "locator": "sheet:ОФР", + "header": { + "form_name": "Отчет о финансовых результатах", + "organization_name": null, + "organization_name_confidence": null, + "inn": null, + "inn_confidence": null, + "report_date_text": null, + "report_date": null, + "units": null, + "okud": null, + "okpo": null, + "okopf": null, + "okfs": null, + "address": null + }, + "columns": [], + "lines": [] + }, + { + "document_type": "INCOME", + "locator": "sheet:Форма 2", + "header": { + "organization_name": null, + "organization_name_confidence": null, + "inn": null, + "inn_confidence": null, + "report_date_text": null, + "report_date": null, + "units": null, + "okud": "0710002", + "okpo": null, + "okopf": null, + "okfs": null, + "address": null + }, + "columns": [], + "lines": [] } ] }