{
  "schema_version": "assistant_session_log_v1",
  "session_id": "asst-75K3gmR-RB",
  "started_at": "2026-03-25T17:24:03.647Z",
  "updated_at": "2026-03-25T17:24:03.672Z",
  "counters": {
    "total_messages": 2,
    "user_messages": 1,
    "assistant_messages": 1
  },
  "trace_ids": [
    "4YdpsEFZgvHFht"
  ],
  "reply_types": [
    "factual_with_explanation"
  ],
  "turns": [
    {
      "turn_id": "turn-1",
      "started_at": "2026-03-25T17:24:03.647Z",
      "completed_at": "2026-03-25T17:24:03.672Z",
      "human_block": "Вопрос: Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.\nПонято как: Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.\nДекомпозиция:\n- F1: Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.; execution_readiness=executable; route_status=routed; route=hybrid_store_plus_live\nОтвет: Итог: запрос обработан по предмету, найденные объекты подтверждены данными контура.\n\nПодтвержденные результаты:\n- Контрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 19, документов в связке 9.\n- Контрагент 502fb464-602c-11e9-a2ba-00155d012600: операций 12, документов в связке 6.\n- Контрагент 4a6289f6-6808-11e8-8e6c-50465da00436: операций 5, документов в связке 2.\n\nПочему это попало в ответ:\n- Семантическое сужение выполнено по профилю bank_settlement_mismatch.\n- Учитывались счета: 51, 60.\n- После narrowing осталось 75 из 262 записей.\n\nОснование отбора:\n- Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.\n- GUID-mode отключен: full scan без ограничителей не использовался.\n- Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact.\n\nПодтверждающие признаки:\n- broken_lifecycle\n- posting_mismatch\n- manual_intervention_suspicion\n- repeated_anomaly\n- amount_independent_risk\n- cross_domain_inconsistency\n\nПрактический смысл:\n- Результат отражает не просто объем операций, а структурные признаки разрыва цепочки и lifecycle-конфликта.\n- Контрагенты в топе приоритетны для проверки на неверный тип закрывающего документа и незавершенные связи.\n\nОграничения:\n- Выборка ограничена semantic retrieval profile.\n- Источник данных — snapshot 2020 (read-only), не live контур 1С.\n\nЧто проверить дальше:\n- Следующим шагом можно открыть технический разбор и углубить проверку по выбранным объектам.",
      "human_readable": {
        "question_raw": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
        "question_understood": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
        "decomposition": [
          "F1: Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.; execution_readiness=executable; route_status=routed; route=hybrid_store_plus_live"
        ],
        "answer": "Итог: запрос обработан по предмету, найденные объекты подтверждены данными контура.\n\nПодтвержденные результаты:\n- Контрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 19, документов в связке 9.\n- Контрагент 502fb464-602c-11e9-a2ba-00155d012600: операций 12, документов в связке 6.\n- Контрагент 4a6289f6-6808-11e8-8e6c-50465da00436: операций 5, документов в связке 2.\n\nПочему это попало в ответ:\n- Семантическое сужение выполнено по профилю bank_settlement_mismatch.\n- Учитывались счета: 51, 60.\n- После narrowing осталось 75 из 262 записей.\n\nОснование отбора:\n- Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.\n- GUID-mode отключен: full scan без ограничителей не использовался.\n- Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact.\n\nПодтверждающие признаки:\n- broken_lifecycle\n- posting_mismatch\n- manual_intervention_suspicion\n- repeated_anomaly\n- amount_independent_risk\n- cross_domain_inconsistency\n\nПрактический смысл:\n- Результат отражает не просто объем операций, а структурные признаки разрыва цепочки и lifecycle-конфликта.\n- Контрагенты в топе приоритетны для проверки на неверный тип закрывающего документа и незавершенные связи.\n\nОграничения:\n- Выборка ограничена semantic retrieval profile.\n- Источник данных — snapshot 2020 (read-only), не live контур 1С.\n\nЧто проверить дальше:\n- Следующим шагом можно открыть технический разбор и углубить проверку по выбранным объектам.",
        "reply_type": "factual_with_explanation"
      },
      "technical_json": {
        "trace_id": "4YdpsEFZgvHFht",
        "user_message": {
          "message_id": "msg-WGtz1We11p",
          "session_id": "asst-75K3gmR-RB",
          "role": "user",
          "text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
          "reply_type": null,
          "created_at": "2026-03-25T17:24:03.647Z",
          "trace_id": null,
          "debug": null
        },
        "assistant_message": {
          "message_id": "msg-PinXizPYzp",
          "session_id": "asst-75K3gmR-RB",
          "role": "assistant",
          "text": "Итог: запрос обработан по предмету, найденные объекты подтверждены данными контура.\n\nПодтвержденные результаты:\n- Контрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 19, документов в связке 9.\n- Контрагент 502fb464-602c-11e9-a2ba-00155d012600: операций 12, документов в связке 6.\n- Контрагент 4a6289f6-6808-11e8-8e6c-50465da00436: операций 5, документов в связке 2.\n\nПочему это попало в ответ:\n- Семантическое сужение выполнено по профилю bank_settlement_mismatch.\n- Учитывались счета: 51, 60.\n- После narrowing осталось 75 из 262 записей.\n\nОснование отбора:\n- Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.\n- GUID-mode отключен: full scan без ограничителей не использовался.\n- Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact.\n\nПодтверждающие признаки:\n- broken_lifecycle\n- posting_mismatch\n- manual_intervention_suspicion\n- repeated_anomaly\n- amount_independent_risk\n- cross_domain_inconsistency\n\nПрактический смысл:\n- Результат отражает не просто объем операций, а структурные признаки разрыва цепочки и lifecycle-конфликта.\n- Контрагенты в топе приоритетны для проверки на неверный тип закрывающего документа и незавершенные связи.\n\nОграничения:\n- Выборка ограничена semantic retrieval profile.\n- Источник данных — snapshot 2020 (read-only), не live контур 1С.\n\nЧто проверить дальше:\n- Следующим шагом можно открыть технический разбор и углубить проверку по выбранным объектам.",
          "reply_type": "factual_with_explanation",
          "created_at": "2026-03-25T17:24:03.672Z",
          "trace_id": "4YdpsEFZgvHFht",
          "debug": {
            "trace_id": "4YdpsEFZgvHFht",
            "prompt_version": "normalizer_v2_0_2",
            "schema_version": "v2_0_2",
            "fallback_type": "none",
            "route_summary": {
              "mode": "deterministic_v2",
              "message_in_scope": true,
              "scope_confidence": "high",
              "planner": {
                "total_fragments": 1,
                "in_scope_fragments": 1,
                "out_of_scope_fragments": 0,
                "discarded_fragments": 0,
                "contains_multiple_tasks": false
              },
              "decisions": [
                {
                  "fragment_id": "F1",
                  "domain_relevance": "in_scope",
                  "business_scope": "company_specific_accounting",
                  "candidate_labels": [
                    "cross_entity"
                  ],
                  "decision_flags": {
                    "has_multi_entity_scope": true,
                    "asks_for_chain_explanation": true,
                    "asks_for_ranking_or_top": false,
                    "asks_for_period_summary": false,
                    "asks_for_rule_check": false,
                    "asks_for_anomaly_scan": false,
                    "asks_for_exact_object_trace": false,
                    "asks_for_evidence": true,
                    "mentions_period_close_context": false
                  },
                  "execution_readiness": "executable",
                  "clarification_reason": null,
                  "soft_assumption_used": [],
                  "route_status": "routed",
                  "no_route_reason": null,
                  "route": "hybrid_store_plus_live",
                  "reason": "Multi-entity causal chain requested."
                }
              ],
              "fallback": {
                "type": "none",
                "message": null
              }
            },
            "fragments": [
              {
                "fragment_id": "F1",
                "raw_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
                "normalized_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
                "domain_relevance": "in_scope",
                "business_scope": "company_specific_accounting",
                "entity_hints": [],
                "account_hints": [
                  "51",
                  "60"
                ],
                "document_hints": [
                  "документ"
                ],
                "register_hints": [],
                "time_scope": {
                  "type": "missing",
                  "value": null,
                  "confidence": "low"
                },
                "flags": {
                  "has_multi_entity_scope": true,
                  "asks_for_chain_explanation": true,
                  "asks_for_ranking_or_top": false,
                  "asks_for_period_summary": false,
                  "asks_for_rule_check": false,
                  "asks_for_anomaly_scan": false,
                  "asks_for_exact_object_trace": false,
                  "asks_for_evidence": true,
                  "mentions_period_close_context": false
                },
                "candidate_labels": [
                  "cross_entity"
                ],
                "confidence": "medium",
                "execution_readiness": "executable",
                "clarification_reason": null,
                "soft_assumption_used": [],
                "route_status": "routed",
                "no_route_reason": null
              }
            ],
            "requirements_extracted": [
              {
                "requirement_id": "R1",
                "source_fragment_id": "F1",
                "requirement_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
                "subject_tokens": [
                  "документ",
                  "цепочка",
                  "счет_51",
                  "счет_60"
                ],
                "status": "covered",
                "route": "hybrid_store_plus_live"
              }
            ],
            "coverage_report": {
              "requirements_total": 1,
              "requirements_covered": 1,
              "requirements_uncovered": [],
              "requirements_partially_covered": [],
              "clarification_needed_for": [],
              "out_of_scope_requirements": []
            },
            "routes": [
              {
                "fragment_id": "F1",
                "route": "hybrid_store_plus_live",
                "reason": "Multi-entity causal chain requested.",
                "route_status": "routed",
                "no_route_reason": null,
                "clarification_reason": null,
                "execution_readiness": "executable"
              }
            ],
            "retrieval_status": [
              {
                "fragment_id": "F1",
                "requirement_ids": [
                  "R1"
                ],
                "route": "hybrid_store_plus_live",
                "status": "ok",
                "result_type": "chain"
              }
            ],
            "retrieval_results": [
              {
                "fragment_id": "F1",
                "requirement_ids": [
                  "R1"
                ],
                "route": "hybrid_store_plus_live",
                "status": "ok",
                "result_type": "chain",
                "items": [
                  {
                    "entity_type": "counterparty",
                    "entity_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                    "label": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                    "counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                    "operations_count": 19,
                    "document_refs_count": 9,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "invoice",
                      "vat_document",
                      "supplier_receipt"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link",
                      "closure_risk"
                    ],
                    "lifecycle_gaps": [
                      "partially_linked",
                      "period_boundary"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 63.42,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "document_has_counterparty",
                      "journal_counterparty",
                      "journal_refers_to_document"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                        "period": "2020-06-04T13:36:30",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "36",
                          "30",
                          "35",
                          "01",
                          "00",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "241101ec-a970-11ea-a2d8-00155d012600",
                        "period": "2020-06-05T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "20",
                          "50",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "fc2a439e-aaf1-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                        "period": "2020-06-04T13:36:30",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "36",
                          "30",
                          "35",
                          "01",
                          "00",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "241101ec-a970-11ea-a2d8-00155d012600",
                        "period": "2020-06-05T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "20",
                          "50",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 1
                  },
                  {
                    "entity_type": "counterparty",
                    "entity_id": "502fb464-602c-11e9-a2ba-00155d012600",
                    "label": "502fb464-602c-11e9-a2ba-00155d012600",
                    "counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
                    "operations_count": 12,
                    "document_refs_count": 6,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "invoice",
                      "vat_document",
                      "supplier_receipt"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link"
                    ],
                    "lifecycle_gaps": [
                      "partially_linked"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 52,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "journal_counterparty",
                      "journal_refers_to_document",
                      "document_has_counterparty"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                        "period": "2020-06-04T08:46:32",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "46",
                          "32",
                          "01",
                          "00",
                          "08",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:09",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "09",
                          "01",
                          "08",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "a6cc1778-cc06-11ea-a2e3-00155d012600",
                        "period": "2020-06-09T12:00:11",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "11",
                          "01",
                          "02",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                        "period": "2020-06-04T08:46:32",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "46",
                          "32",
                          "01",
                          "00",
                          "08",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:09",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "09",
                          "01",
                          "08",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 2
                  },
                  {
                    "entity_type": "counterparty",
                    "entity_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                    "label": "4a6289f6-6808-11e8-8e6c-50465da00436",
                    "counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                    "operations_count": 5,
                    "document_refs_count": 2,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "invoice",
                      "vat_document",
                      "supplier_receipt"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link",
                      "closure_risk"
                    ],
                    "lifecycle_gaps": [
                      "partially_linked",
                      "period_boundary"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 49.2,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "document_has_counterparty",
                      "journal_counterparty",
                      "journal_refers_to_document"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:07",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "07",
                          "01",
                          "19",
                          "09",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
                        "period": "2020-06-30T12:00:05",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "05",
                          "01",
                          "19",
                          "09",
                          "20",
                          "33",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "period_boundary"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:07",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "07",
                          "01",
                          "19",
                          "09",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:07",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "07",
                          "01",
                          "19",
                          "09",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
                        "period": "2020-06-30T12:00:05",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "05",
                          "01",
                          "19",
                          "09",
                          "20",
                          "33",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "period_boundary"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 3
                  },
                  {
                    "entity_type": "counterparty",
                    "entity_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                    "label": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                    "counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                    "operations_count": 3,
                    "document_refs_count": 1,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "supplier_receipt"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link",
                      "broken_lifecycle",
                      "repeated_anomaly",
                      "closure_risk"
                    ],
                    "lifecycle_gaps": [
                      "partially_linked",
                      "period_boundary"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 45.5,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "document_has_counterparty",
                      "journal_counterparty",
                      "journal_refers_to_document"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                        "period": "2020-06-19T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "20",
                          "33",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                        "period": "2020-06-19T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "20",
                          "33",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_ПоступлениеТоваровУслуг",
                        "source_id": "d57e16a8-b090-11ea-a2db-00155d012600",
                        "period": "2020-06-30T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "01",
                          "00",
                          "06",
                          "60"
                        ],
                        "document_context": [
                          "supplier_receipt",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "closure_risk",
                          "repeated_anomaly"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked",
                          "period_boundary"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                        "period": "2020-06-19T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "20",
                          "33",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                        "period": "2020-06-19T12:00:00",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "20",
                          "33",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 4
                  },
                  {
                    "entity_type": "counterparty",
                    "entity_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                    "label": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                    "counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                    "operations_count": 6,
                    "document_refs_count": 2,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "sales_document"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link"
                    ],
                    "lifecycle_gaps": [
                      "partially_linked"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 45.25,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "document_has_counterparty",
                      "journal_counterparty",
                      "journal_refers_to_document"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                        "period": "2020-06-03T00:00:01",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "03",
                          "20",
                          "66",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "supplier_receipt",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "c97e0b7b-a625-11ea-a2d8-00155d012600",
                        "period": "2020-06-03T00:00:02",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "02",
                          "88",
                          "01",
                          "03",
                          "20",
                          "15",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "supplier_receipt",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_РеализацияТоваровУслуг",
                        "source_id": "a0880b23-a643-11ea-a2d7-00155d012600",
                        "period": "2020-06-08T12:13:18",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "13",
                          "18",
                          "24",
                          "51",
                          "60"
                        ],
                        "document_context": [
                          "sales_document",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                        "period": "2020-06-03T00:00:01",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "03",
                          "20",
                          "66",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "supplier_receipt",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "c97e0b7b-a625-11ea-a2d8-00155d012600",
                        "period": "2020-06-03T00:00:02",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "02",
                          "88",
                          "01",
                          "03",
                          "20",
                          "15",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "supplier_receipt",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 5
                  },
                  {
                    "entity_type": "counterparty",
                    "entity_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                    "label": "9a4c4530-b5ae-11e8-93de-50465da00436",
                    "counterparty_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                    "operations_count": 2,
                    "document_refs_count": 1,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "invoice",
                      "vat_document"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat"
                    ],
                    "risk_factors": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "missing_link",
                      "broken_lifecycle",
                      "closure_risk",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_gaps": [
                      "period_boundary",
                      "partially_linked"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 45,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "journal_counterparty",
                      "journal_refers_to_document",
                      "document_has_counterparty"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                        "period": "2020-06-30T12:00:07",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "07",
                          "01",
                          "03",
                          "19",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "period_boundary"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                        "period": "2020-06-30T12:00:07",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "07",
                          "01",
                          "03",
                          "19",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "closure_risk",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked",
                          "period_boundary"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                        "period": "2020-06-30T12:00:07",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "07",
                          "01",
                          "03",
                          "19",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "period_boundary"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                        "period": "2020-06-30T12:00:07",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "07",
                          "01",
                          "03",
                          "19",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "closure_risk",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked",
                          "period_boundary"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 6
                  },
                  {
                    "entity_type": "counterparty",
                    "entity_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                    "label": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                    "counterparty_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                    "operations_count": 3,
                    "document_refs_count": 1,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "supplier_receipt"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link"
                    ],
                    "lifecycle_gaps": [
                      "partially_linked"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 43.75,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "document_has_counterparty",
                      "journal_counterparty",
                      "journal_refers_to_document"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:08",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "08",
                          "01",
                          "19",
                          "10",
                          "20",
                          "69",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:08",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "08",
                          "01",
                          "19",
                          "10",
                          "20",
                          "69",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_ПоступлениеТоваровУслуг",
                        "source_id": "3fbcd59d-a64f-11ea-a2d7-00155d012600",
                        "period": "2020-06-04T13:36:29",
                        "recorder": null,
                        "account_context": [
                          "01",
                          "00",
                          "06",
                          "36",
                          "29",
                          "60"
                        ],
                        "document_context": [
                          "supplier_receipt",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:08",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "08",
                          "01",
                          "19",
                          "10",
                          "20",
                          "69",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "broken_lifecycle",
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "amount_independent_risk",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                        "period": "2020-06-09T12:00:08",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "08",
                          "01",
                          "19",
                          "10",
                          "20",
                          "69",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 7
                  },
                  {
                    "entity_type": "counterparty",
                    "entity_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                    "label": "b07bb8ce-a010-11e6-91da-50465da00436",
                    "counterparty_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                    "operations_count": 3,
                    "document_refs_count": 1,
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document",
                      "invoice",
                      "vat_document",
                      "supplier_receipt"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "missing_link",
                      "broken_lifecycle",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_gaps": [
                      "partially_linked"
                    ],
                    "selection_reason": [
                      "Совпал account_scope.",
                      "Совпал domain_scope.",
                      "Совпал document_types.",
                      "Совпали relation_patterns.",
                      "Совпали anomaly_patterns."
                    ],
                    "ranking_score": 43.75,
                    "confidence": "high",
                    "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                    "relation_types": [
                      "document_has_counterparty",
                      "journal_counterparty",
                      "journal_refers_to_document"
                    ],
                    "samples": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                        "period": "2020-06-16T12:00:01",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "17",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                        "period": "2020-06-16T12:00:01",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "17",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_ПоступлениеТоваровУслуг",
                        "source_id": "9d202b38-b090-11ea-a2db-00155d012600",
                        "period": "2020-06-17T14:49:44",
                        "recorder": null,
                        "account_context": [
                          "01",
                          "00",
                          "06",
                          "49",
                          "44",
                          "60"
                        ],
                        "document_context": [
                          "supplier_receipt",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat",
                          "receipt_to_stock_movement"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "evidence_pack": [
                      {
                        "source_entity": "DocumentJournal_БанковскиеВыписки",
                        "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                        "period": "2020-06-16T12:00:01",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "17",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "document_to_posting",
                          "payment_to_settlement",
                          "statement_to_document",
                          "deferred_expense_to_writeoff",
                          "contract_to_documents"
                        ],
                        "anomaly_patterns": [
                          "posting_mismatch",
                          "manual_intervention_suspicion",
                          "amount_independent_risk"
                        ],
                        "lifecycle_markers": [
                          "created"
                        ],
                        "missing_links": 0
                      },
                      {
                        "source_entity": "Document_СписаниеСРасчетногоСчета",
                        "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                        "period": "2020-06-16T12:00:01",
                        "recorder": null,
                        "account_context": [
                          "06",
                          "00",
                          "01",
                          "17",
                          "60",
                          "51"
                        ],
                        "document_context": [
                          "bank_statement",
                          "payment_order",
                          "invoice",
                          "vat_document",
                          "manual_operation",
                          "deferred_expense_document",
                          "settlement_document"
                        ],
                        "relation_patterns": [
                          "deferred_expense_to_writeoff",
                          "invoice_to_vat"
                        ],
                        "anomaly_patterns": [
                          "missing_link",
                          "broken_lifecycle",
                          "manual_intervention_suspicion",
                          "repeated_anomaly",
                          "cross_domain_inconsistency"
                        ],
                        "lifecycle_markers": [
                          "created",
                          "partially_linked"
                        ],
                        "missing_links": 0
                      }
                    ],
                    "rank": 8
                  }
                ],
                "summary": {
                  "source_records": 262,
                  "filtered_records_after_narrowing": 75,
                  "checked_records": 75,
                  "matched_counterparties": 8,
                  "route_focus": "cross_entity_chain",
                  "semantic_narrowing_applied": true,
                  "guid_mode": false,
                  "query_subject": "bank_settlement_mismatch",
                  "semantic_profile": {
                    "query_subject": "bank_settlement_mismatch",
                    "account_scope": [
                      "51",
                      "60"
                    ],
                    "subaccount_scope": [],
                    "domain_scope": [
                      "suppliers",
                      "settlements",
                      "period_close",
                      "bank",
                      "supplier_payments"
                    ],
                    "document_types": [
                      "supplier_receipt",
                      "settlement_document",
                      "period_close_document",
                      "bank_statement",
                      "payment_order"
                    ],
                    "entity_types": [
                      "counterparty",
                      "contract",
                      "document",
                      "posting"
                    ],
                    "period_scope": {
                      "from": null,
                      "to": null,
                      "granularity": "unknown"
                    },
                    "relation_patterns": [
                      "payment_to_settlement",
                      "contract_to_documents",
                      "document_to_posting",
                      "statement_to_document"
                    ],
                    "lifecycle_stage_filters": [
                      "created",
                      "posted",
                      "closed",
                      "reconciled"
                    ],
                    "anomaly_patterns": [
                      "wrong_document_type",
                      "posting_mismatch",
                      "broken_lifecycle",
                      "closure_risk",
                      "missing_link"
                    ],
                    "ranking_basis": [
                      "closure_risk",
                      "repeatability",
                      "financial_impact"
                    ],
                    "excluded_interpretations": [],
                    "explanation_focus": [
                      "why_selected",
                      "where_chain_breaks",
                      "what_business_risk",
                      "what_conflicts_with_what",
                      "why_not_closed"
                    ]
                  },
                  "ranking_basis": [
                    "closure_risk",
                    "repeatability",
                    "financial_impact"
                  ]
                },
                "evidence": [
                  {
                    "counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                    "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-04T13:36:30",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link",
                      "closure_risk"
                    ]
                  },
                  {
                    "counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
                    "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-04T08:46:32",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link"
                    ]
                  },
                  {
                    "counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                    "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-09T12:00:07",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link",
                      "closure_risk"
                    ]
                  },
                  {
                    "counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                    "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-19T12:00:00",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link",
                      "broken_lifecycle",
                      "repeated_anomaly",
                      "closure_risk"
                    ]
                  },
                  {
                    "counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                    "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-03T00:00:01",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link"
                    ]
                  },
                  {
                    "counterparty_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                    "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-30T12:00:07",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat"
                    ],
                    "risk_factors": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "missing_link",
                      "broken_lifecycle",
                      "closure_risk",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ]
                  },
                  {
                    "counterparty_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                    "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-09T12:00:08",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency",
                      "missing_link"
                    ]
                  },
                  {
                    "counterparty_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                    "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "period": "2020-06-16T12:00:01",
                    "account_context": [
                      "51",
                      "60"
                    ],
                    "relation_pattern_hits": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "risk_factors": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "missing_link",
                      "broken_lifecycle",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ]
                  }
                ],
                "why_included": [
                  "Семантическое сужение выполнено по профилю bank_settlement_mismatch.",
                  "Учитывались счета: 51, 60.",
                  "После narrowing осталось 75 из 262 записей."
                ],
                "selection_reason": [
                  "Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.",
                  "GUID-mode отключен: full scan без ограничителей не использовался.",
                  "Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact."
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link",
                  "closure_risk"
                ],
                "business_interpretation": [
                  "Результат отражает не просто объем операций, а структурные признаки разрыва цепочки и lifecycle-конфликта.",
                  "Контрагенты в топе приоритетны для проверки на неверный тип закрывающего документа и незавершенные связи."
                ],
                "confidence": "high",
                "limitations": [
                  "Выборка ограничена semantic retrieval profile.",
                  "Источник данных — snapshot 2020 (read-only), не live контур 1С."
                ],
                "errors": []
              }
            ],
            "answer_grounding_check": {
              "status": "grounded",
              "route_subject_match": true,
              "missing_requirements": [],
              "reasons": [],
              "why_included_summary": [
                "Семантическое сужение выполнено по профилю bank_settlement_mismatch.",
                "Учитывались счета: 51, 60.",
                "После narrowing осталось 75 из 262 записей."
              ],
              "selection_reason_summary": [
                "Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.",
                "GUID-mode отключен: full scan без ограничителей не использовался.",
                "Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact."
              ]
            },
            "dropped_intent_segments": [],
            "normalized": {
              "schema_version": "normalized_query_v2_0_2",
              "user_message_raw": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
              "message_in_scope": true,
              "scope_confidence": "high",
              "contains_multiple_tasks": false,
              "fragments": [
                {
                  "fragment_id": "F1",
                  "raw_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
                  "normalized_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
                  "domain_relevance": "in_scope",
                  "business_scope": "company_specific_accounting",
                  "entity_hints": [],
                  "account_hints": [
                    "51",
                    "60"
                  ],
                  "document_hints": [
                    "документ"
                  ],
                  "register_hints": [],
                  "time_scope": {
                    "type": "missing",
                    "value": null,
                    "confidence": "low"
                  },
                  "flags": {
                    "has_multi_entity_scope": true,
                    "asks_for_chain_explanation": true,
                    "asks_for_ranking_or_top": false,
                    "asks_for_period_summary": false,
                    "asks_for_rule_check": false,
                    "asks_for_anomaly_scan": false,
                    "asks_for_exact_object_trace": false,
                    "asks_for_evidence": true,
                    "mentions_period_close_context": false
                  },
                  "candidate_labels": [
                    "cross_entity"
                  ],
                  "confidence": "medium",
                  "execution_readiness": "executable",
                  "clarification_reason": null,
                  "soft_assumption_used": [],
                  "route_status": "routed",
                  "no_route_reason": null
                }
              ],
              "discarded_fragments": [],
              "global_notes": {
                "needs_clarification": false,
                "clarification_reason": null
              }
            }
          }
        },
        "debug": {
          "trace_id": "4YdpsEFZgvHFht",
          "prompt_version": "normalizer_v2_0_2",
          "schema_version": "v2_0_2",
          "fallback_type": "none",
          "route_summary": {
            "mode": "deterministic_v2",
            "message_in_scope": true,
            "scope_confidence": "high",
            "planner": {
              "total_fragments": 1,
              "in_scope_fragments": 1,
              "out_of_scope_fragments": 0,
              "discarded_fragments": 0,
              "contains_multiple_tasks": false
            },
            "decisions": [
              {
                "fragment_id": "F1",
                "domain_relevance": "in_scope",
                "business_scope": "company_specific_accounting",
                "candidate_labels": [
                  "cross_entity"
                ],
                "decision_flags": {
                  "has_multi_entity_scope": true,
                  "asks_for_chain_explanation": true,
                  "asks_for_ranking_or_top": false,
                  "asks_for_period_summary": false,
                  "asks_for_rule_check": false,
                  "asks_for_anomaly_scan": false,
                  "asks_for_exact_object_trace": false,
                  "asks_for_evidence": true,
                  "mentions_period_close_context": false
                },
                "execution_readiness": "executable",
                "clarification_reason": null,
                "soft_assumption_used": [],
                "route_status": "routed",
                "no_route_reason": null,
                "route": "hybrid_store_plus_live",
                "reason": "Multi-entity causal chain requested."
              }
            ],
            "fallback": {
              "type": "none",
              "message": null
            }
          },
          "fragments": [
            {
              "fragment_id": "F1",
              "raw_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
              "normalized_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
              "domain_relevance": "in_scope",
              "business_scope": "company_specific_accounting",
              "entity_hints": [],
              "account_hints": [
                "51",
                "60"
              ],
              "document_hints": [
                "документ"
              ],
              "register_hints": [],
              "time_scope": {
                "type": "missing",
                "value": null,
                "confidence": "low"
              },
              "flags": {
                "has_multi_entity_scope": true,
                "asks_for_chain_explanation": true,
                "asks_for_ranking_or_top": false,
                "asks_for_period_summary": false,
                "asks_for_rule_check": false,
                "asks_for_anomaly_scan": false,
                "asks_for_exact_object_trace": false,
                "asks_for_evidence": true,
                "mentions_period_close_context": false
              },
              "candidate_labels": [
                "cross_entity"
              ],
              "confidence": "medium",
              "execution_readiness": "executable",
              "clarification_reason": null,
              "soft_assumption_used": [],
              "route_status": "routed",
              "no_route_reason": null
            }
          ],
          "requirements_extracted": [
            {
              "requirement_id": "R1",
              "source_fragment_id": "F1",
              "requirement_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
              "subject_tokens": [
                "документ",
                "цепочка",
                "счет_51",
                "счет_60"
              ],
              "status": "covered",
              "route": "hybrid_store_plus_live"
            }
          ],
          "coverage_report": {
            "requirements_total": 1,
            "requirements_covered": 1,
            "requirements_uncovered": [],
            "requirements_partially_covered": [],
            "clarification_needed_for": [],
            "out_of_scope_requirements": []
          },
          "routes": [
            {
              "fragment_id": "F1",
              "route": "hybrid_store_plus_live",
              "reason": "Multi-entity causal chain requested.",
              "route_status": "routed",
              "no_route_reason": null,
              "clarification_reason": null,
              "execution_readiness": "executable"
            }
          ],
          "retrieval_status": [
            {
              "fragment_id": "F1",
              "requirement_ids": [
                "R1"
              ],
              "route": "hybrid_store_plus_live",
              "status": "ok",
              "result_type": "chain"
            }
          ],
          "retrieval_results": [
            {
              "fragment_id": "F1",
              "requirement_ids": [
                "R1"
              ],
              "route": "hybrid_store_plus_live",
              "status": "ok",
              "result_type": "chain",
              "items": [
                {
                  "entity_type": "counterparty",
                  "entity_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                  "label": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                  "counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                  "operations_count": 19,
                  "document_refs_count": 9,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "invoice",
                    "vat_document",
                    "supplier_receipt"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "contract_to_documents",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link",
                    "closure_risk"
                  ],
                  "lifecycle_gaps": [
                    "partially_linked",
                    "period_boundary"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 63.42,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "document_has_counterparty",
                    "journal_counterparty",
                    "journal_refers_to_document"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                      "period": "2020-06-04T13:36:30",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "36",
                        "30",
                        "35",
                        "01",
                        "00",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "241101ec-a970-11ea-a2d8-00155d012600",
                      "period": "2020-06-05T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "20",
                        "50",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "fc2a439e-aaf1-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                      "period": "2020-06-04T13:36:30",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "36",
                        "30",
                        "35",
                        "01",
                        "00",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "241101ec-a970-11ea-a2d8-00155d012600",
                      "period": "2020-06-05T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "20",
                        "50",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 1
                },
                {
                  "entity_type": "counterparty",
                  "entity_id": "502fb464-602c-11e9-a2ba-00155d012600",
                  "label": "502fb464-602c-11e9-a2ba-00155d012600",
                  "counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
                  "operations_count": 12,
                  "document_refs_count": 6,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "invoice",
                    "vat_document",
                    "supplier_receipt"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link"
                  ],
                  "lifecycle_gaps": [
                    "partially_linked"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 52,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "journal_counterparty",
                    "journal_refers_to_document",
                    "document_has_counterparty"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                      "period": "2020-06-04T08:46:32",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "46",
                        "32",
                        "01",
                        "00",
                        "08",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:09",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "09",
                        "01",
                        "08",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "a6cc1778-cc06-11ea-a2e3-00155d012600",
                      "period": "2020-06-09T12:00:11",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "11",
                        "01",
                        "02",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                      "period": "2020-06-04T08:46:32",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "46",
                        "32",
                        "01",
                        "00",
                        "08",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:09",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "09",
                        "01",
                        "08",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 2
                },
                {
                  "entity_type": "counterparty",
                  "entity_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                  "label": "4a6289f6-6808-11e8-8e6c-50465da00436",
                  "counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                  "operations_count": 5,
                  "document_refs_count": 2,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "invoice",
                    "vat_document",
                    "supplier_receipt"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link",
                    "closure_risk"
                  ],
                  "lifecycle_gaps": [
                    "partially_linked",
                    "period_boundary"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 49.2,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "document_has_counterparty",
                    "journal_counterparty",
                    "journal_refers_to_document"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:07",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "07",
                        "01",
                        "19",
                        "09",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
                      "period": "2020-06-30T12:00:05",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "05",
                        "01",
                        "19",
                        "09",
                        "20",
                        "33",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "period_boundary"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:07",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "07",
                        "01",
                        "19",
                        "09",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:07",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "07",
                        "01",
                        "19",
                        "09",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
                      "period": "2020-06-30T12:00:05",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "05",
                        "01",
                        "19",
                        "09",
                        "20",
                        "33",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "period_boundary"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 3
                },
                {
                  "entity_type": "counterparty",
                  "entity_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                  "label": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                  "counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                  "operations_count": 3,
                  "document_refs_count": 1,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "invoice",
                    "vat_document",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "supplier_receipt"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link",
                    "broken_lifecycle",
                    "repeated_anomaly",
                    "closure_risk"
                  ],
                  "lifecycle_gaps": [
                    "partially_linked",
                    "period_boundary"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 45.5,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "document_has_counterparty",
                    "journal_counterparty",
                    "journal_refers_to_document"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                      "period": "2020-06-19T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "20",
                        "33",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                      "period": "2020-06-19T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "20",
                        "33",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_ПоступлениеТоваровУслуг",
                      "source_id": "d57e16a8-b090-11ea-a2db-00155d012600",
                      "period": "2020-06-30T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "01",
                        "00",
                        "06",
                        "60"
                      ],
                      "document_context": [
                        "supplier_receipt",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "closure_risk",
                        "repeated_anomaly"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked",
                        "period_boundary"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                      "period": "2020-06-19T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "20",
                        "33",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                      "period": "2020-06-19T12:00:00",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "20",
                        "33",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 4
                },
                {
                  "entity_type": "counterparty",
                  "entity_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                  "label": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                  "counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                  "operations_count": 6,
                  "document_refs_count": 2,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "supplier_receipt",
                    "invoice",
                    "vat_document",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "sales_document"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link"
                  ],
                  "lifecycle_gaps": [
                    "partially_linked"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 45.25,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "document_has_counterparty",
                    "journal_counterparty",
                    "journal_refers_to_document"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                      "period": "2020-06-03T00:00:01",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "03",
                        "20",
                        "66",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "supplier_receipt",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "c97e0b7b-a625-11ea-a2d8-00155d012600",
                      "period": "2020-06-03T00:00:02",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "02",
                        "88",
                        "01",
                        "03",
                        "20",
                        "15",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "supplier_receipt",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_РеализацияТоваровУслуг",
                      "source_id": "a0880b23-a643-11ea-a2d7-00155d012600",
                      "period": "2020-06-08T12:13:18",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "13",
                        "18",
                        "24",
                        "51",
                        "60"
                      ],
                      "document_context": [
                        "sales_document",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                      "period": "2020-06-03T00:00:01",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "03",
                        "20",
                        "66",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "supplier_receipt",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "c97e0b7b-a625-11ea-a2d8-00155d012600",
                      "period": "2020-06-03T00:00:02",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "02",
                        "88",
                        "01",
                        "03",
                        "20",
                        "15",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "supplier_receipt",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 5
                },
                {
                  "entity_type": "counterparty",
                  "entity_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                  "label": "9a4c4530-b5ae-11e8-93de-50465da00436",
                  "counterparty_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                  "operations_count": 2,
                  "document_refs_count": 1,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "invoice",
                    "vat_document"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat"
                  ],
                  "risk_factors": [
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "amount_independent_risk",
                    "missing_link",
                    "broken_lifecycle",
                    "closure_risk",
                    "repeated_anomaly",
                    "cross_domain_inconsistency"
                  ],
                  "lifecycle_gaps": [
                    "period_boundary",
                    "partially_linked"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 45,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "journal_counterparty",
                    "journal_refers_to_document",
                    "document_has_counterparty"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                      "period": "2020-06-30T12:00:07",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "07",
                        "01",
                        "03",
                        "19",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "period_boundary"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                      "period": "2020-06-30T12:00:07",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "07",
                        "01",
                        "03",
                        "19",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "closure_risk",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked",
                        "period_boundary"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                      "period": "2020-06-30T12:00:07",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "07",
                        "01",
                        "03",
                        "19",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "period_boundary"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                      "period": "2020-06-30T12:00:07",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "07",
                        "01",
                        "03",
                        "19",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "closure_risk",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked",
                        "period_boundary"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 6
                },
                {
                  "entity_type": "counterparty",
                  "entity_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                  "label": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                  "counterparty_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                  "operations_count": 3,
                  "document_refs_count": 1,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "invoice",
                    "vat_document",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "supplier_receipt"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "contract_to_documents",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link"
                  ],
                  "lifecycle_gaps": [
                    "partially_linked"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 43.75,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "document_has_counterparty",
                    "journal_counterparty",
                    "journal_refers_to_document"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:08",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "08",
                        "01",
                        "19",
                        "10",
                        "20",
                        "69",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:08",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "08",
                        "01",
                        "19",
                        "10",
                        "20",
                        "69",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_ПоступлениеТоваровУслуг",
                      "source_id": "3fbcd59d-a64f-11ea-a2d7-00155d012600",
                      "period": "2020-06-04T13:36:29",
                      "recorder": null,
                      "account_context": [
                        "01",
                        "00",
                        "06",
                        "36",
                        "29",
                        "60"
                      ],
                      "document_context": [
                        "supplier_receipt",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:08",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "08",
                        "01",
                        "19",
                        "10",
                        "20",
                        "69",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "broken_lifecycle",
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "amount_independent_risk",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                      "period": "2020-06-09T12:00:08",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "08",
                        "01",
                        "19",
                        "10",
                        "20",
                        "69",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 7
                },
                {
                  "entity_type": "counterparty",
                  "entity_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                  "label": "b07bb8ce-a010-11e6-91da-50465da00436",
                  "counterparty_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                  "operations_count": 3,
                  "document_refs_count": 1,
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "document_context": [
                    "bank_statement",
                    "payment_order",
                    "manual_operation",
                    "deferred_expense_document",
                    "settlement_document",
                    "invoice",
                    "vat_document",
                    "supplier_receipt"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "amount_independent_risk",
                    "missing_link",
                    "broken_lifecycle",
                    "repeated_anomaly",
                    "cross_domain_inconsistency"
                  ],
                  "lifecycle_gaps": [
                    "partially_linked"
                  ],
                  "selection_reason": [
                    "Совпал account_scope.",
                    "Совпал domain_scope.",
                    "Совпал document_types.",
                    "Совпали relation_patterns.",
                    "Совпали anomaly_patterns."
                  ],
                  "ranking_score": 43.75,
                  "confidence": "high",
                  "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                  "relation_types": [
                    "document_has_counterparty",
                    "journal_counterparty",
                    "journal_refers_to_document"
                  ],
                  "samples": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                      "period": "2020-06-16T12:00:01",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "17",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                      "period": "2020-06-16T12:00:01",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "17",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_ПоступлениеТоваровУслуг",
                      "source_id": "9d202b38-b090-11ea-a2db-00155d012600",
                      "period": "2020-06-17T14:49:44",
                      "recorder": null,
                      "account_context": [
                        "01",
                        "00",
                        "06",
                        "49",
                        "44",
                        "60"
                      ],
                      "document_context": [
                        "supplier_receipt",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat",
                        "receipt_to_stock_movement"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "evidence_pack": [
                    {
                      "source_entity": "DocumentJournal_БанковскиеВыписки",
                      "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                      "period": "2020-06-16T12:00:01",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "17",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "document_to_posting",
                        "payment_to_settlement",
                        "statement_to_document",
                        "deferred_expense_to_writeoff",
                        "contract_to_documents"
                      ],
                      "anomaly_patterns": [
                        "posting_mismatch",
                        "manual_intervention_suspicion",
                        "amount_independent_risk"
                      ],
                      "lifecycle_markers": [
                        "created"
                      ],
                      "missing_links": 0
                    },
                    {
                      "source_entity": "Document_СписаниеСРасчетногоСчета",
                      "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                      "period": "2020-06-16T12:00:01",
                      "recorder": null,
                      "account_context": [
                        "06",
                        "00",
                        "01",
                        "17",
                        "60",
                        "51"
                      ],
                      "document_context": [
                        "bank_statement",
                        "payment_order",
                        "invoice",
                        "vat_document",
                        "manual_operation",
                        "deferred_expense_document",
                        "settlement_document"
                      ],
                      "relation_patterns": [
                        "deferred_expense_to_writeoff",
                        "invoice_to_vat"
                      ],
                      "anomaly_patterns": [
                        "missing_link",
                        "broken_lifecycle",
                        "manual_intervention_suspicion",
                        "repeated_anomaly",
                        "cross_domain_inconsistency"
                      ],
                      "lifecycle_markers": [
                        "created",
                        "partially_linked"
                      ],
                      "missing_links": 0
                    }
                  ],
                  "rank": 8
                }
              ],
              "summary": {
                "source_records": 262,
                "filtered_records_after_narrowing": 75,
                "checked_records": 75,
                "matched_counterparties": 8,
                "route_focus": "cross_entity_chain",
                "semantic_narrowing_applied": true,
                "guid_mode": false,
                "query_subject": "bank_settlement_mismatch",
                "semantic_profile": {
                  "query_subject": "bank_settlement_mismatch",
                  "account_scope": [
                    "51",
                    "60"
                  ],
                  "subaccount_scope": [],
                  "domain_scope": [
                    "suppliers",
                    "settlements",
                    "period_close",
                    "bank",
                    "supplier_payments"
                  ],
                  "document_types": [
                    "supplier_receipt",
                    "settlement_document",
                    "period_close_document",
                    "bank_statement",
                    "payment_order"
                  ],
                  "entity_types": [
                    "counterparty",
                    "contract",
                    "document",
                    "posting"
                  ],
                  "period_scope": {
                    "from": null,
                    "to": null,
                    "granularity": "unknown"
                  },
                  "relation_patterns": [
                    "payment_to_settlement",
                    "contract_to_documents",
                    "document_to_posting",
                    "statement_to_document"
                  ],
                  "lifecycle_stage_filters": [
                    "created",
                    "posted",
                    "closed",
                    "reconciled"
                  ],
                  "anomaly_patterns": [
                    "wrong_document_type",
                    "posting_mismatch",
                    "broken_lifecycle",
                    "closure_risk",
                    "missing_link"
                  ],
                  "ranking_basis": [
                    "closure_risk",
                    "repeatability",
                    "financial_impact"
                  ],
                  "excluded_interpretations": [],
                  "explanation_focus": [
                    "why_selected",
                    "where_chain_breaks",
                    "what_business_risk",
                    "what_conflicts_with_what",
                    "why_not_closed"
                  ]
                },
                "ranking_basis": [
                  "closure_risk",
                  "repeatability",
                  "financial_impact"
                ]
              },
              "evidence": [
                {
                  "counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                  "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-04T13:36:30",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "contract_to_documents",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link",
                    "closure_risk"
                  ]
                },
                {
                  "counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
                  "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-04T08:46:32",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link"
                  ]
                },
                {
                  "counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                  "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-09T12:00:07",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link",
                    "closure_risk"
                  ]
                },
                {
                  "counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                  "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-19T12:00:00",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link",
                    "broken_lifecycle",
                    "repeated_anomaly",
                    "closure_risk"
                  ]
                },
                {
                  "counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                  "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-03T00:00:01",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link"
                  ]
                },
                {
                  "counterparty_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                  "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-30T12:00:07",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat"
                  ],
                  "risk_factors": [
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "amount_independent_risk",
                    "missing_link",
                    "broken_lifecycle",
                    "closure_risk",
                    "repeated_anomaly",
                    "cross_domain_inconsistency"
                  ]
                },
                {
                  "counterparty_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                  "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-09T12:00:08",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "invoice_to_vat",
                    "contract_to_documents",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "broken_lifecycle",
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "repeated_anomaly",
                    "amount_independent_risk",
                    "cross_domain_inconsistency",
                    "missing_link"
                  ]
                },
                {
                  "counterparty_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                  "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                  "source_entity": "DocumentJournal_БанковскиеВыписки",
                  "period": "2020-06-16T12:00:01",
                  "account_context": [
                    "51",
                    "60"
                  ],
                  "relation_pattern_hits": [
                    "document_to_posting",
                    "payment_to_settlement",
                    "statement_to_document",
                    "deferred_expense_to_writeoff",
                    "contract_to_documents",
                    "invoice_to_vat",
                    "receipt_to_stock_movement"
                  ],
                  "risk_factors": [
                    "posting_mismatch",
                    "manual_intervention_suspicion",
                    "amount_independent_risk",
                    "missing_link",
                    "broken_lifecycle",
                    "repeated_anomaly",
                    "cross_domain_inconsistency"
                  ]
                }
              ],
              "why_included": [
                "Семантическое сужение выполнено по профилю bank_settlement_mismatch.",
                "Учитывались счета: 51, 60.",
                "После narrowing осталось 75 из 262 записей."
              ],
              "selection_reason": [
                "Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.",
                "GUID-mode отключен: full scan без ограничителей не использовался.",
                "Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact."
              ],
              "risk_factors": [
                "broken_lifecycle",
                "posting_mismatch",
                "manual_intervention_suspicion",
                "repeated_anomaly",
                "amount_independent_risk",
                "cross_domain_inconsistency",
                "missing_link",
                "closure_risk"
              ],
              "business_interpretation": [
                "Результат отражает не просто объем операций, а структурные признаки разрыва цепочки и lifecycle-конфликта.",
                "Контрагенты в топе приоритетны для проверки на неверный тип закрывающего документа и незавершенные связи."
              ],
              "confidence": "high",
              "limitations": [
                "Выборка ограничена semantic retrieval profile.",
                "Источник данных — snapshot 2020 (read-only), не live контур 1С."
              ],
              "errors": []
            }
          ],
          "answer_grounding_check": {
            "status": "grounded",
            "route_subject_match": true,
            "missing_requirements": [],
            "reasons": [],
            "why_included_summary": [
              "Семантическое сужение выполнено по профилю bank_settlement_mismatch.",
              "Учитывались счета: 51, 60.",
              "После narrowing осталось 75 из 262 записей."
            ],
            "selection_reason_summary": [
              "Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.",
              "GUID-mode отключен: full scan без ограничителей не использовался.",
              "Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact."
            ]
          },
          "dropped_intent_segments": [],
          "normalized": {
            "schema_version": "normalized_query_v2_0_2",
            "user_message_raw": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
            "message_in_scope": true,
            "scope_confidence": "high",
            "contains_multiple_tasks": false,
            "fragments": [
              {
                "fragment_id": "F1",
                "raw_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
                "normalized_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
                "domain_relevance": "in_scope",
                "business_scope": "company_specific_accounting",
                "entity_hints": [],
                "account_hints": [
                  "51",
                  "60"
                ],
                "document_hints": [
                  "документ"
                ],
                "register_hints": [],
                "time_scope": {
                  "type": "missing",
                  "value": null,
                  "confidence": "low"
                },
                "flags": {
                  "has_multi_entity_scope": true,
                  "asks_for_chain_explanation": true,
                  "asks_for_ranking_or_top": false,
                  "asks_for_period_summary": false,
                  "asks_for_rule_check": false,
                  "asks_for_anomaly_scan": false,
                  "asks_for_exact_object_trace": false,
                  "asks_for_evidence": true,
                  "mentions_period_close_context": false
                },
                "candidate_labels": [
                  "cross_entity"
                ],
                "confidence": "medium",
                "execution_readiness": "executable",
                "clarification_reason": null,
                "soft_assumption_used": [],
                "route_status": "routed",
                "no_route_reason": null
              }
            ],
            "discarded_fragments": [],
            "global_notes": {
              "needs_clarification": false,
              "clarification_reason": null
            }
          }
        }
      }
    }
  ],
  "conversation": [
    {
      "message_id": "msg-WGtz1We11p",
      "session_id": "asst-75K3gmR-RB",
      "role": "user",
      "text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
      "reply_type": null,
      "created_at": "2026-03-25T17:24:03.647Z",
      "trace_id": null,
      "debug": null
    },
    {
      "message_id": "msg-PinXizPYzp",
      "session_id": "asst-75K3gmR-RB",
      "role": "assistant",
      "text": "Итог: запрос обработан по предмету, найденные объекты подтверждены данными контура.\n\nПодтвержденные результаты:\n- Контрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 19, документов в связке 9.\n- Контрагент 502fb464-602c-11e9-a2ba-00155d012600: операций 12, документов в связке 6.\n- Контрагент 4a6289f6-6808-11e8-8e6c-50465da00436: операций 5, документов в связке 2.\n\nПочему это попало в ответ:\n- Семантическое сужение выполнено по профилю bank_settlement_mismatch.\n- Учитывались счета: 51, 60.\n- После narrowing осталось 75 из 262 записей.\n\nОснование отбора:\n- Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.\n- GUID-mode отключен: full scan без ограничителей не использовался.\n- Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact.\n\nПодтверждающие признаки:\n- broken_lifecycle\n- posting_mismatch\n- manual_intervention_suspicion\n- repeated_anomaly\n- amount_independent_risk\n- cross_domain_inconsistency\n\nПрактический смысл:\n- Результат отражает не просто объем операций, а структурные признаки разрыва цепочки и lifecycle-конфликта.\n- Контрагенты в топе приоритетны для проверки на неверный тип закрывающего документа и незавершенные связи.\n\nОграничения:\n- Выборка ограничена semantic retrieval profile.\n- Источник данных — snapshot 2020 (read-only), не live контур 1С.\n\nЧто проверить дальше:\n- Следующим шагом можно открыть технический разбор и углубить проверку по выбранным объектам.",
      "reply_type": "factual_with_explanation",
      "created_at": "2026-03-25T17:24:03.672Z",
      "trace_id": "4YdpsEFZgvHFht",
      "debug": {
        "trace_id": "4YdpsEFZgvHFht",
        "prompt_version": "normalizer_v2_0_2",
        "schema_version": "v2_0_2",
        "fallback_type": "none",
        "route_summary": {
          "mode": "deterministic_v2",
          "message_in_scope": true,
          "scope_confidence": "high",
          "planner": {
            "total_fragments": 1,
            "in_scope_fragments": 1,
            "out_of_scope_fragments": 0,
            "discarded_fragments": 0,
            "contains_multiple_tasks": false
          },
          "decisions": [
            {
              "fragment_id": "F1",
              "domain_relevance": "in_scope",
              "business_scope": "company_specific_accounting",
              "candidate_labels": [
                "cross_entity"
              ],
              "decision_flags": {
                "has_multi_entity_scope": true,
                "asks_for_chain_explanation": true,
                "asks_for_ranking_or_top": false,
                "asks_for_period_summary": false,
                "asks_for_rule_check": false,
                "asks_for_anomaly_scan": false,
                "asks_for_exact_object_trace": false,
                "asks_for_evidence": true,
                "mentions_period_close_context": false
              },
              "execution_readiness": "executable",
              "clarification_reason": null,
              "soft_assumption_used": [],
              "route_status": "routed",
              "no_route_reason": null,
              "route": "hybrid_store_plus_live",
              "reason": "Multi-entity causal chain requested."
            }
          ],
          "fallback": {
            "type": "none",
            "message": null
          }
        },
        "fragments": [
          {
            "fragment_id": "F1",
            "raw_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
            "normalized_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
            "domain_relevance": "in_scope",
            "business_scope": "company_specific_accounting",
            "entity_hints": [],
            "account_hints": [
              "51",
              "60"
            ],
            "document_hints": [
              "документ"
            ],
            "register_hints": [],
            "time_scope": {
              "type": "missing",
              "value": null,
              "confidence": "low"
            },
            "flags": {
              "has_multi_entity_scope": true,
              "asks_for_chain_explanation": true,
              "asks_for_ranking_or_top": false,
              "asks_for_period_summary": false,
              "asks_for_rule_check": false,
              "asks_for_anomaly_scan": false,
              "asks_for_exact_object_trace": false,
              "asks_for_evidence": true,
              "mentions_period_close_context": false
            },
            "candidate_labels": [
              "cross_entity"
            ],
            "confidence": "medium",
            "execution_readiness": "executable",
            "clarification_reason": null,
            "soft_assumption_used": [],
            "route_status": "routed",
            "no_route_reason": null
          }
        ],
        "requirements_extracted": [
          {
            "requirement_id": "R1",
            "source_fragment_id": "F1",
            "requirement_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
            "subject_tokens": [
              "документ",
              "цепочка",
              "счет_51",
              "счет_60"
            ],
            "status": "covered",
            "route": "hybrid_store_plus_live"
          }
        ],
        "coverage_report": {
          "requirements_total": 1,
          "requirements_covered": 1,
          "requirements_uncovered": [],
          "requirements_partially_covered": [],
          "clarification_needed_for": [],
          "out_of_scope_requirements": []
        },
        "routes": [
          {
            "fragment_id": "F1",
            "route": "hybrid_store_plus_live",
            "reason": "Multi-entity causal chain requested.",
            "route_status": "routed",
            "no_route_reason": null,
            "clarification_reason": null,
            "execution_readiness": "executable"
          }
        ],
        "retrieval_status": [
          {
            "fragment_id": "F1",
            "requirement_ids": [
              "R1"
            ],
            "route": "hybrid_store_plus_live",
            "status": "ok",
            "result_type": "chain"
          }
        ],
        "retrieval_results": [
          {
            "fragment_id": "F1",
            "requirement_ids": [
              "R1"
            ],
            "route": "hybrid_store_plus_live",
            "status": "ok",
            "result_type": "chain",
            "items": [
              {
                "entity_type": "counterparty",
                "entity_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                "label": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                "counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                "operations_count": 19,
                "document_refs_count": 9,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "invoice",
                  "vat_document",
                  "supplier_receipt"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "contract_to_documents",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link",
                  "closure_risk"
                ],
                "lifecycle_gaps": [
                  "partially_linked",
                  "period_boundary"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 63.42,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "document_has_counterparty",
                  "journal_counterparty",
                  "journal_refers_to_document"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                    "period": "2020-06-04T13:36:30",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "36",
                      "30",
                      "35",
                      "01",
                      "00",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "241101ec-a970-11ea-a2d8-00155d012600",
                    "period": "2020-06-05T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "20",
                      "50",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "fc2a439e-aaf1-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                    "period": "2020-06-04T13:36:30",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "36",
                      "30",
                      "35",
                      "01",
                      "00",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "241101ec-a970-11ea-a2d8-00155d012600",
                    "period": "2020-06-05T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "20",
                      "50",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 1
              },
              {
                "entity_type": "counterparty",
                "entity_id": "502fb464-602c-11e9-a2ba-00155d012600",
                "label": "502fb464-602c-11e9-a2ba-00155d012600",
                "counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
                "operations_count": 12,
                "document_refs_count": 6,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "invoice",
                  "vat_document",
                  "supplier_receipt"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link"
                ],
                "lifecycle_gaps": [
                  "partially_linked"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 52,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "journal_counterparty",
                  "journal_refers_to_document",
                  "document_has_counterparty"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                    "period": "2020-06-04T08:46:32",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "46",
                      "32",
                      "01",
                      "00",
                      "08",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:09",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "09",
                      "01",
                      "08",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "a6cc1778-cc06-11ea-a2e3-00155d012600",
                    "period": "2020-06-09T12:00:11",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "11",
                      "01",
                      "02",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                    "period": "2020-06-04T08:46:32",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "46",
                      "32",
                      "01",
                      "00",
                      "08",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:09",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "09",
                      "01",
                      "08",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 2
              },
              {
                "entity_type": "counterparty",
                "entity_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                "label": "4a6289f6-6808-11e8-8e6c-50465da00436",
                "counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                "operations_count": 5,
                "document_refs_count": 2,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "invoice",
                  "vat_document",
                  "supplier_receipt"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link",
                  "closure_risk"
                ],
                "lifecycle_gaps": [
                  "partially_linked",
                  "period_boundary"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 49.2,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "document_has_counterparty",
                  "journal_counterparty",
                  "journal_refers_to_document"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:07",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "07",
                      "01",
                      "19",
                      "09",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
                    "period": "2020-06-30T12:00:05",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "05",
                      "01",
                      "19",
                      "09",
                      "20",
                      "33",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "period_boundary"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:07",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "07",
                      "01",
                      "19",
                      "09",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:07",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "07",
                      "01",
                      "19",
                      "09",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
                    "period": "2020-06-30T12:00:05",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "05",
                      "01",
                      "19",
                      "09",
                      "20",
                      "33",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "period_boundary"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 3
              },
              {
                "entity_type": "counterparty",
                "entity_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                "label": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                "counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                "operations_count": 3,
                "document_refs_count": 1,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "invoice",
                  "vat_document",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "supplier_receipt"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link",
                  "broken_lifecycle",
                  "repeated_anomaly",
                  "closure_risk"
                ],
                "lifecycle_gaps": [
                  "partially_linked",
                  "period_boundary"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 45.5,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "document_has_counterparty",
                  "journal_counterparty",
                  "journal_refers_to_document"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                    "period": "2020-06-19T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "20",
                      "33",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                    "period": "2020-06-19T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "20",
                      "33",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_ПоступлениеТоваровУслуг",
                    "source_id": "d57e16a8-b090-11ea-a2db-00155d012600",
                    "period": "2020-06-30T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "01",
                      "00",
                      "06",
                      "60"
                    ],
                    "document_context": [
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "closure_risk",
                      "repeated_anomaly"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked",
                      "period_boundary"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                    "period": "2020-06-19T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "20",
                      "33",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                    "period": "2020-06-19T12:00:00",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "20",
                      "33",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 4
              },
              {
                "entity_type": "counterparty",
                "entity_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                "label": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                "counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                "operations_count": 6,
                "document_refs_count": 2,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "supplier_receipt",
                  "invoice",
                  "vat_document",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "sales_document"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link"
                ],
                "lifecycle_gaps": [
                  "partially_linked"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 45.25,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "document_has_counterparty",
                  "journal_counterparty",
                  "journal_refers_to_document"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                    "period": "2020-06-03T00:00:01",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "03",
                      "20",
                      "66",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "c97e0b7b-a625-11ea-a2d8-00155d012600",
                    "period": "2020-06-03T00:00:02",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "02",
                      "88",
                      "01",
                      "03",
                      "20",
                      "15",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_РеализацияТоваровУслуг",
                    "source_id": "a0880b23-a643-11ea-a2d7-00155d012600",
                    "period": "2020-06-08T12:13:18",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "13",
                      "18",
                      "24",
                      "51",
                      "60"
                    ],
                    "document_context": [
                      "sales_document",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                    "period": "2020-06-03T00:00:01",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "03",
                      "20",
                      "66",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "c97e0b7b-a625-11ea-a2d8-00155d012600",
                    "period": "2020-06-03T00:00:02",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "02",
                      "88",
                      "01",
                      "03",
                      "20",
                      "15",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 5
              },
              {
                "entity_type": "counterparty",
                "entity_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                "label": "9a4c4530-b5ae-11e8-93de-50465da00436",
                "counterparty_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                "operations_count": 2,
                "document_refs_count": 1,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "invoice",
                  "vat_document"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat"
                ],
                "risk_factors": [
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "amount_independent_risk",
                  "missing_link",
                  "broken_lifecycle",
                  "closure_risk",
                  "repeated_anomaly",
                  "cross_domain_inconsistency"
                ],
                "lifecycle_gaps": [
                  "period_boundary",
                  "partially_linked"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 45,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "journal_counterparty",
                  "journal_refers_to_document",
                  "document_has_counterparty"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                    "period": "2020-06-30T12:00:07",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "07",
                      "01",
                      "03",
                      "19",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "period_boundary"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                    "period": "2020-06-30T12:00:07",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "07",
                      "01",
                      "03",
                      "19",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "closure_risk",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked",
                      "period_boundary"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                    "period": "2020-06-30T12:00:07",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "07",
                      "01",
                      "03",
                      "19",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "period_boundary"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                    "period": "2020-06-30T12:00:07",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "07",
                      "01",
                      "03",
                      "19",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "closure_risk",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked",
                      "period_boundary"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 6
              },
              {
                "entity_type": "counterparty",
                "entity_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                "label": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                "counterparty_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                "operations_count": 3,
                "document_refs_count": 1,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "invoice",
                  "vat_document",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "supplier_receipt"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "contract_to_documents",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link"
                ],
                "lifecycle_gaps": [
                  "partially_linked"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 43.75,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "document_has_counterparty",
                  "journal_counterparty",
                  "journal_refers_to_document"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:08",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "08",
                      "01",
                      "19",
                      "10",
                      "20",
                      "69",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:08",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "08",
                      "01",
                      "19",
                      "10",
                      "20",
                      "69",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_ПоступлениеТоваровУслуг",
                    "source_id": "3fbcd59d-a64f-11ea-a2d7-00155d012600",
                    "period": "2020-06-04T13:36:29",
                    "recorder": null,
                    "account_context": [
                      "01",
                      "00",
                      "06",
                      "36",
                      "29",
                      "60"
                    ],
                    "document_context": [
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:08",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "08",
                      "01",
                      "19",
                      "10",
                      "20",
                      "69",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "broken_lifecycle",
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "amount_independent_risk",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                    "period": "2020-06-09T12:00:08",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "08",
                      "01",
                      "19",
                      "10",
                      "20",
                      "69",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 7
              },
              {
                "entity_type": "counterparty",
                "entity_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                "label": "b07bb8ce-a010-11e6-91da-50465da00436",
                "counterparty_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                "operations_count": 3,
                "document_refs_count": 1,
                "account_context": [
                  "51",
                  "60"
                ],
                "document_context": [
                  "bank_statement",
                  "payment_order",
                  "manual_operation",
                  "deferred_expense_document",
                  "settlement_document",
                  "invoice",
                  "vat_document",
                  "supplier_receipt"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "amount_independent_risk",
                  "missing_link",
                  "broken_lifecycle",
                  "repeated_anomaly",
                  "cross_domain_inconsistency"
                ],
                "lifecycle_gaps": [
                  "partially_linked"
                ],
                "selection_reason": [
                  "Совпал account_scope.",
                  "Совпал domain_scope.",
                  "Совпал document_types.",
                  "Совпали relation_patterns.",
                  "Совпали anomaly_patterns."
                ],
                "ranking_score": 43.75,
                "confidence": "high",
                "business_interpretation": "Есть признаки разрыва расчетной цепочки: часть связей/этапов lifecycle подтверждена неполно.",
                "relation_types": [
                  "document_has_counterparty",
                  "journal_counterparty",
                  "journal_refers_to_document"
                ],
                "samples": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                    "period": "2020-06-16T12:00:01",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "17",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                    "period": "2020-06-16T12:00:01",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "17",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_ПоступлениеТоваровУслуг",
                    "source_id": "9d202b38-b090-11ea-a2db-00155d012600",
                    "period": "2020-06-17T14:49:44",
                    "recorder": null,
                    "account_context": [
                      "01",
                      "00",
                      "06",
                      "49",
                      "44",
                      "60"
                    ],
                    "document_context": [
                      "supplier_receipt",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat",
                      "receipt_to_stock_movement"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "evidence_pack": [
                  {
                    "source_entity": "DocumentJournal_БанковскиеВыписки",
                    "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                    "period": "2020-06-16T12:00:01",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "17",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "document_to_posting",
                      "payment_to_settlement",
                      "statement_to_document",
                      "deferred_expense_to_writeoff",
                      "contract_to_documents"
                    ],
                    "anomaly_patterns": [
                      "posting_mismatch",
                      "manual_intervention_suspicion",
                      "amount_independent_risk"
                    ],
                    "lifecycle_markers": [
                      "created"
                    ],
                    "missing_links": 0
                  },
                  {
                    "source_entity": "Document_СписаниеСРасчетногоСчета",
                    "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                    "period": "2020-06-16T12:00:01",
                    "recorder": null,
                    "account_context": [
                      "06",
                      "00",
                      "01",
                      "17",
                      "60",
                      "51"
                    ],
                    "document_context": [
                      "bank_statement",
                      "payment_order",
                      "invoice",
                      "vat_document",
                      "manual_operation",
                      "deferred_expense_document",
                      "settlement_document"
                    ],
                    "relation_patterns": [
                      "deferred_expense_to_writeoff",
                      "invoice_to_vat"
                    ],
                    "anomaly_patterns": [
                      "missing_link",
                      "broken_lifecycle",
                      "manual_intervention_suspicion",
                      "repeated_anomaly",
                      "cross_domain_inconsistency"
                    ],
                    "lifecycle_markers": [
                      "created",
                      "partially_linked"
                    ],
                    "missing_links": 0
                  }
                ],
                "rank": 8
              }
            ],
            "summary": {
              "source_records": 262,
              "filtered_records_after_narrowing": 75,
              "checked_records": 75,
              "matched_counterparties": 8,
              "route_focus": "cross_entity_chain",
              "semantic_narrowing_applied": true,
              "guid_mode": false,
              "query_subject": "bank_settlement_mismatch",
              "semantic_profile": {
                "query_subject": "bank_settlement_mismatch",
                "account_scope": [
                  "51",
                  "60"
                ],
                "subaccount_scope": [],
                "domain_scope": [
                  "suppliers",
                  "settlements",
                  "period_close",
                  "bank",
                  "supplier_payments"
                ],
                "document_types": [
                  "supplier_receipt",
                  "settlement_document",
                  "period_close_document",
                  "bank_statement",
                  "payment_order"
                ],
                "entity_types": [
                  "counterparty",
                  "contract",
                  "document",
                  "posting"
                ],
                "period_scope": {
                  "from": null,
                  "to": null,
                  "granularity": "unknown"
                },
                "relation_patterns": [
                  "payment_to_settlement",
                  "contract_to_documents",
                  "document_to_posting",
                  "statement_to_document"
                ],
                "lifecycle_stage_filters": [
                  "created",
                  "posted",
                  "closed",
                  "reconciled"
                ],
                "anomaly_patterns": [
                  "wrong_document_type",
                  "posting_mismatch",
                  "broken_lifecycle",
                  "closure_risk",
                  "missing_link"
                ],
                "ranking_basis": [
                  "closure_risk",
                  "repeatability",
                  "financial_impact"
                ],
                "excluded_interpretations": [],
                "explanation_focus": [
                  "why_selected",
                  "where_chain_breaks",
                  "what_business_risk",
                  "what_conflicts_with_what",
                  "why_not_closed"
                ]
              },
              "ranking_basis": [
                "closure_risk",
                "repeatability",
                "financial_impact"
              ]
            },
            "evidence": [
              {
                "counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
                "source_id": "37c6c58e-a6c7-11ea-a2d8-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-04T13:36:30",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "contract_to_documents",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link",
                  "closure_risk"
                ]
              },
              {
                "counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
                "source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-04T08:46:32",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link"
                ]
              },
              {
                "counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
                "source_id": "7f9c1499-aaf2-11ea-a2d8-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-09T12:00:07",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link",
                  "closure_risk"
                ]
              },
              {
                "counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
                "source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-19T12:00:00",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link",
                  "broken_lifecycle",
                  "repeated_anomaly",
                  "closure_risk"
                ]
              },
              {
                "counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
                "source_id": "8a6faaf5-a625-11ea-a2d8-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-03T00:00:01",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link"
                ]
              },
              {
                "counterparty_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
                "source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-30T12:00:07",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat"
                ],
                "risk_factors": [
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "amount_independent_risk",
                  "missing_link",
                  "broken_lifecycle",
                  "closure_risk",
                  "repeated_anomaly",
                  "cross_domain_inconsistency"
                ]
              },
              {
                "counterparty_id": "53fae1bf-c897-11e4-90fe-5404a6c12c2c",
                "source_id": "d6ebd58c-aaf2-11ea-a2d8-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-09T12:00:08",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "invoice_to_vat",
                  "contract_to_documents",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "broken_lifecycle",
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "repeated_anomaly",
                  "amount_independent_risk",
                  "cross_domain_inconsistency",
                  "missing_link"
                ]
              },
              {
                "counterparty_id": "b07bb8ce-a010-11e6-91da-50465da00436",
                "source_id": "e91f40ca-b08e-11ea-a2db-00155d012600",
                "source_entity": "DocumentJournal_БанковскиеВыписки",
                "period": "2020-06-16T12:00:01",
                "account_context": [
                  "51",
                  "60"
                ],
                "relation_pattern_hits": [
                  "document_to_posting",
                  "payment_to_settlement",
                  "statement_to_document",
                  "deferred_expense_to_writeoff",
                  "contract_to_documents",
                  "invoice_to_vat",
                  "receipt_to_stock_movement"
                ],
                "risk_factors": [
                  "posting_mismatch",
                  "manual_intervention_suspicion",
                  "amount_independent_risk",
                  "missing_link",
                  "broken_lifecycle",
                  "repeated_anomaly",
                  "cross_domain_inconsistency"
                ]
              }
            ],
            "why_included": [
              "Семантическое сужение выполнено по профилю bank_settlement_mismatch.",
              "Учитывались счета: 51, 60.",
              "После narrowing осталось 75 из 262 записей."
            ],
            "selection_reason": [
              "Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.",
              "GUID-mode отключен: full scan без ограничителей не использовался.",
              "Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact."
            ],
            "risk_factors": [
              "broken_lifecycle",
              "posting_mismatch",
              "manual_intervention_suspicion",
              "repeated_anomaly",
              "amount_independent_risk",
              "cross_domain_inconsistency",
              "missing_link",
              "closure_risk"
            ],
            "business_interpretation": [
              "Результат отражает не просто объем операций, а структурные признаки разрыва цепочки и lifecycle-конфликта.",
              "Контрагенты в топе приоритетны для проверки на неверный тип закрывающего документа и незавершенные связи."
            ],
            "confidence": "high",
            "limitations": [
              "Выборка ограничена semantic retrieval profile.",
              "Источник данных — snapshot 2020 (read-only), не live контур 1С."
            ],
            "errors": []
          }
        ],
        "answer_grounding_check": {
          "status": "grounded",
          "route_subject_match": true,
          "missing_requirements": [],
          "reasons": [],
          "why_included_summary": [
            "Семантическое сужение выполнено по профилю bank_settlement_mismatch.",
            "Учитывались счета: 51, 60.",
            "После narrowing осталось 75 из 262 записей."
          ],
          "selection_reason_summary": [
            "Отбор основан на пересечении account_scope + domain_scope + document_types + relation_patterns + anomaly_patterns.",
            "GUID-mode отключен: full scan без ограничителей не использовался.",
            "Ранжирование выполнено по basis: closure_risk, repeatability, financial_impact."
          ]
        },
        "dropped_intent_segments": [],
        "normalized": {
          "schema_version": "normalized_query_v2_0_2",
          "user_message_raw": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
          "message_in_scope": true,
          "scope_confidence": "high",
          "contains_multiple_tasks": false,
          "fragments": [
            {
              "fragment_id": "F1",
              "raw_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
              "normalized_fragment_text": "Разложи цепочку по 51 и 60 счетам: где закрытие не тем документом.",
              "domain_relevance": "in_scope",
              "business_scope": "company_specific_accounting",
              "entity_hints": [],
              "account_hints": [
                "51",
                "60"
              ],
              "document_hints": [
                "документ"
              ],
              "register_hints": [],
              "time_scope": {
                "type": "missing",
                "value": null,
                "confidence": "low"
              },
              "flags": {
                "has_multi_entity_scope": true,
                "asks_for_chain_explanation": true,
                "asks_for_ranking_or_top": false,
                "asks_for_period_summary": false,
                "asks_for_rule_check": false,
                "asks_for_anomaly_scan": false,
                "asks_for_exact_object_trace": false,
                "asks_for_evidence": true,
                "mentions_period_close_context": false
              },
              "candidate_labels": [
                "cross_entity"
              ],
              "confidence": "medium",
              "execution_readiness": "executable",
              "clarification_reason": null,
              "soft_assumption_used": [],
              "route_status": "routed",
              "no_route_reason": null
            }
          ],
          "discarded_fragments": [],
          "global_notes": {
            "needs_clarification": false,
            "clarification_reason": null
          }
        }
      }
    }
  ],
  "last_assistant": {
    "message_id": "msg-PinXizPYzp",
    "reply_type": "factual_with_explanation",
    "trace_id": "4YdpsEFZgvHFht",
    "created_at": "2026-03-25T17:24:03.672Z"
  }
}