hyf

Context-aware query service for Radroots
git clone https://radroots.dev/git/hyf.git
Log | Files | Refs | README | LICENSE

MT014_conflicting_revisions.json (2377B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "MT014_conflicting_revisions",
      4   "requirements": [
      5     "HYF-DATA-010",
      6     "HYF-MATCH-005"
      7   ],
      8   "family": "domain",
      9   "boundary": "application",
     10   "operation": "buyer_request.match",
     11   "purpose": "Two revisions are not two independent lots.",
     12   "implementation_status": "planned",
     13   "required_from_step": "S082",
     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     "need": {
     34       "id": "need-1",
     35       "revision": "n1",
     36       "product": "tomatoes",
     37       "quantity": {
     38         "value": "50",
     39         "unit": "kg"
     40       },
     41       "partial_fulfillment": "disallowed"
     42     },
     43     "snapshots": [
     44       {
     45         "id": "a",
     46         "revision": "a1",
     47         "unreserved_quantity": {
     48           "value": "30",
     49           "unit": "kg"
     50         }
     51       },
     52       {
     53         "id": "a",
     54         "revision": "a2",
     55         "unreserved_quantity": {
     56           "value": "30",
     57           "unit": "kg"
     58         }
     59       }
     60     ],
     61     "other_applicable_mandatory_checks": "pass",
     62     "coverage": {
     63       "scope": "supplied_only",
     64       "truncated": false
     65     }
     66   },
     67   "provider_script": [],
     68   "then": [
     69     {
     70       "operator": "equals",
     71       "path": "/validation/conflicting_snapshots",
     72       "value": true
     73     },
     74     {
     75       "operator": "equals",
     76       "path": "/assessment/duplicated_stock_counted",
     77       "value": false
     78     }
     79   ],
     80   "prohibited": [
     81     "No authoritative business mutation or reservation is performed by Hyf."
     82   ],
     83   "provenance": {
     84     "kind": "synthetic",
     85     "author": "hyf_v1_jev handoff",
     86     "review_status": "implementation/domain review required; not a live-model label"
     87   },
     88   "assumptions": [
     89     "This is a semantic test projection, not an already implemented public wire payload.",
     90     "Test-only rules and scripted model outputs do not define production thresholds or certify model quality."
     91   ]
     92 }