← Model losses

Head-to-head comparison

openai / gpt-6-astra / high / high effort preferred over openai / gpt-6-astra / 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 / high / high effort answer

## Conclusion

**Direct, read-only assessment; no source inspection occurred.** No source contents or tool results were supplied, so the file/function mappings below are implementation targets, not verified findings.

Implement the reference cost as an optional, authenticated **read-time attachment**, derived exclusively from the frozen provenance of the pinned combined-season snapshot. Preserve existing snapshot-integrity failures as **503**; insufficient attachment authorization yields **unavailable**.

## Proposed implementation

### `src/combined-public-read.js`

Trace `readActiveCombinedSeason` and `readActiveCombinedSeasons` through their existing snapshot validation and public serialization.

Recommended integration:

1. Resolve and validate the existing pinned snapshot.
2. Retain its exact frozen references throughout attachment construction; never resolve “active” again.
3. Look up the private `combined_season_cohorts` record by its exact pinned identity.
4. Authenticate attachment evidence through the new helper.
5. Add only an allowlisted public attachment to a newly constructed response object.

Keep the existing integrity-validation boundary outside any attachment fallback. A broad catch around the entire read would risk converting required 503 responses into apparently valid snapshots.

For plural reads, independently preserve each snapshot’s provenance. Any deduplication must use complete frozen identities, not merely season IDs.

### New `src/combined-reference-cost.js`

Prefer a narrowly scoped read-only loader plus a pure verification/calculation function:

- **Cohort provenance:** verify that the exact retrieved cohort body matches the pinned `cohortSHA`, using the repository’s existing canonicalization and hashing rules.
- **Original profile:** require the verified original profile associated with that frozen cohort. Do not substitute a current profile or trust an embedded profile without verification.
- **Outcome authorization:** establish how `outcomesFromRecords` and `prospectiveCombinedCohort` authenticate the relationship among the cohort, profile, and contributing outcomes. Reuse established verification semantics; a matching hash alone does not establish authorization.
- **Exact event evidence:** obtain `sourceOutcomeKeys` only from authenticated frozen evidence. Validate their format and cardinality before issuing bounded, exact `public_events` reads. Verify returned records against the requested identities and required authorization fields.
- **No substitutions:** missing records or failed authorization must not trigger collection scans, latest-annotation reads, current-price lookups, or reconstruction from unrelated records.
- **Cost calculation:** consume the exported `designInput` validator and `costFraction` semantics where available. Confirm required fields, units, rounding, zero handling, and valid numeric bounds before implementing arithmetic. Do not infer these contracts from their names.
- **Output:** return a small public result or an unavailable result. Keep cohort bodies, profiles, source keys, private identifiers, and detailed verification diagnostics out of public responses.

The helper must neither mutate its inputs nor invoke persistence-capable recovery paths.

### Optional `src/combined-season.js`

Change this file only if needed to export existing pure validation/calculation logic or expose authenticated frozen provenance already available during reads.

Inspect `recovery` and `accountingRecovery` specifically for:

- whether they preserve verified original inputs;
- whether they synthesize incomplete or differently authorized evidence;
- whether invoking them can write;
- whether existing snapshot-integrity errors already map to 503.

Recovered data should qualify only when it satisfies the same attachment authorization contract. Recovery status alone should neither authorize nor disqualify it.

## Public serializer and UI

Expose the attachment through an explicit allowlist. Keep stored/public historical records, estimates, scores, ranks, and Elo unchanged.

Display it as a separately labeled frozen reference cost, with an unavailable state that cannot be confused with zero. Whether a serializer addition is sufficient for the UI is unverified: if actual UI changes require files outside the permitted scope, identify that dependency before implementation.

## Meaningful tests

- **Authenticated success:** a frozen cohort, verified original profile, and exact source events produce the expected reference cost.
- **Pinning:** changing the active-season pointer during a read cannot change attachment provenance; plural reads cannot mix cohorts.
- **Authorization failures:** mismatched profile, unauthorized outcome linkage, missing events, or invalid source keys produce unavailable.
- **Integrity preservation:** existing snapshot corruption still produces 503, including when attachment lookup also fails.
- **Bounded reads:** enforce exact cohort/event lookup arguments and read limits; unexpected scans or latest-annotation queries fail the test.
- **Recovery:** representative `recovery` and `accountingRecovery` fixtures qualify only with complete authenticated evidence; no repair writes occur.
- **Calculation contract:** test independently established expected values and relevant invalid/zero boundaries of `designInput` and `costFraction`.
- **Noninterference and privacy:** freeze inputs; compare historical fields before and after; assert no writes and no private metadata in serialized output.

## Alternatives and uncertainty

- Reusing a cost already stored in an annotation is acceptable only if that exact annotation and its authority are frozen and verified. “Latest” is incompatible with the requirement.
- Reconstructing a prospective cohort is useful only if it is pure and reproduces the relevant authorization contract.
- It remains unknown whether a cohort hash mismatch belongs to existing **snapshot integrity** or attachment-only verification. Preserve the existing classification; do not silently downgrade an integrity failure.
- Actual signatures, schema relationships, read limits, recovery behavior, and cost semantics require source evidence.

**Next action:** inspect the named functions and their callers, then document the exact frozen identity chain and failure classification before implementing the helper.

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.

Primary judge's stated reason

Forced, weak preference for B because its explicit display guidance slightly reduces ambiguity for consumers of this display-only attachment. This is not an established material quality difference; an independent review could reasonably reject the 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_12d16a635bcf06e83939e7c6534391ffda618b744918b6890e52f115e463adc6. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.