hyf

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

BR001_multiple_lines.json (2300B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "BR001_multiple_lines",
      4   "requirements": [
      5     "HYF-BUY-001"
      6   ],
      7   "family": "domain",
      8   "boundary": "application",
      9   "operation": "buyer_request.interpret",
     10   "purpose": "Preserve the stated buyer semantics and make unresolved information visible.",
     11   "implementation_status": "planned",
     12   "required_from_step": "S075",
     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     "source": {
     33       "id": "BR001_multiple_lines",
     34       "revision": "r1",
     35       "text": "Need 25 kg tomatoes and 8 kg carrots."
     36     }
     37   },
     38   "provider_script": [
     39     {
     40       "kind": "semantic_port",
     41       "expected_task": "buyer_intent",
     42       "scripted_answer": {
     43         "lines": [
     44           {
     45             "product": "tomatoes",
     46             "quantity": "25"
     47           },
     48           {
     49             "product": "carrots",
     50             "quantity": "8"
     51           }
     52         ]
     53       },
     54       "expected_calls": 1
     55     }
     56   ],
     57   "then": [
     58     {
     59       "operator": "equals",
     60       "path": "/need/line_count",
     61       "value": 2
     62     },
     63     {
     64       "operator": "equals",
     65       "path": "/need/by_product/tomatoes/quantity/value",
     66       "value": "25"
     67     },
     68     {
     69       "operator": "equals",
     70       "path": "/need/by_product/carrots/quantity/value",
     71       "value": "8"
     72     }
     73   ],
     74   "prohibited": [
     75     "No authoritative business mutation or reservation is performed by Hyf."
     76   ],
     77   "provenance": {
     78     "kind": "synthetic",
     79     "author": "hyf_v1_jev handoff",
     80     "review_status": "implementation/domain review required; not a live-model label"
     81   },
     82   "assumptions": [
     83     "This is a semantic test projection, not an already implemented public wire payload.",
     84     "Test-only rules and scripted model outputs do not define production thresholds or certify model quality."
     85   ]
     86 }