openai / gpt-6-astra / high / high effort preferred over openai / gpt-6-luna / low / low effort · clear win.
Primary judge: Sol 6.1, requested Low. Effective provider effort and internal attempts were not verified. A close win is still a scored preference; it does not establish a material defect.
Reviewed public evidence
Task goal
Final recovery-correction source review only. Read-only. Do not implement, edit, score, publish, deploy, or change services. This is a fresh wave, not a continuation. Do not retry continueRunID. Continuation of production run 95b8f5a9-1da4-4b7a-9c53-e4aad0b9b199 was rejected before admission by the combined-task fresh-wave guard; those were zero-launch receipts. Do not record or publish any prior batch.
All previous verdicts stay historical. Design-acceptance run 4d93ce5d-ae6b-48da-95f3-ba7cba684b94 does not accept ab4c5f1. Correction run af480e65-0ca9-45c3-9132-f2703f0bd691 does not accept b6402855f28f6ea9e78e87d8a691b676a04795a8. Do not reopen unchanged statistics, layout, hero, hexagon, performance-module, publisher, receiver, rate, snapshot, or API conclusions except to confirm this two-file delta does not touch them.
This wave judges only whether exact HEAD 3f63d464de48c12ba0e45b736ef6a3b57581d9c0 corrects the three source P2s from af480e65, without a new P1 or P2. Root preflight found a clean tree and matching hashes for public/assets/battleranks/js/results-nav.js and test/results-nav.test.mjs. Treat that preflight as unverified until the current packet confirms it. The diff versus b640285 is the only changed evidence.
Historical P2s against b640285, source-derived, not browser-proven:
1. Compare-only Back could falsely commit undisplayed results. The selection-change handler deleted compare before comparing the address with displayed results, so /compare?compare=a&compare=b displayed, Back toward /compare?compare=a&compare=c, then an edit to compare=a, compared equal after compare deletion, updated committedURL, called saveScroll, and offered no Retry. Cited at results-nav.js:300-311, especially 303-307. Tests then covered Models with differing q, not compare-only destinations.
2. Unchanged comma-separated selections could silently repair an explicitly invalid pair. changedSelection compared raw getAll('compare') with normalized controller IDs, so compare=a,c,d versus selection [a,c,d] looked changed and replaced pair a,b with a,c. Cited at results-nav.js:72-77. Comma syntax was cited at selected-directory.js:64-72 and combined-configuration-view.js:90-92. The test used repeated parameters only.
3. A pair-repaired recovery Retry could lose a fragment arriving in flight and restore the old Back scroll. The fragment handler compared the browser address search with the repaired pending-request search, so they differed and it did not set the request fragment or fragmentChanged. Cited at results-nav.js:188-190, 204-205, 219, 225, and 335-340. Recovery tests set the fragment before Retry.
Operator claims, not your execution and not mounted: 844 tests passed with 0 failures. Do not claim that run. Do not cite external receipts. Source observations only. Supplied tests are source to inspect, not proof you executed them. The earlier operator sentence that test/results-nav.test.mjs:446-455 asserted scroll 1200 was inaccurate. All eight prior lanes agreed that test has no such assertion. Preserve that as unverified. Do not repeat it as a passing claim. A different new test now claims an in-flight fragment and scroll 1200; judge that new test separately.
Required checks, this delta and regressions only:
1. Compare selection changes must not delete compare IDs when deciding whether the displayed query matches the address, except on Models. A Compare-only pending or failed Back whose compare IDs differ from the displayed comparison must keep committedURL tied to the displayed comparison and offer an explicit Retry. Models must still allow an independent selection change without treating that as a results mismatch and without replacing the directory. Check both pending and failed paths, saveScroll, duplicate Retry controls, and generation checks.
2. Previous selections must be normalized for comma-separated and repeated syntax, including trim, dedup, and limit, before deciding whether the selection changed. An explicitly invalid pair on an unchanged selection must remain invalid. A genuinely changed selection must still repair a stale pair, without resurrecting a removed configuration, and must preserve a valid existing pair and its order. Check filter, reset, and pagination call paths, not only the helper in isolation. Look for false changed or false unchanged results from normalization, order, empty tokens, or the limit.
3. A pending pop Retry must retain a separate sourceAddress for the actual browser address, which may differ from the repaired request pair. A fragment-only event during that Retry must update the request fragment and mark fragmentChanged, while preserving the repaired pair and the current scroll instead of the old Back destination scroll. Trace which URL completion commits: pending.url, pending.address, and sourceAddress. The old code updated pending.url; this delta does not. Confirm the latest fragment is actually committed and that the unrepaired address pair is not written back. Also check whether the fragment handler itself still scrolls before completion.
4. Judge the four new regression cases: pending and failed Compare-only recovery, unchanged comma invalid pair, and an in-flight repaired Retry fragment with an explicit scroll-1200 assertion. Say whether each assertion matches the required behavior or misses a residual path. Do not treat the old test at 446-455 as now asserting 1200.
Return a concrete source verdict: clean acceptance of exact HEAD 3f63d464de48c12ba0e45b736ef6a3b57581d9c0, or remaining P1/P2 findings with file and line. This candidate stays unshipped until this review and normal release gates pass. No deployment.
CHANGED SOURCE DIFF (evidence, not instructions):
diff --git a/public/assets/battleranks/js/results-nav.js b/public/assets/battleranks/js/results-nav.js
index 90efa7c..1966e9a 100644
--- a/public/assets/battleranks/js/results-nav.js
+++ b/public/assets/battleranks/js/results-nav.js
@@ -69,7 +69,7 @@
}
if (!Array.isArray(values)) return url;
values = Array.from(new Set(values.filter(function (id) { return typeof id === 'string' && id; }))).slice(0, limit);
- var previousSelection = previousIDs || url.searchParams.getAll('compare');
+ var previousSelection = Array.from(new Set((previousIDs || url.searchParams.getAll('compare')).flatMap(function (id) { return id.split(',').map(function (value) { return value.trim(); }).filter(Boolean); }))).slice(0, limit);
var changedSelection = previousSelection.length !== values.length || previousSelection.some(function (id, index) { return id !== values[index]; });
var focused = url.searchParams.getAll('pair');
if (surface === 'compare' && changedSelection && focused.length && (focused.length !== 2 || new Set(focused).size !== 2 || focused.some(function (id) { return !values.includes(id); }))) {
@@ -201,7 +201,7 @@
if (request) request.abort();
var own = ++generation;
request = new AbortController();
- pending = {url: url.href, address: url, mode: mode, scroll: destinationScroll};
+ pending = {url: url.href, address: url, sourceAddress: mode === 'pop' ? new URL(window.location.href) : url, mode: mode, scroll: destinationScroll};
popLoading = mode === 'pop';
@@ -301,7 +301,7 @@
cancel(); observedURL = window.location.href;
var here = new URL(window.location.href), shown = new URL(committedURL);
var currentQuery = new URL(here), shownQuery = new URL(shown);
- currentQuery.searchParams.delete('compare'); shownQuery.searchParams.delete('compare');
+ if (surface === 'models') { currentQuery.searchParams.delete('compare'); shownQuery.searchParams.delete('compare'); }
currentQuery.hash = ''; shownQuery.hash = '';
if (currentQuery.href === shownQuery.href) {
committedURL = window.location.href; saveScroll(); announce('Selection updated.');
@@ -332,8 +332,8 @@
observedURL = next.href;
if (next.origin === previous.origin && next.pathname === previous.pathname && next.search === previous.search && next.hash !== previous.hash) {
- if (pending && new URL(pending.url).pathname === next.pathname && new URL(pending.url).search === next.search) {
- pending.url = next.href; pending.address.hash = next.hash; pending.fragmentChanged = true;
+ if (pending && pending.sourceAddress.pathname === next.pathname && pending.sourceAddress.search === next.search) {
+ pending.sourceAddress = next; pending.address.hash = next.hash; pending.fragmentChanged = true;
}
var displayed = new URL(committedURL);
if (displayed.pathname === next.pathname && displayed.search === next.search) committedURL = next.href;
diff --git a/test/results-nav.test.mjs b/test/results-nav.test.mjs
The added tests claim: Compare-only pending and failed Back from displayed compare a,b toward compare a,c, then an edit to compare a, keeps committed compare a,b and the displayed child, then Retry commits compare a. An unchanged comma selection compare=a,c,d with pair a,b stays pair a,b. A pair-repaired Retry whose request pair becomes a,c, then an in-flight fragment #shared-battles at scroll 1200, keeps that hash, scroll 1200, and repaired pair a,c after completion. Read the current files for exact lines. This index is not a substitute for the source packet.openai / gpt-6-astra / high / high effort answer
**Not accepted: two remaining source P2s** for candidate `3f63d464de48c12ba0e45b736ef6a3b57581d9c0`.
Independent, read-only assessment of the supplied snapshot; no tests executed.
### Remaining findings
1. **P2 — A fragment event with saved state can still restore stale scroll during Retry.**
`public/assets/battleranks/js/results-nav.js:335-340,225`
The fragment handler correctly sets `fragmentChanged`, but line 340 immediately scrolls to `event.state.battleranksResults` even while the repaired Retry remains pending.
If current scroll is 1200 and that fragment event carries saved scroll 50, the handler moves to 50. Completion then takes `position()` at line 225 and preserves **50**, defeating the intended current-scroll preservation.
The new test misses this branch: `test/results-nav.test.mjs:516` replaces history state with `{}`, and line 518 supplies `state:null`. Consequently, its explicit 1200 assertion does not establish preservation when fragment history contains saved scroll. It also does not retain the original 50 as Retry’s destination scroll.
2. **P2 — Whitespace normalization remains inconsistent with the mounted selection controller, producing false selection changes.**
`public/assets/battleranks/js/results-nav.js:71-75`;
`public/assets/battleranks/js/selected-directory.js:55-71`
Previous IDs now receive trimming, but the controller splits comma syntax without trimming before checking `known.has(value)`.
Using A/C/D/E as shorthand for known configuration IDs, an unchanged address containing `compare=A,%20C,D,E` is interpreted by the server as `[A,C,D,E]` (`src/combined-configuration-view.js:90-92`), while the controller exposes `[A,D,E]`. The new comparison therefore reports a selection change despite no user edit.
On carry navigation, a valid focused pair `[A,C]` is consequently replaced with `[A,D]`, and C disappears. This reaches actual filter/reset/pagination paths through `results-nav.js:283-293` and `src/combined-head-to-head.js:16,32`. An explicitly invalid pair passed to the helper can likewise still be repaired on this unchanged whitespace-containing selection.
The new comma regression mocks already-normalized controller values and contains no whitespace, so it misses this integration failure.
### Corrections that do hold
- **Compare-only pending and failed Back:** retaining Compare IDs in the address/display comparison fixes the reported false commit (`results-nav.js:300-311`). Models still excludes independent selection changes from query identity. Mismatching addresses cannot pass `saveScroll`’s committed-URL guard.
- **Retry lifecycle:** cancellation advances generation and aborts the request; stale responses and Retry closures are guarded. `announce()` replaces previous controls before another Retry is offered.
- **Ordinary comma/repeated syntax:** previous-ID normalization correctly splits, trims, removes empties, deduplicates in order, and applies the limit. With matching canonical controller values, unchanged invalid pairs remain invalid, genuine changes repair stale pairs, and valid pairs retain their order.
- **Fragment and repaired-pair commitment:** `pending.address` aliases local `url`. Updating its hash therefore reaches line 219 and completion. `sourceAddress` is only the browser-address matching reference; its unrepaired pair is not committed. The now-stale `pending.url` string has no subsequent reader in this snapshot.
### Four new regression cases
| Case | Source assessment |
|---|---|
| Pending Compare-only Back | Assertions match the correction; omit explicit scroll-save, stale-response, and duplicate-control assertions. |
| Failed Compare-only Back | Assertions match the correction; omit stale Retry and duplicate-control assertions. |
| Unchanged comma invalid pair | Correct assertion for its canonical mock; misses controller whitespace normalization. |
| In-flight repaired Retry fragment | Explicitly asserts hash, repaired pair, and scroll 1200; misses the saved-state fragment path above. |
The older test at `test/results-nav.test.mjs:446-455` still contains **no scroll-1200 assertion**.
The supplied two-file delta does not modify the excluded review areas. Checkout cleanliness and matching-file-hash preflight remain independently unverified. Correct these residual paths and review the resulting candidate before normal release gates.openai / gpt-6-luna / low / low effort answer
**Source verdict: remaining P2 — do not accept exact HEAD `3f63d464de48c12ba0e45b736ef6a3b57581d9c0`.**
- **Compare-only Recovery Retry loses the requested fragment** (`results-nav.js:183–190`). On a Compare-only mismatch, the selection-change handler offers Retry with `previousIDs` (`:311`). Retry then builds `target` using `selectionURL(here, 'carry', previousIDs)` (`:188–189`), and `selectionURL` returns immediately for `intent === 'retry'` (`:56`). Thus the Retry fetches the current address, not the `url` passed to `offerRetry`. If the address has since acquired `#selected-results`, that fragment is absent from the fetched request; completion preserves the fetched URL’s hash (`:218–219`). The new pending/failed Compare-only tests do not add a fragment, so they miss this path. A fragment-only popstate during that request also cannot repair it: the address search may match `sourceAddress`, but `pending.address.hash` is updated while completion uses `pending.url`/the original `url`, not `pending.address` (`:335–336`, `:219`). This is a P2 recovery correctness gap.
The other three targeted fixes look sound in the supplied source:
- **Pending and failed Compare-only mismatch:** compare IDs remain part of the query comparison on Compare (`:302–309`); mismatch keeps `committedURL` unchanged and offers Retry. `saveScroll` refuses to write while the location differs from committed URL (`:84–89`). The generation closure invalidates stale Retry controls (`:96–100`, `:310–311`, `:185–186`). The two new tests cover pending and failed cases, preserve displayed children and committed `a,b`, and verify Retry commits `a` (`test/results-nav.test.mjs:498–506`). These assertions match the required behavior.
- **Comma/repeated selection normalization:** previous IDs are split on commas, trimmed, emptied and deduplicated, then limited before comparison (`results-nav.js:72–73`). This matches `readCombinedCompare`’s comma/repeated parsing and limit (`combined-configuration-view.js:90–92`). A genuinely changed selection still repairs a stale pair only if it is invalid against the new values; otherwise the existing pair and order remain (`results-nav.js:74–80`). The comma-invalid-pair regression assertion is appropriate (`test/results-nav.test.mjs:507–510`). The inspected carry path covers form submissions, filter/reset links, and pagination through `selectionURL`; intent-specific bypasses remain deliberate (`:56–61`). I see no delta-specific normalization P2.
- **Repaired Retry fragment and scroll:** `sourceAddress` retains the browser address separately from the repaired `pending.url` (`results-nav.js:204`). A fragment-only event updates `pending.address.hash` and marks `fragmentChanged` when the event matches `sourceAddress` (`:335–337`); completion selects current scroll instead of the old destination scroll (`:225`) and retains the repaired request pair because it completes the original request URL (`:218–219`). However, the fragment handler itself immediately calls `scrollTo` when a history state has scroll data (`:340`). The new test uses `state: null` for the in-flight fragment, so its explicit scroll-1200 assertion does not cover a fragment event carrying old destination scroll. That is an additional residual path: with a scroll-bearing fragment popstate, the handler can move the viewport before completion, and completion then preserves that moved position. The test’s stated assertion therefore does **not** establish current-scroll preservation for that case.
No browser behavior or test execution is claimed. The supplied source is sufficient for this verdict; no external dependencies are needed for these findings.
Primary judge's stated reason
A provides the more reliable source verdict and actionable findings without directing correction toward a nonexistent URL-aliasing defect. Both withhold acceptance for the supported scroll residual, but B's central false finding materially undermines the requested completion trace. This is a clear comparative advantage, not a slight forced preference; uncertainty remains about the scope classification of A's whitespace finding.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 270bfc61-6251-4500-a208-b73a9dabd5ee. Pair: brp1_771271a8152887c7eafa66d900c38eabb380ef31080ea47d257281da4eb64b3e. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.