Закрепить дату складского supplier-overlap follow-up

This commit is contained in:
2026-06-03 12:26:08 +03:00
parent f0b84822d3
commit fdd04abbde
9 changed files with 500 additions and 3 deletions
@@ -0,0 +1,80 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_inventory_supplier_overlap_temporal_carryover",
"domain": "inventory_supplier_overlap_temporal_carryover",
"title": "Supplier-overlap follow-up keeps the inventory root date",
"description": "Targeted replay for temporal carryover: after an inventory root slice for September 2021, colloquial supplier-overlap follow-ups with 'сейчас' / 'текущий товарный остаток' must stay on the confirmed root slice date instead of drifting to the wall-clock date.",
"bindings": {},
"steps": [
{
"step_id": "step_01_current_stock_anchor",
"title": "Historical inventory root anchor",
"question": "какие остатки на складе на сентябрь 2021",
"allowed_reply_types": [
"factual"
],
"expected_intents": [
"inventory_on_hand_as_of_date"
],
"required_filters": {
"as_of_date": "2021-09-30",
"period_from": "2021-09-01",
"period_to": "2021-09-30"
},
"required_answer_patterns_all": [
"(?i)30\\.09\\.2021",
"(?i)склад|остат"
],
"forbidden_answer_patterns": [
"(?i)03\\.06\\.2026",
"(?i)route_id|capability_id|runtime_|snapshot_items|answer_object|debug"
]
},
{
"step_id": "step_02_supplier_overlap_now",
"title": "Supplier overlap inherits root date despite сейчас",
"question": "У какого поставщика были куплены товары, которые сейчас лежат на складе Основной склад",
"allowed_reply_types": [
"factual"
],
"expected_intents": [
"inventory_supplier_stock_overlap_as_of_date"
],
"required_filters": {
"as_of_date": "2021-09-30"
},
"required_answer_patterns_all": [
"(?i)30\\.09\\.2021",
"(?i)поставщик|поставщиков|закупочн",
"(?i)Следующий шаг|проверьте|партионн"
],
"forbidden_answer_patterns": [
"(?i)03\\.06\\.2026",
"(?i)route_id|capability_id|runtime_|snapshot_items|answer_object|debug"
]
},
{
"step_id": "step_03_supplier_residue_now",
"title": "Current residue wording keeps root date",
"question": "По какому поставщику проходит текущий товарный остаток на складе Основной склад",
"allowed_reply_types": [
"factual"
],
"expected_intents": [
"inventory_supplier_stock_overlap_as_of_date"
],
"required_filters": {
"as_of_date": "2021-09-30"
},
"required_answer_patterns_all": [
"(?i)30\\.09\\.2021",
"(?i)поставщик|поставщиков|закупочн",
"(?i)Следующий шаг|проверьте|партионн"
],
"forbidden_answer_patterns": [
"(?i)03\\.06\\.2026",
"(?i)route_id|capability_id|runtime_|snapshot_items|answer_object|debug"
]
}
]
}