Commit 4512f9e
committed
fix: matrix baseline override keeps resolved global on invalid merge (#2179)
Codex round-2 finding: resolveVoiceDriftConfig merged the RAW global config with
the series override and let resolveCheckConfig collapse the whole blob to bare
schema defaults if the merge was invalid — while the finding-emitting
applySeriesCheckConfig keeps the resolved global on an invalid override. A bad
per-series value (e.g. sigmaThreshold beyond the schema max) would make the
matrix use the default 1.5 while findings used the global threshold, re-opening
the matrix/finding disagreement. Now resolves the global first, then overlays
the override on it, keeping the resolved global on parse failure — byte-for-byte
the applySeriesCheckConfig contract.
Refs #21791 parent d86c3cf commit 4512f9e
2 files changed
Lines changed: 25 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
91 | 106 | | |
92 | 107 | | |
93 | 108 | | |
| |||
0 commit comments