feat(ocr): эталоны нормализатора scan-gateway expected_normalize/ (Срез 3a, #12)

Эталоны для наборов aep_3 (+ aep_3_ofr), aep_5, aep_6, aep_8_form4 и README с форматом.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vJkmBGKKqMoEMzvsXG3y2
This commit is contained in:
Andrey Epifancev 2026-10-07 00:47:23 +04:00
parent 9db4759e20
commit a800db63eb
5 changed files with 2472 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Эталоны нормализатора scan-gateway (Срез 3a)
`<name>.json` — результат `OcrNormalizer` для набора `ocr/<name>.json` + `ocr/<name>_*.json` в формате
`{status, warnings, metrics, error, documents}` (документы — `statementDocument` контракта v1.2, `exclude_none`).
Обновление: `make golden-update` в scan-gateway; изменения смотреть через `git diff` и объяснять в PR.
Эталоны фиксируют поведение на реальных сканах, включая известные ограничения (решение №12 спеки: `(7744536}` → без минуса).

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
{
"documents": [],
"error": {
"code": "INVALID_DOCUMENT",
"message": "Не удалось определить тип документа."
},
"metrics": null,
"status": "error",
"warnings": [
"3f1c2b7a-0000-4000-8000-000000000001.json: INVALID_DOCUMENT: Не удалось определить тип документа."
]
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
{
"documents": [],
"error": {
"code": "INVALID_DOCUMENT",
"message": "Не удалось определить тип документа."
},
"metrics": null,
"status": "error",
"warnings": [
"3f1c2b7a-0000-4000-8000-000000000001.json: INVALID_DOCUMENT: Не удалось определить тип документа."
]
}