hyf

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

MT012_two_compatible_lots.json (2662B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "MT012_two_compatible_lots",
      4   "requirements": [
      5     "HYF-MATCH-004",
      6     "HYF-MATCH-005"
      7   ],
      8   "family": "domain",
      9   "boundary": "application",
     10   "operation": "buyer_request.match",
     11   "purpose": "Compatible same-supplier lots jointly meet the need.",
     12   "implementation_status": "planned",
     13   "required_from_step": "S091",
     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         "supplier": "farm-1",
     48         "product": "tomatoes",
     49         "unreserved_quantity": {
     50           "value": "20",
     51           "unit": "kg"
     52         }
     53       },
     54       {
     55         "id": "b",
     56         "revision": "b1",
     57         "supplier": "farm-1",
     58         "product": "tomatoes",
     59         "unreserved_quantity": {
     60           "value": "30",
     61           "unit": "kg"
     62         }
     63       }
     64     ],
     65     "other_applicable_mandatory_checks": "pass",
     66     "coverage": {
     67       "scope": "supplied_only",
     68       "truncated": false
     69     },
     70     "compatibility": "verified_same_product_pack_fulfillment_window"
     71   },
     72   "provider_script": [],
     73   "then": [
     74     {
     75       "operator": "equals",
     76       "path": "/plans/0/allocated_total/value",
     77       "value": "50"
     78     },
     79     {
     80       "operator": "equals",
     81       "path": "/plans/0/supplier_count",
     82       "value": 1
     83     },
     84     {
     85       "operator": "equals",
     86       "path": "/plans/0/eligibility",
     87       "value": "eligible"
     88     }
     89   ],
     90   "prohibited": [
     91     "No authoritative business mutation or reservation is performed by Hyf."
     92   ],
     93   "provenance": {
     94     "kind": "synthetic",
     95     "author": "hyf_v1_jev handoff",
     96     "review_status": "implementation/domain review required; not a live-model label"
     97   },
     98   "assumptions": [
     99     "This is a semantic test projection, not an already implemented public wire payload.",
    100     "Test-only rules and scripted model outputs do not define production thresholds or certify model quality."
    101   ]
    102 }