ARCH: замкнуть grounded entity retarget на value-flow follow-up
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
{
|
||||
"schema_version": "domain_truth_harness_spec_v1",
|
||||
"scenario_id": "address_truth_harness_phase28_entity_value_retarget_chain",
|
||||
"domain": "address_phase28_entity_value_retarget_chain",
|
||||
"title": "Phase 28 grounded entity value-flow retarget replay",
|
||||
"description": "Targeted AGENT replay for Big Block C where a grounded 1C counterparty must survive side-switch and year-switch follow-ups across incoming, payout, and net value-flow questions without forcing the user to restate the resolved name.",
|
||||
"bindings": {},
|
||||
"steps": [
|
||||
{
|
||||
"step_id": "step_01_resolve_counterparty_alias",
|
||||
"title": "Entity resolution grounds the checked 1C counterparty from a loose alias",
|
||||
"question": "найди в 1С контрагента СВК",
|
||||
"allowed_reply_types": ["factual_with_explanation", "partial_coverage"],
|
||||
"required_answer_patterns_all": ["(?i)свк", "(?i)контрагент"],
|
||||
"required_answer_patterns_any": [
|
||||
"(?i)группа\\s+свк",
|
||||
"(?i)каталог",
|
||||
"(?i)найден",
|
||||
"(?i)наиболее вероят"
|
||||
],
|
||||
"forbidden_answer_patterns": [
|
||||
"(?i)получили",
|
||||
"(?i)заплатили",
|
||||
"(?i)нетто",
|
||||
"(?i)оборот",
|
||||
"(?i)выручк",
|
||||
"(?i)сумм(а|ы)"
|
||||
],
|
||||
"criticality": "critical",
|
||||
"semantic_tags": ["entity_resolution", "alias_grounding", "followup_anchor"]
|
||||
},
|
||||
{
|
||||
"step_id": "step_02_incoming_by_resolved_entity",
|
||||
"title": "Incoming value-flow follow-up reuses the resolved counterparty anchor",
|
||||
"question": "сколько получили по нему за 2020 год",
|
||||
"allowed_reply_types": ["factual_with_explanation", "partial_coverage"],
|
||||
"required_answer_patterns_all": ["(?i)2020", "(?i)получил|входящ|поступ", "(?i)руб"],
|
||||
"required_answer_patterns_any": ["(?i)группа\\s+свк", "(?i)свк"],
|
||||
"forbidden_answer_patterns": [
|
||||
"(?i)не найден контрагент",
|
||||
"(?i)уточните, какого контрагента",
|
||||
"(?i)по какому контрагенту"
|
||||
],
|
||||
"criticality": "critical",
|
||||
"semantic_tags": ["entity_resolution", "incoming_value_flow", "followup_reuse"]
|
||||
},
|
||||
{
|
||||
"step_id": "step_03_payout_switch_by_resolved_entity",
|
||||
"title": "Outgoing payment follow-up keeps the same grounded counterparty and checked year",
|
||||
"question": "а теперь сколько заплатили?",
|
||||
"allowed_reply_types": ["factual_with_explanation", "partial_coverage"],
|
||||
"required_answer_patterns_all": ["(?i)2020", "(?i)заплатил|исходящ|списан|платеж", "(?i)руб"],
|
||||
"required_answer_patterns_any": ["(?i)группа\\s+свк", "(?i)свк"],
|
||||
"forbidden_answer_patterns": [
|
||||
"(?i)не найден контрагент",
|
||||
"(?i)уточните, какого контрагента",
|
||||
"(?i)по какому контрагенту",
|
||||
"(?i)за какой год"
|
||||
],
|
||||
"criticality": "critical",
|
||||
"semantic_tags": ["entity_resolution", "payout_switch", "followup_reuse", "date_carryover"]
|
||||
},
|
||||
{
|
||||
"step_id": "step_04_year_switch_on_payout",
|
||||
"title": "Short year switch keeps the payout contour and grounded counterparty",
|
||||
"question": "а за 2021?",
|
||||
"allowed_reply_types": ["factual_with_explanation", "partial_coverage"],
|
||||
"required_answer_patterns_all": ["(?i)2021", "(?i)заплатил|исходящ|списан|платеж", "(?i)руб"],
|
||||
"required_answer_patterns_any": ["(?i)группа\\s+свк", "(?i)свк"],
|
||||
"forbidden_answer_patterns": [
|
||||
"(?i)не найден контрагент",
|
||||
"(?i)уточните, какого контрагента",
|
||||
"(?i)по какому контрагенту"
|
||||
],
|
||||
"criticality": "critical",
|
||||
"semantic_tags": ["entity_resolution", "payout_year_switch", "followup_reuse"]
|
||||
},
|
||||
{
|
||||
"step_id": "step_05_net_switch_after_payout",
|
||||
"title": "Net-flow follow-up keeps the same grounded counterparty and switched year",
|
||||
"question": "а какое нетто?",
|
||||
"allowed_reply_types": ["factual_with_explanation", "partial_coverage"],
|
||||
"required_answer_patterns_all": ["(?i)2021", "(?i)нетто|сальдо|разниц", "(?i)руб"],
|
||||
"required_answer_patterns_any": ["(?i)группа\\s+свк", "(?i)свк"],
|
||||
"forbidden_answer_patterns": [
|
||||
"(?i)не найден контрагент",
|
||||
"(?i)уточните, какого контрагента",
|
||||
"(?i)по какому контрагенту",
|
||||
"(?i)за какой год"
|
||||
],
|
||||
"criticality": "critical",
|
||||
"semantic_tags": ["entity_resolution", "net_switch", "followup_reuse", "date_carryover"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user