| @@ -2114,3 +2114,55 @@ |
| 2114 | 2114 | `1154-boxed-every` (compliance-level-3) — 5 cases, `exact`; |
| 2115 | 2115 | `1161-boxed-list-expression` (compliance-level-3) — 2 cases, `exact`. |
| 2116 | 2116 | **Suite 2985 → 3003.** |
| 2117 | + |
| 2118 | +## ADR-45: 0005, 0016, 0032, 0034, 0070 — deferred quick-win suites ingested (compliance-level-3) |
| 2119 | + |
| 2120 | +- **Context:** Five suites that were always within the engine's FEEL slice but had never |
| 2121 | + been committed as fixtures. All five had been confirmed ingestible (the ingester |
| 2122 | + produced cases when run manually) but were not yet part of the fixture set because |
| 2123 | + they were investigated after earlier coverage pushes and left for a follow-up round. |
| 2124 | + In the same pass, `0003-iteration` was found to produce a single list-of-numbers case |
| 2125 | + that fails `exact` comparison due to the decimal128 vs f64 gap — the `decimal-vs-f64` |
| 2126 | + deviation rule only covers scalar numbers, not list elements. |
| 2127 | + |
| 2128 | +- **Decision:** |
| 2129 | + - **`0005-literal-invocation`** (3 cases, `f64_epsilon`): boxed-context+result-cell |
| 2130 | + decision inlining a BKM `PMT` as a function literal. The `decimal-vs-f64` |
| 2131 | + deviation fires (scalar numeric result). |
| 2132 | + - **`0016-some-every`** (2 cases, `exact`): `some`/`every` over a list of contexts |
| 2133 | + (`priceTable2`) with path access `i.price`. 5 decisions skipped: `priceTable1` |
| 2134 | + references are outside the slice (DRG-scope name); `gtTen` and `even` are |
| 2135 | + user-defined functions not in the built-in table; `values in a list` is a |
| 2136 | + multi-word name requiring the name-join lexer (ADR-17) but appears inside the |
| 2137 | + quantifier source, where `fits_slice_grammar` does not recognize it as a bound name. |
| 2138 | + - **`0032-conditionals`** (6 cases, 3 `exact` + 3 `f64_epsilon`): `if/then/else` |
| 2139 | + with context-bound date and number inputs. `decimal-vs-f64` fires for the numeric |
| 2140 | + branch cases. |
| 2141 | + - **`0034-drg-scopes`** (2 cases, `exact`): leaf decisions (`decision A 1`, |
| 2142 | + `decision B 1`) that use only `<context>` with literal-expression entries; the |
| 2143 | + 10 decisions that reference other decision names as FEEL identifiers are silently |
| 2144 | + skipped (DRG-scope propagation is out of scope for a FEEL-expression engine). |
| 2145 | + - **`0070-feel-instance-of`** (129 cases, `exact`): the full `instance of` truth |
| 2146 | + table across all primitive FEEL types (Any, number, boolean, string, date, time, |
| 2147 | + date and time, years and months duration, days and time duration, function, list, |
| 2148 | + context) plus structural context types (`context<k: T, …>`) and nested contexts. |
| 2149 | + 13 decisions skipped: they reference user-defined `typeRef` aliases (`t255`, |
| 2150 | + `tFooBar`, `tNumberList`, `tAnyList`, `t_context_013`) that the ingester cannot |
| 2151 | + resolve to inline structural types. |
| 2152 | + - **`0003-iteration`** (0 cases — no fixture file): the sole case |
| 2153 | + `for i in Loans return PMT2(i)` produces a list of decimal128-computed numbers. |
| 2154 | + The `f64_epsilon` comparison mode applies only to scalar `expected_type: "number"` |
| 2155 | + results; list elements cannot be compared element-wise with epsilon tolerance under |
| 2156 | + the current harness design. Documented in the new `DECIMAL_LIST_SKIPS` frozenset; |
| 2157 | + no fixture file is produced until the harness gains a list-numeric epsilon mode. |
| 2158 | + |
| 2159 | +- **Consequence:** The five new fixture files add 142 cases, all `exact` or `f64_epsilon`. |
| 2160 | + The `DECIMAL_LIST_SKIPS` mechanism is now in place for future list-of-numbers cases. |
| 2161 | + |
| 2162 | +- **Fixtures ingested:** |
| 2163 | + `0005-literal-invocation` (compliance-level-3) — 3 cases, `f64_epsilon`; |
| 2164 | + `0016-some-every` (compliance-level-3) — 2 cases, `exact`; |
| 2165 | + `0032-conditionals` (compliance-level-3) — 6 cases, mixed; |
| 2166 | + `0034-drg-scopes` (compliance-level-3) — 2 cases, `exact`; |
| 2167 | + `0070-feel-instance-of` (compliance-level-3) — 129 cases, `exact`. |
| 2168 | + **Suite 3003 → 3145.** |