ARCH: добавить phase44 comparison clarification replay

This commit is contained in:
dctouch 2026-04-23 12:25:41 +03:00
parent e18b0922ad
commit 4c352a8263
1 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,70 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase44_multi_hop_comparison_clarification_loop",
"domain": "address_phase44_multi_hop_comparison_clarification_loop",
"title": "Phase 44 multi-hop comparison clarification loop",
"description": "Targeted AGENT replay for Big Block F where an open-scope incoming-vs-outgoing comparison must ask for both organization and period, then keep the same comparison loop after an organization-only clarification, and finally answer after the second clarification provides the period.",
"bindings": {},
"steps": [
{
"step_id": "step_01_comparison_requires_org_and_period",
"title": "Generic incoming-vs-outgoing comparison asks for both organization and period",
"question": "Что больше: входящих денег или исходящих?",
"allowed_reply_types": ["clarification_required", "partial_coverage", "factual_with_explanation"],
"required_answer_patterns_all": [
"(?i)уточн|нужно",
"(?i)организац",
"(?i)период"
],
"forbidden_answer_patterns": [
"(?i)уточните контрагента",
"(?i)не найден контрагент",
"(?i)по какому контрагенту",
"(?i)не найдено контрагента"
],
"criticality": "critical",
"semantic_tags": ["value_flow_comparison", "multi_hop_clarification", "organization_scope", "period_scope", "bounded_autonomy"]
},
{
"step_id": "step_02_org_only_clarification_keeps_same_comparison_loop",
"title": "Organization-only clarification preserves the same comparison loop and asks only for the period",
"question": "по ООО Альтернатива Плюс",
"allowed_reply_types": ["clarification_required", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)уточн|нужно",
"(?i)период"
],
"forbidden_answer_patterns": [
"(?i)организац",
"(?i)уточните контрагента",
"(?i)не найден контрагент"
],
"criticality": "critical",
"semantic_tags": ["value_flow_comparison", "multi_hop_clarification", "organization_followup_reuse", "bounded_autonomy"]
},
{
"step_id": "step_03_period_clarification_completes_same_comparison_loop",
"title": "Period clarification completes the same comparison loop and yields a bounded comparison answer",
"question": "за 2020 год",
"allowed_reply_types": ["factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)2020",
"(?i)входящ|исходящ|получ|заплат|списан|платеж",
"(?i)руб"
],
"required_answer_patterns_any": [
"(?i)больше|меньше|превыш|разниц",
"(?i)альтернатива",
"(?i)проверенн|найденн"
],
"forbidden_answer_patterns": [
"(?i)уточните организацию",
"(?i)уточните период",
"(?i)уточните контрагента",
"(?i)не найден контрагент"
],
"criticality": "critical",
"semantic_tags": ["value_flow_comparison", "multi_hop_clarification", "period_followup_reuse", "bounded_autonomy"]
}
]
}