hyf

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

MT013_duplicate_lot.json (2466B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "MT013_duplicate_lot",
      4   "requirements": [
      5     "HYF-MATCH-005"
      6   ],
      7   "family": "domain",
      8   "boundary": "application",
      9   "operation": "buyer_request.match",
     10   "purpose": "Duplicated 30 kg records do not make 60 kg.",
     11   "implementation_status": "planned",
     12   "required_from_step": "S082",
     13   "mandatory": true,
     14   "context": {
     15     "source_time": "2026-09-21T09:00:00-07:00",
     16     "evaluated_at": "2026-09-21T10:00:00-07:00",
     17     "timezone": "America/Vancouver",
     18     "locale": "en-CA",
     19     "tenant": "test-tenant-1",
     20     "seed": 101,
     21     "versions": {
     22       "schema": "test-projection-1",
     23       "taxonomy": "test-only-produce-1",
     24       "normalization": "test-only-norm-1",
     25       "review_policy": "test-only-review-1",
     26       "ranking_policy": "test-only-ranking-1",
     27       "question_bundle": "test-only-questions-1",
     28       "model": "jev-1.13.0"
     29     }
     30   },
     31   "given": {
     32     "need": {
     33       "id": "need-1",
     34       "revision": "n1",
     35       "product": "tomatoes",
     36       "quantity": {
     37         "value": "50",
     38         "unit": "kg"
     39       },
     40       "partial_fulfillment": "disallowed"
     41     },
     42     "snapshots": [
     43       {
     44         "id": "a",
     45         "revision": "a1",
     46         "supplier": "farm-1",
     47         "product": "tomatoes",
     48         "unreserved_quantity": {
     49           "value": "30",
     50           "unit": "kg"
     51         }
     52       },
     53       {
     54         "id": "a",
     55         "revision": "a1",
     56         "supplier": "farm-1",
     57         "product": "tomatoes",
     58         "unreserved_quantity": {
     59           "value": "30",
     60           "unit": "kg"
     61         }
     62       }
     63     ],
     64     "other_applicable_mandatory_checks": "pass",
     65     "coverage": {
     66       "scope": "supplied_only",
     67       "truncated": false
     68     }
     69   },
     70   "provider_script": [],
     71   "then": [
     72     {
     73       "operator": "equals",
     74       "path": "/assessment/duplicated_stock_counted",
     75       "value": false
     76     },
     77     {
     78       "operator": "equals",
     79       "path": "/assessment/eligible_plan_count",
     80       "value": 0
     81     }
     82   ],
     83   "prohibited": [
     84     "No authoritative business mutation or reservation is performed by Hyf."
     85   ],
     86   "provenance": {
     87     "kind": "synthetic",
     88     "author": "hyf_v1_jev handoff",
     89     "review_status": "implementation/domain review required; not a live-model label"
     90   },
     91   "assumptions": [
     92     "This is a semantic test projection, not an already implemented public wire payload.",
     93     "Test-only rules and scripted model outputs do not define production thresholds or certify model quality."
     94   ]
     95 }