Commit Graph
5 Commits
Author SHA1 Message Date
Joseph MaglyandClaude Opus 5.5 db39905ffa fix(eval): report invalid completions beside refusal rates and stop rewarding degeneration (#312)
`refusal_rate` and its callers counted empty, reasoning-only and degenerate
completions as non-refusals, so the Bayesian optimizer objective and
tourney and benchmark rankings could reward an edit that destroyed output.

- New `measure_refusals` returns a `RefusalMeasurement` (refused, valid,
  invalid, total, rate over valid completions, invalid rate).
- `refusal_rate`, `refusal_rate_with_ci` and `heretic_eval.arditi_refusal_rate`
  gain `exclude_invalid`. The default keeps the legacy all-response
  denominator for a deprecation window; `refusal_rate_with_ci` adds
  valid, invalid and total counts.
- Verification metadata adds invalid counts, the valid-only rate and a
  refusal objective that counts invalid completions as refusals.
- The Bayesian optimizer, tourney and benchmark rankings use that objective
  and record invalid rates; displayed refusal rates are unchanged.
- docs/refusal-metrics.md documents the denominators and the planned
  default change.

Fixes #312

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 17:16:26 -04:00
Joseph MaglyandClaude Opus 5.5 6db084a4f2 fix(gpu): admit only the work that follows and warn once per invocation
Refinement admits the validation gate alone, not the evaluation capture it
never runs, so default mode cannot reject a run for forwards that do not
happen. Repeated admissions inside one benchmark method, Concept Lab
action, informed/Ouroboros loop or concept evaluation share a warning
scope: each boundary still observes memory afresh, but a phase/device
warns once per invocation.

Refs #245

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 13:47:35 -04:00
Joseph MaglyandClaude Opus 5.5 06d20c7015 fix(gpu): admit refinement validation and split-layer forwards honestly
Admit VALIDATE before the iterative-refinement gate, and re-admit EXCISE
afterwards, so strict mode can reject the gate before it materialises.
Treat forward workspace as estimate-only when a decoder layer is split
across devices, since the estimator would charge every participant with
the whole layer; unsplit single- and multi-GPU numbers are unchanged.

Admit the stages that informed/Ouroboros loops, Concept Lab, concept
baseline and evaluation, checkpoint verification and the benchmark script
run outside the main pipeline. Work without a qualified bound is
unmodelled: default mode warns and proceeds, strict mode rejects.

Refs #245

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:43:01 -04:00
pliny 984ce14059 Add files via upload 2026-03-05 10:03:46 -08:00
pliny 0f6114fe87 Add files via upload 2026-03-04 12:38:18 -08:00