hyf

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

MT015_shared_lot_two_lines.json (2414B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "MT015_shared_lot_two_lines",
      4   "requirements": [
      5     "HYF-MATCH-005",
      6     "HYF-BUY-001"
      7   ],
      8   "family": "domain",
      9   "boundary": "application",
     10   "operation": "buyer_request.match",
     11   "purpose": "One 50 kg lot cannot satisfy two 30 kg lines.",
     12   "implementation_status": "planned",
     13   "required_from_step": "S092",
     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       "lines": [
     35         {
     36           "id": "x",
     37           "quantity": {
     38             "value": "30",
     39             "unit": "kg"
     40           }
     41         },
     42         {
     43           "id": "y",
     44           "quantity": {
     45             "value": "30",
     46             "unit": "kg"
     47           }
     48         }
     49       ],
     50       "partial_fulfillment": "disallowed"
     51     },
     52     "snapshots": [
     53       {
     54         "id": "a",
     55         "revision": "a1",
     56         "supplier": "farm-1",
     57         "product": "tomatoes",
     58         "unreserved_quantity": {
     59           "value": "50",
     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/eligible_plan_count",
     75       "value": 0
     76     },
     77     {
     78       "operator": "equals",
     79       "path": "/assessment/conservation_violated",
     80       "value": false
     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 }