← Model losses

Head-to-head comparison

openai / gpt-6-astra / low / low effort preferred over openai / gpt-6.1-sol / low / low effort · close 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

Independently inspect the repository and advise implementation plan for the user's requested additive display-only frozen reference cost attachment. Trace pinned readActiveCombinedSeason(s), private combined_season_cohorts exact lookup, cohortSHA/body and verified original profile, outcomesFromRecords/prospectiveCombinedCohort auth, sourceOutcomeKeys/public_events exact bounded reads, recovery/accountingRecovery behavior, exported designInput validation/costFraction and public serializer/UI. Scope only new src/combined-reference-cost.js, src/combined-public-read.js, optional src/combined-season.js and meaningful tests. Preserve immutable stored/public history, estimates, scores/ranks/Elo; never write; never query latest annotations or leak private metadata; auth failure yields unavailable attachment, snapshot integrity failures keep 503. Return file/function findings, test plan, uncertainty; do not edit or dump private evidence.

openai / gpt-6-astra / low / low effort answer

## Conclusion

**Recommended design: a read-only, fail-closed attachment computed from the active snapshot’s exact frozen provenance.** Authentication or reference-cost failures should make only the attachment unavailable; existing snapshot-integrity failures must retain their 503 behavior.

This was an independent, direct assessment. No repository source or tool results were supplied, so the locations below are **inspection targets, not verified findings**. Confidence is high in the required boundaries, conditional in implementation details.

## Implementation plan and trace targets

| Location / function | Required trace and proposed behavior |
|---|---|
| `src/combined-public-read.js`: `readActiveCombinedSeason(s)` | Identify where active season identifiers and snapshot contents become pinned. Resolve reference costs using those same pinned values, without rereading an active pointer or mixing generations. Preserve existing integrity validation and 503 propagation before adding the attachment. |
| Private `combined_season_cohorts` lookup | Derive an exact document lookup from authenticated snapshot provenance. Never search for the latest cohort or annotations. Confirm document identity, season binding, and the relationship between its body and `cohortSHA` using the existing canonicalization rules. |
| Cohort body / original profile | Authenticate the original frozen profile through the established provenance chain. A matching body hash alone does not establish authorization or prove that the profile is the original one. Do not substitute a current profile. |
| `outcomesFromRecords` / `prospectiveCombinedCohort` | Determine whether these functions provide the necessary reconstruction and authorization checks and whether they are pure. Reuse applicable checks without invoking publishing, persistence, or ranking mutation. A reconstructed cohort must be bound to the pinned cohort, not merely internally consistent. |
| `sourceOutcomeKeys` / `public_events` | Validate the frozen key list before I/O; perform exact, bounded document reads only. Enforce existing identity and provenance relationships, limits, duplicate rules, and required ordering. Missing or unauthenticated inputs yield an unavailable attachment, with no broader-search fallback. |
| `recovery` / `accountingRecovery` | Inspect how recovered outcomes represent original records and accounting evidence. Follow established authenticated recovery semantics; do not assume a recovered record has the same public-event correspondence as an ordinary outcome. Never supplement missing evidence from recent annotations. |
| Exported `designInput` validation / `costFraction` | Locate and reuse the actual exported validation and cost calculation contracts. Compute only from authenticated original inputs. Reject invalid or non-finite results according to that contract; preserve legitimate zero values. Do not independently invent fraction units, denominator rules, or rounding. |
| Public serializer / UI | Add an explicitly allowlisted attachment to the response. Expose only approved display values and availability state—not cohort bodies, profiles, source keys, authorization evidence, or diagnostic errors. Confirm whether existing UI code can display it within the allowed file scope. |

### Proposed responsibilities

**New `src/combined-reference-cost.js`**
- Own frozen-reference resolution, authentication, input validation, and cost computation.
- Accept pinned provenance and narrow read dependencies.
- Return a minimal available/unavailable result.
- Keep internal diagnostics separate from the public result.
- Expose no write path.

**`src/combined-public-read.js`**
- Invoke the helper after existing snapshot verification.
- Attach the result to a newly constructed public response.
- Preserve stored snapshots, existing public history, estimates, scores, ranks, and Elo.
- Isolate attachment failure handling from snapshot-integrity handling; avoid wrapping both in a catch that converts 503 into success.

**Optional `src/combined-season.js`**
- Change only if a necessary pure validator or authentication helper needs exporting.
- Verify exports have no effect on generation or persistence behavior.

## Meaningful tests

1. **Authenticated frozen reference:** expected display cost using the verified original profile and exact source events.
2. **Pinning race:** change the active pointer during a read; the result remains tied to the initially pinned snapshot. Cover singular and plural readers.
3. **Authentication failures:** wrong profile binding, inconsistent reconstructed cohort, missing event, or unauthorized outcome produces an unavailable attachment without exposing evidence.
4. **Integrity boundary:** existing snapshot corruption still produces 503. Explicitly classify cohort hash/body failures according to the established integrity contract.
5. **Exact bounded reads:** record requested document paths; assert no collection scan, latest-annotation query, fallback lookup, or unbounded fan-out.
6. **Recovery fixtures:** cover authentic `recovery` and `accountingRecovery` cases plus missing or mismatched recovery evidence.
7. **Validation and calculation:** exercise the actual exported validator and `costFraction` contract, including zero and invalid/non-finite inputs.
8. **Noninterference:** freeze input objects, compare all pre-existing response fields, and assert zero writes. Estimates, ranking fields, and historical payloads remain identical.
9. **Serialization:** verify the public attachment allowlist and absence of private provenance in successful and unavailable responses.

## Alternatives and unresolved evidence

- **Reject:** computing from current annotations, trusting public-event existence alone, or treating a self-consistent cohort hash as sufficient authentication.
- **Reject:** recomputing stored results or persisting the attachment; these exceed display-only scope.
- **Unresolved:** exact field names, lookup identifiers, hashing rules, authorization contracts, recovery semantics, and public attachment schema require source inspection.
- **Important boundary:** whether cohort body/hash corruption is already a snapshot-integrity failure cannot be determined here. Preserve the existing classification rather than automatically downgrading it.
- **UI dependency:** if rendering requires edits outside the allowed files, the permitted scope may support API attachment only. Confirm before claiming end-to-end display completion.

**Next useful action:** inspect the named read, authentication, recovery, calculation, and serialization paths; document the provenance chain and error classification before implementing the helper.

openai / gpt-6.1-sol / low / low effort answer

## Conclusion

**Recommend a read-time, fail-closed attachment built exclusively from the pinned season snapshot and its authenticated original evidence.** It must not change stored history, estimates, scores, ranks, or Elo.

This assessment is independent and reasoning-only: no repository contents or tool results were supplied. The locations below are **inspection targets**, not verified findings.

## Implementation plan and trace targets

| Location / function | Required behavior to verify or implement |
|---|---|
| `src/combined-public-read.js`: `readActiveCombinedSeason(s)` | Preserve the existing pinned snapshot selection. Derive the attachment from that same snapshot; do not select a newer season, cohort, profile, or annotation. Preserve existing integrity failures as **503**, rather than catching them as reference-cost unavailability. |
| `src/combined-reference-cost.js`: new helper | Own exact evidence resolution, authorization, calculation, and public-safe projection. Return an unavailable attachment when authorization cannot be established. Do not write or mutate snapshot inputs. |
| Private `combined_season_cohorts` lookup | Resolve the exact cohort identifier committed by the pinned snapshot. Verify the `cohortSHA` against the body using the repository’s existing canonicalization/hash rules. No “latest” lookup or fallback to another cohort. |
| Verified original profile | Establish which original profile the frozen cohort authenticates. Do not substitute the current profile or current annotations. Whether this requires an additional exact lookup depends on the existing cohort format. |
| `outcomesFromRecords` / `prospectiveCombinedCohort` | Trace their actual authorization and provenance checks. Reuse the relevant validation semantics without invoking mutation paths. A digest match alone does not establish authorization. |
| `sourceOutcomeKeys` / `public_events` | Resolve only the committed keys through exact, bounded reads. Check missing records, duplicates, identity mismatches, and provenance using existing schema rules. Do not scan event history or use a latest-event query. |
| `recovery` / `accountingRecovery` | Determine whether recovered outcomes remain authenticated original evidence and which representation governs cost accounting. Preserve existing behavior; do not silently replace failed evidence with recovery or count both representations. |
| Exported `designInput` validation / `costFraction` | Locate and reuse the authoritative exported validator and cost calculation. Establish accepted units, denominator, rounding, zero handling, and recovery treatment before calculating anything. Do not reconstruct a similar formula independently. |
| Public serializer / UI | Add an explicit allowlisted attachment. Never expose cohort bodies, original private profiles, authorization material, or private lookup diagnostics. Verify the existing UI can consume the additive field without changing ranking or historical displays. |
| Optional `src/combined-season.js` | Change only if necessary to expose an existing pure validator/calculator or preserve the pinned input contract. Do not alter season production, persistence, or scoring. |

### Failure boundary

Keep two outcomes distinct:

- **Existing snapshot integrity failure:** retain the existing 503 behavior.
- **Attachment authorization failure:** return the otherwise-valid public snapshot with an unavailable attachment.

Avoid a blanket catch around both snapshot loading and attachment construction. The treatment of unavailable source records and attachment-only evidence corruption needs confirmation from the existing integrity contract; it should not be guessed.

## Meaningful tests

1. **Frozen selection:** newer annotations, profiles, cohorts, and events cannot change the attachment.
2. **Exact bounded reads:** assert requested cohort identity and event keys; reject unexpected records and prove no scans/latest queries occur.
3. **Integrity:** mismatched cohort SHA/body and existing snapshot corruption retain the required 503 behavior.
4. **Authorization:** absent or invalid original-profile authorization produces an unavailable attachment, with no private diagnostics.
5. **Recovery:** cover ordinary, recovered, and accounting-recovered outcomes, including prevention of double counting.
6. **Cost semantics:** exercise authoritative `designInput` validation and `costFraction` boundary cases supported by the actual implementation.
7. **Noninterference:** compare prior public fields exactly; verify scores, ranks, Elo, and estimates remain unchanged. Assert no writes and no mutation of frozen inputs.
8. **Serialization:** successful and unavailable attachments expose only allowed fields; private sentinel values never appear.
9. **Plural reads:** each pinned season gets its own evidence, without cross-season reuse.

## Alternatives and uncertainties

- Recomputing from current annotations is incompatible with a frozen reference.
- Hash verification without original-profile authorization is insufficient.
- Returning 503 for every attachment failure would conflict with the specified authorization-failure behavior.
- Exact helper signatures, cohort commitments, recovery semantics, serializer shape, and UI compatibility remain unverified. In particular, UI changes outside the allowed files may require additional authorization.

**Next useful action:** inspect the named call chain and existing tests read-only, establish its integrity-versus-authorization boundary, then implement the narrowly scoped helper and serializer integration.

Primary judge's stated reason

A receives a weak, forced preference because its proposed tests more consistently preserve the distinction between established snapshot integrity failures and attachment authentication failures. This could reduce premature commitment to an unsupported error policy, but no implementation failure or material quality gap is established. The answers are near-equivalent, and an independent review could reasonably reject this preference.

This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.

Battle wave: 7ed5e30c-95ca-4a57-b019-598cba78d0b9. Pair: brp1_e1efc03dc4f62e0eebd8a864b198af8ea0c1627ec71f6940fcb3d29b5f048726. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.