diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 14:02:57 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 14:02:57 +0300 |
| commit | 7d754768b8d610015cdb016ecda54bbdad54fa6c (patch) | |
| tree | b57bce192aa0ecdac3934b9d636e2b64f32a96de /cmd | |
| parent | f3beef8ce2f538783889c55d685fa30a471983b7 (diff) | |
fix(rpn): extract metric inference rules into data-driven maps (task kj)
Replace hardcoded switch statements in resultMetricForMul and
resultMetricForDiv with package-level maps (multiplicationInference,
divisionInference). Adding new category pairs now only requires
appending to the maps instead of editing control flow, satisfying
OCP.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions
