hyf

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

MT019_alternative_plans.json (2626B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "MT019_alternative_plans",
      4   "requirements": [
      5     "HYF-MATCH-007"
      6   ],
      7   "family": "domain",
      8   "boundary": "domain",
      9   "operation": "plan.project",
     10   "purpose": "Reused stock across alternatives is not simultaneous allocation.",
     11   "implementation_status": "planned",
     12   "required_from_step": "S094",
     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": "lot-1",
     45         "revision": "l1",
     46         "supplier": "farm-1",
     47         "product": "tomatoes",
     48         "unreserved_quantity": {
     49           "state": "known",
     50           "value": "50",
     51           "unit": "kg"
     52         }
     53       }
     54     ],
     55     "other_applicable_mandatory_checks": "pass",
     56     "coverage": {
     57       "scope": "supplied_only",
     58       "truncated": false
     59     },
     60     "proposed_alternatives": [
     61       {
     62         "plan": "p1",
     63         "lot": "a",
     64         "quantity": "50"
     65       },
     66       {
     67         "plan": "p2",
     68         "lot": "a",
     69         "quantity": "50"
     70       }
     71     ],
     72     "alternatives_are_simultaneous": false
     73   },
     74   "provider_script": [],
     75   "then": [
     76     {
     77       "operator": "equals",
     78       "path": "/plans_are_alternatives",
     79       "value": true
     80     },
     81     {
     82       "operator": "equals",
     83       "path": "/execution/business_writes",
     84       "value": 0
     85     },
     86     {
     87       "operator": "equals",
     88       "path": "/execution/reservations",
     89       "value": 0
     90     }
     91   ],
     92   "prohibited": [
     93     "No authoritative business mutation or reservation is performed by Hyf."
     94   ],
     95   "provenance": {
     96     "kind": "synthetic",
     97     "author": "hyf_v1_jev handoff",
     98     "review_status": "implementation/domain review required; not a live-model label"
     99   },
    100   "assumptions": [
    101     "This is a semantic test projection, not an already implemented public wire payload.",
    102     "Test-only rules and scripted model outputs do not define production thresholds or certify model quality."
    103   ]
    104 }