← Model losses

Head-to-head comparison

openai / gpt-6.1-sol / low / low 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

Review the released BattleRanks recipe data integrity boundary in the named frozen source. Trace family identity, observation identity, verification, storage deduplication, and recovery on duplicate submissions. Identify concrete conditions that could merge distinct recipes, double count one observation, accept mismatched battle/configuration lineage, or partially persist state. For each finding cite the exact function and evidence, show a minimal counterexample or actor sequence, distinguish proven behavior from assumptions, assess severity, and propose the smallest regression scenario. Compare existing guardrails with each claimed gap. Return prioritized findings and a release follow-up decision. Do not edit files or claim tests ran.

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

## Conclusion

**Release follow-up: harden duplicate recovery and native-run lineage before expanding publication.** The snapshot has strong identity and storage guardrails, but concurrent identical retries can fail rather than recover, and native root/synthesis run identities are not consistently cross-checked. Atomic batch persistence cannot be established from this packet.

Independent, read-only analysis of the supplied snapshot; no tests ran.

## Prioritized findings

### 1. Identical retries are not recoverable across seasons or concurrent admission
**Severity: Medium. Confidence: High.**

**Evidence:** `insertRecipeObservations`, `recipe-store.js:38–46`; global source-run index, `0010_recipe_observations.sql:15–18`.

Two minimal sequences:

- **Concurrent publishers:** A and B submit the same valid observation. Both read before either inserts, both classify it as new, A commits, and B encounters a unique constraint. There is no catch-and-reload path.
- **Season transition:** An identical observation exists in season S1. Submit it in S2, assuming its battle remains admitted. The global replay check permits identical evidence (`recipe-store.js:40`), but the season-local maps do not recognize it as a duplicate (`41–43`). The attempted insert violates the global source-run index.

**Existing guardrails:** The primary key, battle/family uniqueness, and global source-run index prevent duplicate storage. Exact conflicting replays are rejected before insertion. These protect integrity but do not provide the promised identical-retry recovery.

**Impact:** Failed publisher requests despite already-persisted valid evidence; persistent retry failure across seasons. This is **not proven double counting**.

**Smallest regression:** Concurrently admit one identical observation twice; require one inserted response and one deterministic duplicate response. Repeat against a second season and assert the explicitly chosen cross-season behavior.

**Smallest fix:** On relevant uniqueness errors, reload the conflicting row and compare canonical evidence. Define whether cross-season identical submissions return “already recorded” or an explicit nonretryable rejection.

### 2. Root and synthesis run identities can disagree while verification succeeds
**Severity: High if resolver inputs can contain mixed-run artifacts; otherwise Medium latent validation gap. Confidence: High on the missing check.**

**Evidence:** `deriveRecipeObservation`, `recipe-evidence.js:29,41,68`.

The manifest run is checked against:

```js
metadata.runID ?? root.info?.metadata?.agentTeamsV2?.runID
```

When synthesis metadata supplies a run ID, root metadata is not compared against it. Root admission matching also accepts a text block merely containing `m.runID`, rather than requiring an exact structured run binding.

**Minimal counterexample:** Start with otherwise valid evidence for run R. Use a root export whose metadata identifies Q, but whose one qualifying `team_moa` tool text mentions R. Retain valid admission timing and omit the optional tool question. Bind the manifest to that root hash. No displayed check rejects the root/run disagreement.

**Existing guardrails:** Manifest worker hashes, synthesis hashes/result reference, dispatch/configuration derivation, answer matching, and temporal ordering remain required. They constrain the artifacts but do not repair this root identity disagreement.

**Impact:** A record attributed to R can carry root lineage for Q. Producing the full accepted bundle depends on control of—or errors in—the trusted evidence resolver; arbitrary public exploitability is not established.

**Smallest regression:** Change only root metadata’s run ID in a valid fixture, recompute its manifest hash, and require rejection. Separately ensure a textual incidental mention cannot establish admission.

**Smallest fix:** Require equality of every present run identity and use an exact structured admission identifier.

### 3. Structural battle matching permits duplicate public configuration entries
**Severity: Medium for authenticated-canonical admission; Low for the evidence-derived route. Confidence: High.**

**Evidence:** `verifiedRecipeObservation`, `recipe-observations.js:76–80`; bypass route, `recipe-store.js:33–35`.

For contributors `{A,B}`, the battle check accepts two models `{A,A}`: the length is two and every model belongs to the contributor set. It does not require unique battle configuration IDs or equality of both sets.

**Minimal counterexample:** Supply an internally valid observation with contributors A and B, matching battle ID/category, and a battle containing A twice. `verifiedRecipeObservation` accepts this cohort condition.

**Existing guardrails:** `deriveRecipeObservation` independently looks up each worker configuration and validates its public model/configuration (`recipe-evidence.js:49–55`), which blocks this example through normal evidence derivation. `authenticatedCanonical` bypasses that derivation, relying on caller authentication and canonical provenance not shown here.

**Impact:** A malformed admitted battle can accept an observation with a missing public contributor through the structural route. This does not establish an unauthenticated attack.

**Smallest regression/fix:** Assert rejection for battle `[A,A]` against recipe `[A,B]`; compare unique configuration sets and require public uniqueness.

## Persistence and identity assessment

- **Family identity:** `recipeFamilyID` validates derived configuration IDs, prohibits duplicate contributors and synthesizer overlap, and hashes sorted contributor IDs, synthesizer ID, rubric, protocol version, and instruction hash (`recipe-observations.js:42–47`). Contributor order is intentionally erased. Distinct order-sensitive recipes would merge **only if contributor order is semantically meaningful**, which this packet does not establish. Tasks, judge identities, and scoring policies are excluded; that is a grouping design choice, not independently proven corruption.
- **Observation identity:** Includes battle, family, source run, and judge-export hash (`49–50`). Changing other evidence preserves the ID, but canonical full-record comparison rejects conflicting retries (`recipe-store.js:40,43`). Thus the narrow identity does not itself establish silent overwrites.
- **Double counting:** SQL globally prevents reuse of a source-run ID. `aggregateRecipeObservations` itself checks only observation IDs and battle/family pairs (`recipe-observations.js:129–136`); direct callers could count one source run twice under different battles. The persisted publisher path adds both in-batch and global checks (`recipe-store.js:37–40`), so this is not a proven released-storage double-counting defect.
- **Partial persistence:** Inserts use `db.batch` (`recipe-store.js:46`) without an explicit transaction in the shown code. A later-statement failure could leave earlier inserts **if that API is nontransactional**. Its implementation and contract are outside the packet, so partial persistence is conditional, not proven. The revision subquery plus `admitted_revision NOT NULL` guards stale inserts, but does not itself demonstrate batch atomicity.
- **Duplicate-only stale revision:** Authenticated submissions check the selected revision initially (`33`), while duplicate-only batches execute no final revision-guarded write. A concurrent season change can therefore precede a successful duplicate response. No new stale row is proven persisted.

## Remaining evidence and next action

The digest/canonicalization, configuration derivation, active-season reader, exact arithmetic, and database batch contracts are outside the packet. Their absence limits conclusions about hash collisions, active-season validation, and transaction guarantees.

Next: add the three focused regressions above and an injected second-insert failure test against the actual database adapter. Keep the global source-run uniqueness and immutable-row triggers; fix recovery rather than weakening deduplication.

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

## Prioritized findings

1. **The family identity may merge recipes that differ in contributor order.**  
   `recipeFamilyID` sorts contributor configuration IDs in place before hashing (`recipe-observations.js:42–47`). This deliberately treats contributor order as irrelevant. If recipe roles or execution order are meaningful, two recipes with the same contributors but different assignments/order receive the same family ID. The validator preserves contributor configurations but does not establish that order is semantically irrelevant (`recipe-observations.js:104–105`).  
   **Counterexample:** submit the same two contributors in reversed role/order, with all other family fields equal. They hash to the same family. Whether that is a real collision depends on omitted execution semantics.  
   **Guardrails:** configuration IDs are validated and duplicates rejected; aggregation rejects different serialized recipe configurations within one family (`:135`).  
   **Severity:** medium, conditional on order/role mattering.  
   **Regression:** verify either that reversed order must produce different families, or explicitly assert it is equivalent.

2. **An observation can be accepted without matching the active season’s revision at database insertion.**  
   `insertRecipeObservations` checks season/revision before verification only for `authenticatedCanonical` input (`recipe-store.js:31–35`). The insert uses a subquery for the active matching revision (`:46`), but no affected-row check is shown. If the active revision changes between the initial read and batch insert, the subquery may yield `NULL` for a `NOT NULL` column and fail; if the database’s batch behavior is not atomic, earlier inserts may remain.  
   **Actor sequence:** read active revision R1, another actor activates R2, batch attempts inserts bound to R1. Exact persistence outcome depends on database/batch transaction semantics, not supplied here.  
   **Guardrails:** canonical submissions compare revision (`:33`); insertion binds both season and revision (`:46`).  
   **Severity:** medium; partial persistence is plausible but not proven.  
   **Regression:** force a revision change between read and batch; assert no rows persist and a retry can succeed.

3. **Duplicate recovery is strict equality, not unconditional idempotence.**  
   Existing rows are checked by observation ID or `(battle, family)`; a matching row is returned as duplicate only if the full verified evidence is stable-equal (`recipe-store.js:41–44`). Thus a retry with changed non-identity evidence conflicts rather than recovering as a duplicate. This is defensible protection against altered evidence, but means retries are idempotent only when the complete canonical record is unchanged.  
   **Counterexample:** same battle, family, run, and judge export, but a changed lineage field; it hits the prior pair/ID and fails as “Conflicting recipe observation.”  
   **Guardrails:** observation identity includes battle, family, source run, and judge export (`recipe-observations.js:49–51`); cross-season source-run replay is checked (`recipe-store.js:38–40`), and SQL uniquely constrains source run (`0010_recipe_observations.sql:15–18`).  
   **Severity:** low to medium operational risk.  
   **Regression:** submit identical payload twice, then a same-identity payload with one changed lineage field; assert duplicate for the first retry and explicit conflict for the altered retry.

4. **Potential double-counting from same-batch family conflicts is guarded, but source-run uniqueness races remain database-dependent.**  
   Incoming events are aggregated before insertion, rejecting repeated observation IDs or the same battle/family (`recipe-observations.js:129–136`; `recipe-store.js:36–37`). Existing source-run reuse is checked across stored rows (`recipe-store.js:38–40`), and SQL has a global unique index on `sourceRunID` (`0010_recipe_observations.sql:18`). Concurrent publishers can still race past the read checks; the unique index prevents both rows from persisting, but the caller’s failure/rollback behavior depends on `db.batch` semantics.  
   **Severity:** low for integrity; medium for partial-write risk.  
   **Regression:** concurrent inserts for one source run; assert at most one row and no partial batch residue.

## Lineage and verification assessment

The evidence derivation binds judge receipt, packet, contestants, scores, profile, task, run, manifest, worker exports, configurations, timing, and published worker entries (`recipe-evidence.js:18–59`). It also verifies the battle ID/category when present in the manifest and checks completed public-battle snapshots (`:29–30`). The standalone verifier checks battle ID/category and cohort membership (`recipe-observations.js:73–80`).

A specific limitation: the manifest’s `battleID` and `category` checks are conditional on those fields being present (`recipe-evidence.js:29`); the later battle check binds the derived record to the supplied battle, but does not prove the manifest itself carried those fields. This is not evidence of accepting mismatched lineage when fields are present; it is weaker provenance when they are absent. The outside-packet dependencies (configuration derivation, canonical digest, season read, and database batch implementation) prevent confirming their internals or atomicity.

## Release follow-up

**Do not block release solely on a demonstrated recipe merge or double count:** the supplied code has strong identity, validation, and uniqueness guardrails, and no unconditional integrity break is proven. Before release, add regression coverage for concurrent source-run submissions and active-revision changes during insertion, and document whether contributor ordering is semantically irrelevant. Treat database batch atomicity and the family-order assumption as unresolved until verified.

Primary judge's stated reason

B provides materially more actionable coverage of the requested integrity boundary: distinct recovery and lineage conditions have minimal actor sequences, guardrail comparisons, and targeted regressions. This supports a clear preference on substantive audit coverage, not merely a forced slight preference. Actual exploitability and database rollback behavior remain uncertain; the preference does not establish that B's release posture is uniquely necessary.

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

Battle wave: c45fb52e-f319-4911-b8d9-47ec80be5c0c. Pair: brp1_bca6af89e4348d3266444065c2157d4bce3354fe3e8430d7db91c79fd5af5858. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.