This repository has been archived on 2026-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
arm-statements/arm_statements/tests/golden/glued_balance.expected.json
Andrey Epifancev 2da7bff71a test: golden на обезличенных входах aep_3, склейки, блока «Коды» 1С и листа-продолжения НПЗ; публичный API
Пять golden-входов по Review Focus 1–5, эталоны, свойство status_input_from_contract(to_contract(d)) == status_input(d)
на golden и граничных кейсах (DISCLOSURE, без строк, абсолютная колонка без даты), test_public_api, RulesError в __all__,
README: публичный API, словари, golden-update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BJKMLHdxMwSUeYcdkwqX4W
2026-10-18 14:12:29 +04:00

412 lines
9.9 KiB
JSON
Raw Permalink 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.

{
"document_type": "BALANCE",
"form_variant": "full",
"locator": "file:glued.json;table:0",
"header": {
"organization_name": {
"text": "ООО «Пример»",
"confidence": 100.0,
"value": "ООО «Пример»"
},
"inn": {
"text": "7700000000",
"confidence": 100.0,
"value": "7700000000"
},
"report_date": {
"text": "31.12.2024",
"confidence": 100.0,
"value": "2024-12-31"
},
"units": {
"text": "тыс. руб.",
"confidence": 100.0,
"value": "тыс. руб."
},
"okud": {
"text": null,
"confidence": null,
"value": null
},
"okpo": {
"text": null,
"confidence": null,
"value": null
},
"okopf": {
"text": null,
"confidence": null,
"value": null
},
"okfs": {
"text": null,
"confidence": null,
"value": null
},
"okei": {
"text": null,
"confidence": null,
"value": null
},
"address": {
"text": null,
"confidence": null,
"value": null
},
"form_name": "Бухгалтерский баланс",
"needs_review_fields": []
},
"columns": [
{
"column_index": 2,
"label": "На 31 декабря 2024 г.",
"label_confidence": 100.0,
"period_date": "2024-12-31",
"period_kind": "absolute"
}
],
"lines": [
{
"row_index": 0,
"ref": "row:1",
"line_status": "ok",
"line_code": "1150",
"line_code_text": "1150",
"line_code_confidence": 100.0,
"line_name": "Основные средства",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "600000.00",
"string_value": null,
"text": "600000",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 1,
"ref": "row:2",
"line_status": "ok",
"line_code": "1100",
"line_code_text": "1100",
"line_code_confidence": 100.0,
"line_name": "Итого по разделу I",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "600000.00",
"string_value": null,
"text": "600000",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 2,
"ref": "row:3",
"line_status": "ok",
"line_code": "1210",
"line_code_text": "1210",
"line_code_confidence": 100.0,
"line_name": "Запасы",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "1771333.00",
"string_value": null,
"text": "1771333",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 3,
"ref": "row:4",
"line_status": "ok",
"line_code": "1200",
"line_code_text": "1200",
"line_code_confidence": 100.0,
"line_name": "Итого по разделу II",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "1771333.00",
"string_value": null,
"text": "1771333",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 4,
"ref": "row:5",
"line_status": "ok",
"line_code": "1600",
"line_code_text": "1600",
"line_code_confidence": 100.0,
"line_name": "БАЛАНС",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "2371333.00",
"string_value": null,
"text": "2371333",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 5,
"ref": "row:6",
"line_status": "ok",
"line_code": "1310",
"line_code_text": "1310",
"line_code_confidence": 100.0,
"line_name": "Уставный капитал",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "1000000.00",
"string_value": null,
"text": "1000000",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 6,
"ref": "row:7",
"line_status": "ok",
"line_code": "1370",
"line_code_text": "1370",
"line_code_confidence": 100.0,
"line_name": "Нераспределенная прибыль",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "253558.00",
"string_value": null,
"text": "253558",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 7,
"ref": "row:8",
"line_status": "ok",
"line_code": "1300",
"line_code_text": "1300",
"line_code_confidence": 100.0,
"line_name": "Итого по разделу III",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "1253558.00",
"string_value": null,
"text": "1253558",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 8,
"ref": "row:9",
"line_status": "ok",
"line_code": "1410",
"line_code_text": "1410",
"line_code_confidence": 100.0,
"line_name": "Заемные средства",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "200000.00",
"string_value": null,
"text": "200000",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 9,
"ref": "row:10",
"line_status": "ok",
"line_code": "1400",
"line_code_text": "1400",
"line_code_confidence": 100.0,
"line_name": "Итого по разделу IV",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "200000.00",
"string_value": null,
"text": "200000",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 10,
"ref": "row:11",
"line_status": "ok",
"line_code": "1510",
"line_code_text": "1510",
"line_code_confidence": 100.0,
"line_name": "Заемные средства",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "400000.00",
"string_value": null,
"text": "400000",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 11,
"ref": "row:12",
"line_status": "ok",
"line_code": "1520",
"line_code_text": "1520",
"line_code_confidence": 100.0,
"line_name": "Кредиторская задолженность",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "517775.00",
"string_value": null,
"text": "517775",
"confidence": 100.0,
"is_recognized": true,
"needs_review": false
}
]
},
{
"row_index": 12,
"ref": "row:13#1",
"line_status": "ok",
"line_code": "1500",
"line_code_text": "1500",
"line_code_confidence": 90.0,
"line_name": "Итого по разделу V",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "917775.00",
"string_value": null,
"text": "917 775",
"confidence": 90.0,
"is_recognized": false,
"needs_review": false
}
]
},
{
"row_index": 13,
"ref": "row:13#2",
"line_status": "ok",
"line_code": "1700",
"line_code_text": "1700",
"line_code_confidence": 90.0,
"line_name": "БАЛАНС",
"line_name_confidence": 100.0,
"parent_ref": null,
"needs_review": false,
"values": [
{
"column_index": 2,
"amount": "2371333.00",
"string_value": null,
"text": "2 371 333",
"confidence": 90.0,
"is_recognized": false,
"needs_review": false
}
]
}
],
"checks": {
"relations_failed": [],
"soft_relations_failed": []
},
"status": "done",
"warnings": [
{
"code": "ROW_SPLIT",
"severity": "info",
"message": "склеенная строка сетки 13 разделена на 2 строк",
"line_refs": [
"row:13#1",
"row:13#2"
],
"column_index": null,
"field": null,
"locator": null
}
]
}