Files
OBLITERATUS/CHANGELOG.md
Sean BrennanandClaude Opus 5.5 e6415f1a5d fix(lm-eval): never score document counts; keep missing results unavailable
run_benchmarks fell back to the first numeric field of a task result. lm-eval
0.4.13 builds each task result as name, alias, sample_len, then the metrics, so
tasks without acc/acc_norm (GSM8K in DEFAULT_TASKS) returned the evaluated
document count as the score. The fallback now only picks metrics that lm-eval's
own higher_is_better map marks higher-is-better, which also excludes standard
errors and lower-is-better metrics such as perplexity.

compare_models substituted 0.0 for a task missing on one side and reported the
difference as a regression or improvement. Missing sides and their delta are
now None.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:47:48 -04:00

1.6 KiB

Changelog

Unreleased — next minor release

Changed

  • Refusal rates exclude invalid completions by default (#332). This applies to refusal_rate, refusal_rate_with_ci, arditi_refusal_rate, verification, and community comparison reports. Refusal rates from earlier versions are not directly comparable. Pass exclude_invalid=False to the rate APIs or community evaluation runner to reproduce legacy scoring.
  • The three rate APIs emit a one-release DeprecationWarning when exclude_invalid is omitted. Explicit True or False suppresses it. The following minor release will remove the warning while retaining the opt-out.
  • Metadata and reports record exclude_invalid alongside invalid counts. All-invalid filtered batches have unavailable rates, rather than apparent zero refusal. The optimizer continues to penalize invalid completions using (refused + invalid) / total and records the valid-only rate separately.
  • compare_models reports None for a side whose task result is missing, and a None delta, instead of substituting 0.0 and reporting a spurious regression or improvement. Its per-task values are now float | None.

See refusal metrics and compatibility for empty-batch, confidence-interval, and canonical substring-protocol behavior.

Fixed

  • run_benchmarks no longer reports a document count as a task's score. With lm-eval 0.4.13, tasks without acc/acc_norm (such as GSM8K) previously returned sample_len. The fallback now selects only metrics that lm-eval marks higher-is-better, which also excludes standard errors and perplexity.