hyf

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

MT022_stable_ties.json (2593B)


      1 {
      2   "fixture_format_version": 1,
      3   "case_id": "MT022_stable_ties",
      4   "requirements": [
      5     "HYF-MATCH-009"
      6   ],
      7   "family": "domain",
      8   "boundary": "domain",
      9   "operation": "ranking.compose",
     10   "purpose": "Stable test tie policy must not follow incidental input ordering.",
     11   "implementation_status": "planned",
     12   "required_from_step": "S098",
     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     "fixed_candidate_scores": [
     61       {
     62         "id": "b",
     63         "score": "1"
     64       },
     65       {
     66         "id": "a",
     67         "score": "1"
     68       }
     69     ],
     70     "test_tie_policy": "lexicographic id ascending",
     71     "input_permutations": [
     72       [
     73         "a",
     74         "b"
     75       ],
     76       [
     77         "b",
     78         "a"
     79       ]
     80     ]
     81   },
     82   "provider_script": [],
     83   "then": [
     84     {
     85       "operator": "equals",
     86       "path": "/ranking/orders",
     87       "value": [
     88         [
     89           "a",
     90           "b"
     91         ],
     92         [
     93           "a",
     94           "b"
     95         ]
     96       ]
     97     }
     98   ],
     99   "prohibited": [
    100     "No authoritative business mutation or reservation is performed by Hyf."
    101   ],
    102   "provenance": {
    103     "kind": "synthetic",
    104     "author": "hyf_v1_jev handoff",
    105     "review_status": "implementation/domain review required; not a live-model label"
    106   },
    107   "assumptions": [
    108     "This is a semantic test projection, not an already implemented public wire payload.",
    109     "Test-only rules and scripted model outputs do not define production thresholds or certify model quality."
    110   ]
    111 }