hyf

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

FU001_multiple_crops.json (2264B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "FU001_multiple_crops",
      4   "requirements": [
      5     "HYF-FARM-001",
      6     "HYF-FARM-002"
      7   ],
      8   "family": "domain",
      9   "boundary": "application",
     10   "operation": "farm_update.interpret",
     11   "purpose": "Separate crop claims, not one global availability state.",
     12   "implementation_status": "planned",
     13   "required_from_step": "S067",
     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     "source": {
     34       "id": "source-FU001_multiple_crops",
     35       "revision": "r1",
     36       "farm": "farm-1",
     37       "text": "Roma tomatoes available; basil sold out."
     38     },
     39     "taxonomy": [
     40       "tomatoes",
     41       "carrots",
     42       "basil"
     43     ]
     44   },
     45   "provider_script": [
     46     {
     47       "kind": "semantic_port",
     48       "expected_task": "supply_status",
     49       "scripted_answer": {
     50         "tomatoes": "offered",
     51         "basil": "unavailable"
     52       },
     53       "expected_calls": 1
     54     }
     55   ],
     56   "then": [
     57     {
     58       "operator": "equals",
     59       "path": "/claims/count",
     60       "value": 2
     61     },
     62     {
     63       "operator": "equals",
     64       "path": "/claims/by_product/tomatoes/status",
     65       "value": "offered"
     66     },
     67     {
     68       "operator": "equals",
     69       "path": "/claims/by_product/basil/status",
     70       "value": "unavailable"
     71     }
     72   ],
     73   "prohibited": [
     74     "No authoritative business mutation or reservation is performed by Hyf."
     75   ],
     76   "provenance": {
     77     "kind": "synthetic",
     78     "author": "hyf_v1_jev handoff",
     79     "review_status": "implementation/domain review required; not a live-model label"
     80   },
     81   "assumptions": [
     82     "This is a semantic test projection, not an already implemented public wire payload.",
     83     "Test-only rules and scripted model outputs do not define production thresholds or certify model quality."
     84   ]
     85 }