ARCH: удержать year-switch после contracts pivot

This commit is contained in:
2026-04-23 20:01:03 +03:00
parent 0c4b53ccc6
commit 84beaf5540
7 changed files with 279 additions and 10 deletions
@@ -0,0 +1,53 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase72_document_to_contracts_year_switch",
"domain": "address_phase72_document_to_contracts_year_switch",
"title": "Phase 72 document to contracts year-switch continuity",
"description": "Replay for a human chain where the user opens documents by counterparty, pivots to contracts with a pronoun follow-up, and then switches the year without renaming the counterparty.",
"bindings": {},
"steps": [
{
"step_id": "step_01_documents_by_counterparty",
"title": "Open documents for the counterparty",
"question": "Покажи документы по Жуковке 51.",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк",
"(?i)документ|сч[её]т|акт|накладн|строк"
],
"criticality": "critical",
"semantic_tags": ["documents_by_counterparty", "pronoun_pivot_seed", "integrity_guard"]
},
{
"step_id": "step_02_contracts_by_pronoun_followup",
"title": "Pivot to contracts via pronoun follow-up",
"question": "А по нему договоры?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)договор|контракт|соглаш"
],
"criticality": "critical",
"semantic_tags": ["contracts_followup", "counterparty_pronoun_resolution", "integrity_guard"]
},
{
"step_id": "step_03_year_switch_after_contracts_pivot",
"title": "Switch the year without renaming the counterparty",
"question": "А за 2021?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)2021",
"(?i)жуковк|контрагент",
"(?i)договор|контракт|соглаш"
],
"forbidden_answer_patterns": [
"(?i)уточните .* контрагент",
"(?i)метадан",
"(?i)схем",
"(?i)объект[а-я]* 1с"
],
"criticality": "critical",
"semantic_tags": ["year_switch_after_pivot", "contracts_followup", "integrity_guard"]
}
]
}
@@ -0,0 +1,53 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase73_document_to_contracts_all_time",
"domain": "address_phase73_document_to_contracts_all_time",
"title": "Phase 73 document to contracts all-time continuity",
"description": "Replay for a human chain where the user opens documents by counterparty, pivots to contracts with a pronoun follow-up, and then asks for all-time scope without renaming the counterparty.",
"bindings": {},
"steps": [
{
"step_id": "step_01_documents_by_counterparty",
"title": "Open documents for the counterparty",
"question": "Покажи документы по Жуковке 51.",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк",
"(?i)документ|сч[её]т|акт|накладн|строк"
],
"criticality": "critical",
"semantic_tags": ["documents_by_counterparty", "pronoun_pivot_seed", "integrity_guard"]
},
{
"step_id": "step_02_contracts_by_pronoun_followup",
"title": "Pivot to contracts via pronoun follow-up",
"question": "А по нему договоры?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)договор|контракт|соглаш"
],
"criticality": "critical",
"semantic_tags": ["contracts_followup", "counterparty_pronoun_resolution", "integrity_guard"]
},
{
"step_id": "step_03_all_time_after_contracts_pivot",
"title": "Switch to all-time scope without renaming the counterparty",
"question": "А за все время?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)договор|контракт|соглаш"
],
"forbidden_answer_patterns": [
"(?i)уточните .* контрагент",
"(?i)уточните .* период",
"(?i)метадан",
"(?i)схем",
"(?i)объект[а-я]* 1с"
],
"criticality": "critical",
"semantic_tags": ["all_time_after_pivot", "contracts_followup", "integrity_guard"]
}
]
}