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/rules/statement_warnings.yaml
Andrey Epifancev 547f9efcdb feat(#5): шаг 2 — числа правее последней подписанной колонки не колонки сумм
Столбец без подписи правее последней колонки с подписью периода колонкой сумм
не считается; вместо COLUMN_WITHOUT_DATE — info NUMBERS_OUTSIDE_TABLE с адресами
ячеек. Решение владельца 18.10.2026 (arm-ka-docs#116, Р-31).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 21:18:07 +04:00

38 lines
2.2 KiB
YAML

# Предупреждения нормализации: код -> уровень и область (спека «Шаг 8 — предупреждения»).
# scope: document — предупреждение документа; file — предупреждение файла (metrics.warnings).
# Множество кодов равно перечислению WarningCode (arm_statements/issues.py); код добавляется в обоих местах.
warnings:
JSON_FAILED: {severity: error, scope: file}
TABLE_PARSE_ERROR: {severity: error, scope: file}
TABLE_LOST: {severity: error, scope: file}
TABLE_SKIPPED: {severity: info, scope: file}
CODE_COLUMN_NOT_FOUND: {severity: error, scope: document}
SEGMENT_WITHOUT_CODES: {severity: error, scope: document}
SHEET_NOT_JOINED: {severity: error, scope: document}
CONTINUATION_TYPE_CONFLICT: {severity: error, scope: document}
SEGMENT_COLUMNS_MISMATCH: {severity: error, scope: document}
COLUMN_WITHOUT_DATE: {severity: error, scope: document}
COLUMN_DATE_UNCERTAIN: {severity: error, scope: document}
HEADER_ROW_NOT_FOUND: {severity: error, scope: document}
TYPE_CONFLICT: {severity: error, scope: document}
NO_ORGANIZATION_NO_INN: {severity: error, scope: document}
PERIOD_UNKNOWN: {severity: error, scope: document}
REPORT_DATE_UNCERTAIN: {severity: error, scope: document}
XLSB_SCALE_SUSPECT: {severity: error, scope: document}
INN_NOT_FOUND: {severity: info, scope: document}
INN_UNCERTAIN: {severity: info, scope: document}
ORGANIZATION_NOT_FOUND: {severity: info, scope: document}
ORGANIZATION_UNCERTAIN: {severity: info, scope: document}
REPORT_DATE_UNPARSED: {severity: info, scope: document}
UNITS_NOT_FOUND: {severity: info, scope: document}
FILE_TYPE_MISMATCH: {severity: info, scope: file}
XLS_NO_CODEPAGE: {severity: info, scope: file}
COLUMN_SKIPPED: {severity: info, scope: document}
FRACTIONAL_IN_THOUSANDS: {severity: info, scope: document}
XLSB_NO_FORMATS: {severity: info, scope: document}
NUMBER_FORMAT_UNPARSED: {severity: info, scope: document}
VALUE_OUT_OF_RANGE: {severity: info, scope: document}
SHEET_OTHER: {severity: info, scope: file}
ROW_SPLIT: {severity: info, scope: document}
NUMBERS_OUTSIDE_TABLE: {severity: info, scope: document}