← Model losses

Head-to-head comparison

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

Adversarially review BattleRanks recipe and individual cost comparability using the named frozen source. Trace reference costs, included execution classification, actualBilling unknown, cache accounting, original judge omission, synthesis costs, and combined-score baseline. Determine whether any accepted receipt or rendered record could imply actual billed dollars, a full workflow total, subscription debit, or fair economic comparison that the evidence does not support. Cite exact functions and accepted values; provide minimal counterexamples for concrete defects, state preconditions and severity, and propose minimal fixes and regression scenarios while preserving current rating formulas and historical rows. Explicitly distinguish actual costs, declared reference estimates, and unknown costs. Do not edit files or claim tests ran.

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

## Conclusion

**The supplied code supports declared reference estimates—not actual billed dollars, subscription debits, or complete workflow costs.** Its explicit accounting labels largely enforce that distinction. However, several validation and comparability gaps can admit misleading reference comparisons.

This was an independent, direct static review of the frozen packet. No files were edited and no tests were run.

## Cost-provenance trace

| Area | What the code actually establishes |
|---|---|
| Recipe reference costs | `deriveRecipeObservation()` computes input as `input + cache.read + cache.write`, output as `output + reasoning`, and passes those totals to `estimatedCostFraction()` using profile rates (`source/recipe-evidence.js:51–54`). |
| Synthesis | Recipe reference cost sums every supplied worker plus synthesis. The synthesis contestant receives that sum for combined scoring (`recipe-evidence.js:66–68`). |
| Actual billing | Admission requires exactly `accounting.actualBilling === 'unknown'` and `reference.basis === 'declared-reference-estimate'` (`source/recipe-observations.js:88`). No actual billed amount is authenticated here. |
| Included execution / subscription | None of these four files validates an included-execution classification, billing arrangement, or subscription debit. Such evidence cannot be recovered from the reference estimate. The public recipe schema has no fields for it (`recipe-observations.js:22–30`). |
| Original judge | Its export is required when a manifest child has the recognized judge title. Only its duration is extracted; its tokens and monetary cost are not priced (`recipe-evidence.js:61–64`). |
| Workflow total | Accepted records require `costCoverage:'workers-and-synthesis-only'`, `originalJudgeReferenceUSD:null`, and `totalWorkflowUSD:null` (`recipe-observations.js:90`). Historical records without coverage receive those conservative defaults (`67–72`). |
| Unknown versus zero | Worker/synthesis reference amounts can all be nonnegative numbers, including zero, or all be `null` with `workerCosts:null` (`recipe-observations.js:91–96`). Neither case establishes an actual charge. |
| Combined comparison | Quality compares synthesis quality against the highest worker quality. Combined comparison independently uses the maximum worker combined score, while recipe cost is workers plus synthesis (`recipe-evidence.js:66–68`). Cost/time deltas in summaries instead use the **best-quality** individual (`recipe-observations.js:125`). |
| Retrospective reassessment | `REVIEWED_COST_BASIS` fixes Astra reference rates at **$10/M input and $50/M output**, Standard, short-context; explicitly declares historical rates unverified, pre-dispatch approval not claimed, billing reference-not-invoice, and attempt coverage unverified (`source/combined-cost-reassessment.js:8–15`). |

`authenticateCombinedCostReassessment()` has substantially stronger binding than a self-hash alone: it requires the original prospective v2 no-tests cohort, legacy scenario, missing-approved-rate exclusion, zero active cost weight, original assessment/event identities, and native accounting verification (`combined-cost-reassessment.js:37–48`). This supports a narrowly scoped **retrospective reference valuation**, not a correction to historical invoices or proof of complete attempt costs.

## Findings

### 1. “Approved” recipe comparison does not verify the approved profile

**Severity: Medium; potentially high if attacker-controlled evidence reaches the resolver. Confidence: High for the local validation gap.**

`deriveRecipeObservation()` checks that the profile hashes itself, matches the task, and has:

- `policy.kind === 'no-tests'`;
- weights exactly `{judgment:90, objective:0, speed:5, cost:5}`;
- positive reference time and reference cost.

It then consumes the profile’s rates (`recipe-evidence.js:27–28,52–54`).

It does **not** call `verifiedCombinedProfile()`, whose reconstruction checks approved policies and supported scenarios (`source/combined-season-profile.js:42–43,55–69`). Nevertheless, the produced comparison is labeled `approved-no-tests-90-5-5-v1` (`recipe-evidence.js:68`).

**Minimal counterexample:** Starting with otherwise valid evidence, replace a positive `policy.referenceCostUSD` with another positive value and recompute the profile and affected export/manifest hashes. All displayed recipe policy checks still pass, although the policy need not be an approved reconstruction. The same gap applies to substituted positive rate tables, subject to the external cost helper accepting those rates.

**Implication:** A digest establishes internal consistency, not approval. The reference comparison can carry an approval label that the local verifier did not establish.

**Minimal fix:** For newly admitted evidence, verify the complete profile through the approved-profile verifier or an explicitly versioned approved historical policy registry. Preserve historical rows and identify their verification provenance separately.

**Regression scenario:** Reject a self-consistent profile with altered reference cost, reference time, rates, or unsupported scenario despite unchanged 90/5/5 weights.

### 2. Cache and reasoning accounting depend on an unvalidated token convention

**Severity: Medium; High if mixed export conventions occur. Confidence: High that the convention is unchecked; occurrence is unknown.**

`derive()` validates each counter as a nonnegative safe integer, then unconditionally adds cache counters to input and reasoning to output (`recipe-evidence.js:51–54`). It supplies `inputIncludesCache:true` and `outputIncludesReasoning:true` **after** making those additions.

Those flags describe the constructed totals; they do not prove that the source counters excluded cache and reasoning.

**Minimal counterexample:** An accepted-shaped export reports:

```text
input=100, cache.read=80, cache.write=0
output=20, reasoning=10
```

If that exporter already includes cache reads within `input` and reasoning within `output`, the function values **180 input and 30 output tokens**, rather than 100 and 20. Nothing shown distinguishes that export convention from exclusive counters.

The separate reviewed reassessment explicitly declares inclusive cache valued at ordinary prompt rate and output/reasoning counted once (`combined-cost-reassessment.js:14`), and invokes native accounting verifiers (`45–46`). Their implementations are outside this packet.

**Minimal fix:** Require versioned source-accounting semantics and normalize once before calling the unchanged cost formula. Reject or mark the reference estimate unknown when inclusion semantics cannot be established. State explicitly that ordinary prompt-rate cache valuation is a reference convention, not observed cache billing.

**Regression scenarios:** Exclusive and inclusive exports for identical usage normalize to identical totals; ambiguous exports cannot silently produce a numeric estimate.

### 3. Combined baseline permits duplicate configurations and omission of a worker

**Severity: Medium; High if standalone admission is the authoritative ingestion gate. Confidence: High.**

`verifiedRecipeObservation()` checks combined-baseline length and membership, but not uniqueness or equality of configuration sets (`recipe-observations.js:83–85`). `checkedPair()` then verifies the maximum of the supplied list (`53–60`).

**Minimal counterexample:** For contributors A and B, a record can contain:

```text
comparisonBaseline.individuals:
  A: eligible=true, scorePoints=10
  A: eligible=true, scorePoints=10

combined:
  recipePoints=20
  bestIndividualPoints=10
  pointDelta=10
  relativeUpliftPct=100
```

Both entries are members of the valid individual set, the length is two, and the pair arithmetic passes. B is absent.

Neither `recipeFamilyID()` nor `recipeObservationID()` hashes these baseline values (`recipe-observations.js:42–50`), so changing them does not require changing those identifiers.

**Precondition:** The mutated record reaches standalone verification. Fresh derivation constructs one combined row per worker; an external rederivation-and-equality gate could prevent this, but is not shown.

**Minimal fix:** Require unique combined configuration IDs and exact equality with the contributor set.

**Regression scenario:** Reject `[A,A]` for contributors `[A,B]`, even when every score and pair equation is internally consistent.

### 4. Standalone reference validation establishes arithmetic, not monetary provenance

**Severity: Medium, conditional on ingestion trust. Confidence: High.**

`verifiedRecipeObservation()` validates worker-cost sums, recipe totals, and the best-quality worker’s corresponding amount (`recipe-observations.js:91–101`). It does not reconstruct costs from token evidence or bind them to approved rates. Supplying `battle` only checks battle ID, category, and configuration cohort (`80`).

**Minimal counterexample:** Take an otherwise valid record and multiply every worker cost, `workersUSD`, `synthesisUSD`, `fullRecipeUSD`, and `bestQualityIndividualUSD` by ten. All displayed monetary checks still pass, and the observation ID remains unchanged.

The result still correctly says “declared-reference-estimate”; the defect is treating that acceptance as authentication of the estimate.

**Minimal fix:** Make the authoritative admission boundary require trusted derivation and equality against the submitted record. Keep structural validation available, but distinguish it from provenance verification. Existing historical rows can retain their values with an explicit verification status.

**Regression scenario:** A balanced, tenfold-inflated record passes structural arithmetic checks but fails authenticated admission.

### 5. Aggregation mixes potentially different economic scenarios

**Severity: Medium. Confidence: High.**

Recipe families depend on configuration IDs, rubric version, synthesis protocol version, and instruction hash—not reference-price scenario or policy (`recipe-observations.js:42–47`).

Although optional `frozen.policyVersion` and `frozen.costScenarioID` are allowed, they receive only string-format validation (`66`). Fresh derivation does not populate them (`recipe-evidence.js:68`). Aggregation groups solely by recipe family and averages combined-score deltas and reference costs (`recipe-observations.js:129–145`).

**Minimal counterexample:** Two otherwise valid observations for distinct battles have the same recipe family but different declared reference-price scenarios. Both can be accepted and placed in one aggregate without any scenario homogeneity check.

**Implication:** A mean reference-dollar value or combined uplift can blend different price bases or normalization policies. It is not necessarily a like-for-like economic comparison.

**Minimal fix:** Preserve quality ranking and historical rows, but attach scenario provenance to observations and partition monetary/combined summaries by a verified comparability key. Historical unknown scenarios should remain explicitly unknown rather than inherit a current scenario.

**Regression scenario:** Same-family observations under different scenarios remain available together for quality analysis but cannot produce an unlabeled pooled economic summary.

### 6. Worker completeness and original-judge detection rely on title conventions

**Severity: Medium, conditional on noncanonical manifests. Confidence: High for the bypassable checks.**

Manifest completeness requires only `children.length >= workers.length`. Exact worker coverage is enforced only when some child titles include `/effort-` (`recipe-evidence.js:34–36`). Original-judge detection similarly depends on a title ending `/moa-judge]` (`61–64`).

**Minimal counterexample:** A manifest contains actual workers A, B, and C plus synthesis, but no worker title contains `/effort-`. Supply exports for A and B and a judge packet containing A, B, and synthesis. The displayed cohort checks permit C’s omission, assuming the remaining bindings are valid.

Likewise, an original judge with an unrecognized title does not trigger the original-judge export requirement.

**Implication:** “Workers-and-synthesis-only” can represent only the supplied worker subset. This does not bypass the explicit unknown workflow total, but it weakens completeness and economic comparability.

**Minimal fix:** Bind an explicit role-tagged worker roster and original-judge identity to authenticated run evidence. For historical title-only manifests, expose completeness as unverified without rewriting their scores.

**Regression scenarios:** Reject an omitted role-tagged worker; recognize a judge independently of its display title.

## Guardrails and non-findings

- **A billed-cost claim is explicitly rejected:** changing `actualBilling` from `'unknown'` fails admission (`recipe-observations.js:88`).
- **A numeric workflow total is explicitly rejected**, including zero; original-judge reference cost must also remain `null` (`90`).
- Synthesis reference cost is included in both the recorded recipe sum and the recipe combined-score input (`recipe-evidence.js:66–68`).
- The maximum-quality worker and maximum-combined-score worker are deliberately different baselines. That is not a formula defect; presentation must identify which baseline each delta uses.
- `fullRecipeUSD` is potentially misleading when displayed alone, but accepted records and aggregate output carry the narrower coverage label (`recipe-observations.js:90,125`). No renderer is supplied, so an actual UI mislabeling is not established.
- Zero marginal subscription charge, actual provider billing, and reference valuation are distinct concepts. No supplied check permits inferring one from another.

## Evidence limits and next action

`combined-exact.js`, `input-accounting.js`, `cost-scenarios.js`, `design-policy.js`, and the event/eligibility implementations are outside this packet. Consequently, exact normalization formulas, native counter semantics, approved legacy rates, and end-to-end ingestion authentication cannot be confirmed. No invoice source or renderer is supplied.

**Next useful action:** Harden the admission/provenance boundary, add the regression scenarios above, and ensure displayed costs retain their basis, coverage, scenario, and unknown-billing labels. Preserve current rating formulas and historical values; add provenance annotations or separate reassessments rather than silently recomputing old rows.

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

## Conclusion

A record produced by `deriveRecipeObservation` and admitted by `verifiedRecipeObservation` does **not** support a claim of actual billed dollars, subscription debit, or full-workflow cost. It explicitly says `actualBilling: 'unknown'`, labels its amounts `declared-reference-estimate`, limits coverage to `workers-and-synthesis-only`, and requires both `originalJudgeReferenceUSD` and `totalWorkflowUSD` to be `null` (`source/recipe-evidence.js:68`; `source/recipe-observations.js:87–96`). The aggregate also reports `actualBilling: 'unknown'` and counts total-workflow cost as missing (`source/recipe-observations.js:119–127`).

It does support a *reference estimate* for the included worker sessions and synthesizer, calculated from native token counters and the profile’s declared rates. The estimate is not an invoice, and the source does not classify executions as subscription-included, separately metered, or otherwise debited. Numeric fields such as `fullRecipeUSD` could mislead if displayed without their adjacent basis and coverage labels; no rendering code is in the packet to determine whether that happens.

## Cost and score trace

- In `deriveRecipeObservation`’s nested `derive` function, each worker and the synthesizer must have native input, output, reasoning, cache-read, and cache-write counters (`source/recipe-evidence.js:43–54`). The estimate passes `input + cache.read + cache.write` as total input with `inputIncludesCache: true`, and `output + reasoning` as total output with `outputIncludesReasoning: true` (`:51–54`). It selects one matching `policy.rates` entry for each model (`:52–53`).
- The synthesizer’s estimate is included: `teamCost` sums every worker and the synthesizer; the record then reports worker costs, `synthesisUSD`, `fullRecipeUSD`, and the best-quality worker’s `bestQualityIndividualUSD` (`:66–68`). Thus, in the generated record, “full recipe” means workers plus synthesis, not the whole workflow.
- The separate judge is not priced. If the manifest has an original judge child, the evidence must include its export and the code records only its elapsed turn time (`:61–64`). The judge export used for scores is also not costed in `derive` (`:19–23`, `:52–56`). The explicit null judge and workflow cost fields are therefore important safeguards.
- The score comparison uses the unchanged policy weights `{judgment: 90, objective: 0, speed: 5, cost: 5}` (`source/recipe-evidence.js:28`). `calculateCombined` receives each worker’s row and a synthesizer row whose cost is the summed worker-plus-synthesis cost (`:66`); its output is stored under the explicitly labeled comparison baseline (`:67–68`). The verifier checks the baseline label and paired-score consistency, but does not rerun `calculateCombined` (`source/recipe-observations.js:82–85`).
- The recorded recipe wall time is the synthesizer’s completion time minus team admission, while the original judge must finish before synthesis starts (`source/recipe-evidence.js:41`, `:49`, `:64–68`). Consequently, the comparison’s recipe elapsed time can include pre-synthesis judging even though its reference cost excludes that judge. This matters for economic interpretation; it does not make the declared cost a workflow total.

For the separate combined-cost reassessment, `REVIEWED_COST_BASIS` declares $10/M input and $50/M output, Standard, short-context, cache input at ordinary prompt rate, and reasoning counted once. It also explicitly says retrospective valuation, historical rate at execution unverified, pre-dispatch approval not claimed, reference-not-invoice, and attempt coverage unverified (`source/combined-cost-reassessment.js:8–14`). Authentication is limited to qualifying legacy cohorts whose cost was excluded for a missing approved Astra rate (`:37–49`). The supplied function authenticates the annotation and returns a reviewed policy; it does not establish a billed amount.

## Concrete risks and minimal fixes

1. **Reference-cost aggregates can mix pricing bases.** `recipeFamilyID` covers contributor/synthesizer configurations, rubric, and synthesis protocol, but not a price-schedule identity (`source/recipe-observations.js:42–47`). `aggregateRecipeObservations` groups by that family and checks stable recipe configuration, not stable rates or cost scenario (`:129–146`). The schema permits `frozen.costScenarioID`, but `deriveRecipeObservation` does not populate it (`source/recipe-observations.js:22–30`; `source/recipe-evidence.js:68`).
   - **Counterexample / precondition:** two observations have the same recipe family, but one uses a reference schedule yielding $1 and another a schedule yielding $10. Both can be internally consistent; the aggregate can report a $5.50 mean reference cost without identifying the schedule change.
   - **Severity:** moderate for cross-observation economic comparison; neither value becomes actual billing.
   - **Minimal fix:** persist a price-schedule/source identity and cache/context basis, and aggregate or compare only compatible bases. Regression: same family under two schedules must split, reject, or report separate means. Keep historical observations intact; do not backfill unknown schedules.

2. **The standalone verifier does not prove that reference amounts came from the exports.** `verifiedRecipeObservation` checks the declared basis and arithmetic relationships among worker, synthesis, and recipe amounts (`source/recipe-observations.js:87–101`), but it does not recompute token estimates from exports and rates. The evidence-derived path does that computation; direct callers of the standalone verifier need not use that path.
   - **Counterexample / precondition:** a caller supplies internally balanced worker and synthesis amounts, with `workersUSD + synthesisUSD === fullRecipeUSD` and a matching best-worker amount, but those amounts do not correspond to the native counters. The structural checks can pass if the record is accepted directly rather than rederived.
   - **Severity:** high for reference-estimate integrity at that trust boundary, conditional on direct admission of untrusted records.
   - **Minimal fix:** require evidence-derived admission (or an authenticated commitment to the source exports, rate basis, and calculation). Regression: alter amounts while retaining internally consistent sums; admission must fail without matching source evidence.

3. **The comparison baseline is not independently recomputed by the observation verifier.** It checks the fixed label, cohort membership, and paired-score arithmetic, but not that baseline individual scores correspond to the actual individuals or to the `calculateCombined` result (`source/recipe-observations.js:82–85`).
   - **Counterexample / precondition:** an externally supplied record gives baseline individuals eligible scores different from the generated baseline, then supplies a pair consistent with their maximum. The verifier checks the pair, not its derivation.
   - **Severity:** moderate for baseline integrity if raw records cross this boundary; the supplied evidence-generation path does calculate the baseline.
   - **Minimal fix:** recompute using the existing formula during admission, without changing that formula. Regression: mutate a baseline score or eligibility flag while keeping the pair internally consistent; admission must fail.

4. **Cache treatment depends on counter semantics.** The recipe path explicitly adds cache read/write to `tokens.input` and prices the resulting input at the selected prompt rate. If `tokens.input` already includes cached tokens, this double-counts them; if it excludes them, the sum is appropriate. The snippet does not establish that counter convention. The reviewed Astra basis separately and explicitly prices cache tokens at the ordinary prompt rate, not a cache-discounted rate (`source/combined-cost-reassessment.js:14`).
   - **Precondition / example:** input is 1,000 tokens and cache-read is 900. The recipe estimate uses 1,900 input tokens; that overcounts by 900 only if the native input counter already includes cache-read tokens.
   - **Severity:** conditional; the reference basis is explicit, but token-counter semantics are not independently established by this packet.
   - **Minimal fix:** store the counter components and their documented semantics, and test both cached and uncached cases—including no double counting when input is inclusive. Do not relabel the ordinary-rate estimate as actual spend.

5. **Legacy observations can receive a coverage label from missing metadata.** If `costCoverage` is absent, the verifier assigns `workers-and-synthesis-only` and fills the judge/workflow fields with nulls (`source/recipe-observations.js:67–70`). The generated record sets that coverage explicitly, but the fallback alone does not prove the historic amount had that scope.
   - **Precondition:** a historical or externally supplied record reaches this verifier without `costCoverage`; no source rederivation establishes what its amount included.
   - **Severity:** moderate for historical interpretation.
   - **Minimal fix:** preserve such rows but mark their coverage as unknown or retain the legacy label with a provenance warning; do not infer it from absence. Regression: a coverage-omitting legacy record must not silently become comparable as a workers-and-synthesis estimate.

## Comparability and next action

Within a single derivation, worker and recipe reference estimates use the same profile’s declared rates, but their scopes differ: a best individual is one worker; the recipe is all workers plus synthesis. Neither includes judge cost, and this source does not establish subscription inclusion, billed attempts, retries, or other execution charges. Do not describe their difference as a fair comparison of actual economic spend without those qualifications. Preserve the current rating formulas and historical rows; make provenance, scope, and admission checks additive.

The packet lists `combined-exact.js`, `cost-scenarios.js`, `input-accounting.js`, and other modules as outside the snapshot. Their exact formulas, rate provenance, counter semantics, and downstream application behavior therefore cannot be independently verified here. The next useful check is to preserve the pricing-basis and execution-scope metadata alongside rendered aggregates and verify that source exports and counter semantics are required wherever untrusted observations are admitted.

Primary judge's stated reason

A receives a slight forced preference because its approved-profile validation finding and concrete duplicate-baseline example give maintainers additional supported admission checks and regression targets directly relevant to economic comparability. This is a weak preference, not a proven material quality gap; B offers valuable countervailing scope analysis, and 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: 431da5a4-1ac3-4bda-b919-c2eb52d7ae58. Pair: brp1_b54e101e756582973f86318137b44e6be8e29f2cce715a29d2d928617a975d80. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.