Andrey Epifancev 8ee574e2cb golden/expected_osv_parse: снимки парсера для 66 ОСВ и синтетики
82 снимка (66 реальных ОСВ и 16 синтетических s01–s16) результата разбора tabular-parser (контракт 1.1) без
job_id, file_id, service.version, metrics.duration_ms. Снимки — регрессия, не оракул; ручная сверка «Итого» трёх
файлов — в отчёте задачи 12. Обновление: make golden-update в tabular-parser.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vJkmBGKKqMoEMzvsXG3y2
2026-10-05 15:28:34 +04:00

308 lines
9.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schema_version": "1.1",
"service": {
"name": "tabular-parser"
},
"status": "done",
"metrics": {
"rows": 12,
"warnings": [
"sheet=Лист_1 hierarchy=outline"
]
},
"documents": [
{
"document_type": "OSV",
"locator": "sheet:Лист_1",
"header": {
"organization_name": "АО \"Русский бисквит\"",
"organization_inn": null,
"account_code_raw": "66",
"period_text": "2 квартал 2025 г.",
"period_year": 2025,
"period_quarter": "Q2",
"is_cumulative": false,
"data_type": "BU",
"currency": "RUB",
"header_variant": 1
},
"group_schema": [
{
"type": "ACCOUNT",
"name": "Счет"
},
{
"type": "COUNTERPARTY",
"name": "Контрагенты"
},
{
"type": "CONTRACT",
"name": "Договоры"
}
],
"columns": {
"opening_debit": "E",
"opening_credit": "H",
"turnover_debit": "J",
"turnover_credit": "L",
"closing_debit": "O",
"closing_credit": "Q"
},
"rows": [
{
"row_number": 12,
"level": 0,
"parent_row_number": null,
"row_value": "66",
"group_type": "ACCOUNT",
"group_name": "Счет",
"account_code_raw": "66",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "18763074.11",
"turnover_debit": "1330140.55",
"turnover_credit": "55052741.44",
"closing_debit": null,
"closing_credit": "72485675.00",
"extra": null
},
{
"row_number": 13,
"level": 1,
"parent_row_number": 12,
"row_value": "66.01",
"group_type": "ACCOUNT",
"group_name": "Счет",
"account_code_raw": "66.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "18703370.00",
"turnover_debit": null,
"turnover_credit": "53782305.00",
"closing_debit": null,
"closing_credit": "72485675.00",
"extra": null
},
{
"row_number": 14,
"level": 2,
"parent_row_number": 13,
"row_value": "РОССЕЛЬХОЗБАНК",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "66.01",
"counterparty_name": "РОССЕЛЬХОЗБАНК",
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "18703370.00",
"turnover_debit": null,
"turnover_credit": "53782305.00",
"closing_debit": null,
"closing_credit": "72485675.00",
"extra": null
},
{
"row_number": 15,
"level": 3,
"parent_row_number": 14,
"row_value": "Россельхозбанк Договор №243500/0267 об открытии кредитной линии с лимитом выдачи",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.01",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "18703370.00",
"turnover_debit": null,
"turnover_credit": "53782305.00",
"closing_debit": null,
"closing_credit": "72485675.00",
"extra": null
},
{
"row_number": 16,
"level": 1,
"parent_row_number": 12,
"row_value": "66.02",
"group_type": "ACCOUNT",
"group_name": "Счет",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "1253022.74",
"turnover_credit": "1253022.74",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 17,
"level": 2,
"parent_row_number": 16,
"row_value": "РОССЕЛЬХОЗБАНК",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "66.02",
"counterparty_name": "РОССЕЛЬХОЗБАНК",
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "1252392.60",
"turnover_credit": "1252392.60",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 18,
"level": 3,
"parent_row_number": 17,
"row_value": "Россельхозбанк Договор №243500/0267 об открытии кредитной линии с лимитом выдачи",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "1252392.60",
"turnover_credit": "1252392.60",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 19,
"level": 2,
"parent_row_number": 16,
"row_value": "Северо-Западный Банк ПАО Сбербанк",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "66.02",
"counterparty_name": "Северо-Западный Банк ПАО Сбербанк",
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "630.14",
"turnover_credit": "630.14",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 20,
"level": 3,
"parent_row_number": 19,
"row_value": "Сбербанк Договор № 7M-GPF-6X4 за пользование лимитом",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.02",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": null,
"turnover_debit": "630.14",
"turnover_credit": "630.14",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 21,
"level": 1,
"parent_row_number": 12,
"row_value": "66.04",
"group_type": "ACCOUNT",
"group_name": "Счет",
"account_code_raw": "66.04",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "59704.11",
"turnover_debit": "77117.81",
"turnover_credit": "17413.70",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 22,
"level": 2,
"parent_row_number": 21,
"row_value": "ОФГ ООО",
"group_type": "COUNTERPARTY",
"group_name": "Контрагенты",
"account_code_raw": "66.04",
"counterparty_name": "ОФГ ООО",
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "59704.11",
"turnover_debit": "77117.81",
"turnover_credit": "17413.70",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 23,
"level": 3,
"parent_row_number": 22,
"row_value": "договор займа №28-01/2025 от 28.01.2025",
"group_type": "CONTRACT",
"group_name": "Договоры",
"account_code_raw": "66.04",
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "59704.11",
"turnover_debit": "77117.81",
"turnover_credit": "17413.70",
"closing_debit": null,
"closing_credit": null,
"extra": null
},
{
"row_number": 24,
"level": 0,
"parent_row_number": null,
"row_value": "Итого",
"group_type": "TOTAL",
"group_name": null,
"account_code_raw": null,
"counterparty_name": null,
"counterparty_inn": null,
"data_type": "BU",
"opening_debit": null,
"opening_credit": "18763074.11",
"turnover_debit": "1330140.55",
"turnover_credit": "55052741.44",
"closing_debit": null,
"closing_credit": "72485675.00",
"extra": null
}
],
"checks": {
"total_row_matches_root": true,
"balance_identity_violations": [],
"parent_sum_violations": []
}
}
]
}