PV020_wrong_request_state.json (3132B)
1 { 2 "fixture_format_version": 1, 3 "case_id": "PV020_wrong_request_state", 4 "requirements": [ 5 "HYF-TEST-006", 6 "HYF-JEV-009" 7 ], 8 "family": "provider", 9 "boundary": "harness", 10 "operation": "harness.script", 11 "purpose": "Returning a canned answer without validating outbound state is forbidden.", 12 "implementation_status": "planned", 13 "required_from_step": "S058", 14 "mandatory": true, 15 "context": { 16 "source_time": "2026-09-21T09:00:00-07:00", 17 "evaluated_at": "2026-09-21T10:00:00-07:00", 18 "timezone": "America/Vancouver", 19 "locale": "en-CA", 20 "tenant": "test-tenant-1", 21 "seed": 101, 22 "versions": { 23 "schema": "test-projection-1", 24 "taxonomy": "test-only-produce-1", 25 "normalization": "test-only-norm-1", 26 "review_policy": "test-only-review-1", 27 "ranking_policy": "test-only-ranking-1", 28 "question_bundle": "test-only-questions-1", 29 "model": "jev-1.13.0" 30 } 31 }, 32 "given": { 33 "expected_request": { 34 "model": "jev-1.13.0", 35 "state": { 36 "farm_update": "Roma tomatoes available now; basil sold out.", 37 "focus_product": "Roma tomatoes", 38 "buyer_request": "Tomatoes for sauce; seconds are permitted." 39 }, 40 "questions": { 41 "supply_status": { 42 "type": "choice", 43 "instructions": "For focus_product only, what supply status is explicitly reported in farm_update?", 44 "criteria": { 45 "offered": "Produce is reported available to offer.", 46 "forecast": "Only possible future supply is reported.", 47 "unavailable": "Produce is reported sold out or withdrawn.", 48 "unclear": "The text does not establish its supply status." 49 } 50 }, 51 "seconds_explicitly_permitted": { 52 "type": "noul", 53 "instructions": "Does buyer_request explicitly permit cosmetic seconds?" 54 }, 55 "culinary_fit": { 56 "type": "score", 57 "instructions": "For this already evidence-sufficient test case, evaluate only the culinary suitability of focus_product for buyer_request; exclude quantity, dates, price, delivery and transactions.", 58 "criteria": [ 59 "Unsuitable for the stated culinary use.", 60 "Usable for the stated culinary use with a clear limitation.", 61 "Directly suitable for the stated culinary use." 62 ] 63 } 64 } 65 }, 66 "actual_request_patch": { 67 "state.focus_product": "carrots" 68 } 69 }, 70 "provider_script": [], 71 "then": [ 72 { 73 "operator": "equals", 74 "path": "/validation/script_matched", 75 "value": false 76 } 77 ], 78 "prohibited": [ 79 "No authoritative business mutation or reservation is performed by Hyf." 80 ], 81 "provenance": { 82 "kind": "synthetic", 83 "author": "hyf_v1_jev handoff", 84 "review_status": "implementation/domain review required; not a live-model label" 85 }, 86 "assumptions": [ 87 "This is a semantic test projection, not an already implemented public wire payload.", 88 "Test-only rules and scripted model outputs do not define production thresholds or certify model quality." 89 ] 90 }