test: clarify qa parity failure assertion · openclaw/openclaw@5bb23c2
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -277,7 +277,9 @@ describe("qa agentic parity report", () => {
|
277 | 277 | // Metric comparisons are relative, so a same-on-both-sides failure |
278 | 278 | // must not appear as a relative metric failure. The required-scenario |
279 | 279 | // failure line is the only thing keeping the gate honest here. |
280 | | -expect(comparison.failures.some((failure) => failure.includes("completion rate"))).toBe(false); |
| 280 | +expect(comparison.failures.filter((failure) => failure.includes("completion rate"))).toEqual( |
| 281 | +[], |
| 282 | +); |
281 | 283 | }); |
282 | 284 | |
283 | 285 | it("fails the parity gate when a required parity scenario fails on the candidate only", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。