Skip to content

Releases

DeafBench v0.2.2

Choose a tag to compare

@488315 488315 released this 15 Aug 20:09

DeafBench v0.2.2 makes the customer-run accessibility audit usable as an installed product workflow.

Highlights:

  • adds the supported deafbench[audit] install extra and deafbench audit <case-folder> first-run workflow
  • adds category-first HTML and PDF customer reports with REF/HYP alignment and consequence-based severity
  • adds deafbench review <case-folder> for auditable customer context and severity adjustments
  • supports CPU audit runs where peak VRAM is unavailable
  • hardens Unicode PDF output, empty-text alignment, negation matching, review validation, and report replacement
  • retains sample-level work only for the latest successful customer audit run
  • adds the neutral English accessibility benchmark table to the README

Validation before release: 1225 tests passed, 4 expected skips, 90.71% branch coverage, clean Ruff, wheel/sdist build, and Twine validation.

DeafBench v0.2.1

Choose a tag to compare

@488315 488315 released this 14 Aug 06:00

DeafBench 0.2.1 is a security and compatibility release. It keeps the
benchmark evidence and model adapters intact while making future installations
safe under current packaging and Transformers security floors.

Security fixes

Compatibility

  • Restores fresh Whisper-AT installation with setuptools 83 or newer by
    replacing its build-only pkg_resources requirements parser with a
    hash-verified pathlib parser. The pinned upstream source, runtime dependency
    intent, adapter, license, tests, and frozen benchmark evidence are unchanged.
  • Preserves Python 3.11 through 3.14 support.
  • Uses a PEP 639 Apache-2.0 license expression and ships the license file in
    both distributions.
  • Publishes canonical project, documentation, changelog, source, and issue
    links in package metadata.

Validation

  • 1,139 tests passed and 4 environment-dependent tests were skipped.
  • Coverage: 90.76%, above the 90.6% release floor.
  • Ruff, bytecode compilation, frozen benchmark integrity, customer-artifact
    scanning, clean wheel installation, Twine validation, Whisper-AT
    compatibility, and ARK Transformers 5.5 compatibility passed.
  • The final release candidate was built and smoke-tested from
    f4b7147.

This release does not modify or relabel frozen benchmark artifacts, does not
claim a Hugging Face-verified leaderboard result, and does not represent the
two open development-only Torch alerts as resolved.

See the complete changelog.

DeafBench v0.2.0

Choose a tag to compare

@488315 488315 released this 14 Aug 02:03
1e27cb3

Changelog

2026-08-13 / v0.2.0

DeafBench 0.2.0 turns the repository into a reproducible ASR evaluation
system with separate accessibility-critical, public development, non-speech,
and Open ASR compatible lanes. Results from different lanes remain separate.
This release does not claim a Hugging Face verified leaderboard result,
certification, or measured performance where a model has not been run.

Evaluation integrity and frozen corpora

  • Froze Core v1 and synthetic-v2 with reference hashes, per-audio SHA-256
    values, synthesis and model metadata, decoding configuration, evaluator
    identity, dependency versions, and immutable result evidence.
  • Added strict lexical and canonical semantic critical-information recall.
    Typed comparison covers times, digit sequences, usernames, codes and
    passwords, SSIDs, and proper names without fuzzy matching values that must
    remain exact.
  • Preserved per-sample WER plus aggregate substitutions, insertions, and
    deletions. Reports include critical failures by entity type and corpus,
    model, evaluator, and decoding identities.
  • Added synthetic-v2 quality gates for container validity, sample rate,
    channels, waveform content, truncation, silence, clipping, duration,
    reference hashes, alignment coverage, and typed-entity fidelity. Validator
    disagreements quarantine a sample instead of silently accepting it.
  • Pinned the Open ASR Leaderboard compatibility implementation and kept its
    datasets, English normalization, preprocessing, WER, macro-average, and
    RTFx contracts separate from DeafBench's typed accessibility metrics.
  • Added byte-stable result-manifest validation and explicit tests for Core v1,
    synthetic-v2, accessibility-stress-v1, real-speech-dev-v1, Open ASR
    evidence, and non-speech-v1 integrity.

Public development and accessibility stress lanes

  • Added real-speech-dev-v1, a deterministic 100-sample cohort selected from
    the pinned LibriSpeech clean validation split by the lowest SHA-256 sample
    IDs. It is declared for model selection and excludes official Open ASR test
    labels.
  • Added deafbench dev-corpus materialize. The command validates the full
    2,703-row source population, identities, source text, audio hashes, and
    duplicate IDs before transactionally promoting verified 48 kHz mono WAVs.
    Generated audio, temporary materialization directories, backups, and runs
    remain ignored.
  • Recorded a local faster-whisper small.en development baseline using the
    official-compatible English normalizer: 3.5587% WER, 51 substitutions,
    11 insertions, and 8 deletions across 1,967 reference words. This is local
    development evidence, not an official leaderboard result.
  • Added deterministic interstitial tests for street noise, office chatter,
    keyboard clicks, breathing, and rustling at parameterized SNR levels.
    Scoring distinguishes ignored intervals, declared non-speech annotations,
    and hallucinated lexical output.
  • Added the byte-frozen accessibility-stress-v1 contract with 24 paired
    clean/degraded cases across eleven high-impact risk categories.
  • Added model-independent transforms and metrics for noise, 8 kHz telephony,
    reverberation, extended pauses, speech-rate changes, deletion-heavy
    failures, critical-risk groups, caption timing drift, latency, TTFB, RTFx,
    throughput, CPU use, and peak VRAM.
  • Kept synthetic acoustic proxies separate from claims about Deaf,
    hard-of-hearing, dysarthric, accented, or other demographic speech.

Models, runtimes, and license evidence

  • Added a fail-closed machine-readable model registry with pinned revisions,
    upstream URLs, SPDX licenses, commercial-use classifications, attribution
    and redistribution requirements, remote-code status, languages, expected
    size, runtime support, and intended evaluation lane.
  • Added optional, isolated adapters and dependency extras for Qwen3-ASR 0.6B
    and 1.7B, NVIDIA Parakeet TDT 0.6B v2, IBM Granite Speech 4.1 2B and NAR,
    ARK-ASR 0.6B, faster-whisper, Distil-Whisper, and Whisper-AT.
  • Kept Zipformer XL in the research_only lane because CC-BY-NC-4.0 does not
    permit using it as the paid product foundation without separate permission.
  • Added pinned Distil-Whisper and Whisper-AT local evidence. Whisper-AT model
    names and checkpoint hashes fail closed, audio-event tags stay separate
    from ASR transcript text, and only declared mappings affect event recall.
  • Froze non-speech-v1 and preserved speech WER and environmental-event recall
    as separate metrics.
  • Preserved exact third-party license and notice material where required.
    The registry is an engineering control, not legal advice, and DeafBench
    does not redistribute or claim ownership of third-party model weights.

Customer-run accessibility audit

  • Added the customer-executed, zero-custody Accessibility-Critical ASR Audit.
    Audio stays on the customer's authorized computer; the workflow does not
    require upload, remote shell access, unattended access, or credentials.
  • Added deafbench audit rehearse, deafbench audit run, and
    deafbench audit export. The earlier nested audit action remains as a
    compatibility alias, and optional audit dependencies are lazy-loaded.
  • Added fail-closed machine-readable authorization, founding-pilot exclusions,
    isolated case IDs, event-ledger integrity, retention and logical-deletion
    controls, incident stops, deletion certificates, and a synthetic rehearsal.
  • Added aggregate-only exports that reject raw audio, transcripts, filenames,
    sample-level results, speaker identities, paths, secrets, and critical-value
    leakage, including malicious filenames.
  • Added signed reproducibility manifests containing evaluator and model
    identities, dataset count, configuration, aggregate metrics, and artifact
    hashes. Self-signatures are described as integrity evidence only unless the
    signing-key fingerprint is independently trusted.
  • Added source-control scanning and a fail-closed pre-commit hook for customer
    artifacts, transcripts, predictions, reports, secrets, case identifiers,
    and renamed private keys, including nested repositories and worktrees.
  • Kept payment activation closed. DeafBench 0.2.0 does not claim HIPAA
    compliance, formal certification, hosted-customer-data controls, or
    readiness for regulated or high-risk founding-pilot data.

CLI, reporting, and packaging

  • Added the installed benchmark, dev-corpus, and customer-audit command
    dispatchers while keeping unrelated commands independent of optional model,
    dataset, and signing dependencies.
  • Added deterministic synthetic scene generation, automated model-adapter
    orchestration, dataset recording helpers, generic benchmark transcription,
    and the Whisper-AT Model B workflow.
  • Improved terminal and Markdown reports with aligned failure IDs, escaped
    sample IDs, non-speech failure details, trimmed output, and explicit
    unavailable-metric handling.
  • Added canonical handling for spoken identifiers, repeated underscores,
    numeric captions, conjunctions, times, years, versions, IPv4 addresses, and
    zero-cent currency while preserving exactness for security-sensitive values.
  • Bundled the benchmark reference data required by installed recorder and
    evaluation workflows; generated audio, predictions, caches, and runs are
    not packaged or tracked.
  • Added canonical package links for the project page, repository, and issue
    tracker and set the package version to 0.2.0.

Validation and release safeguards

  • Raised the enforced repository coverage floor to 90.6% with two-decimal
    reporting and added direct malformed-authorization and adapter failure-path
    coverage.
  • CI now runs on Python 3.11 through 3.14 and directly enforces Ruff, bytecode
    compilation, frozen-manifest integrity, the complete test suite, branch-aware
    coverage, customer-artifact scanning, and a clean built-wheel installation.
  • Hardened real-speech materialization after review: unexpected transitive
    import failures are preserved, only selected audio payloads remain buffered,
    the hash-selected cohort is recomputed, existing destinations are replaced
    transactionally, and post-promotion backup cleanup cannot misreport a valid
    destination as failed.
  • Separated the recorded Python 3.14 decoding environment from corpus
    materialization. The exact materialization Python minor was not captured;
    the enforced supported range is recorded as Python 3.11 through 3.13 rather
    than inventing evidence.
  • GitHub release builds create and check both wheel and source distribution.
    PyPI publication remains disabled unless the release is published and the
    repository variable DEAFBENCH_PYPI_PUBLISH is explicitly set to true.

Compatibility and boundaries

  • Base package and CI support Python 3.11 through 3.14. The pinned public
    development materializer currently supports Python 3.11 through 3.13 due to
    its optional data stack.
  • Model weights and public datasets remain third-party artifacts governed by
    their own licenses and terms.
  • Local measurements depend on the declared hardware, runtime, corpus, and
    decoding configuration and are not directly comparable with leaderboard
    hardware measurements unless the full official contract matches.
  • Do not train on official test sets, tune repeatedly against test labels, or
    claim that DeafBench beat 5.37% Average WER until Hugging Face verifies a
    submission under the official contract.

DeafBench v0.1.1

Choose a tag to compare

@github-actions github-actions released this 07 Aug 10:28

DeafBench v0.1.1

This is the first finalized, review-hardened DeafBench release from the current main branch. It packages the accessibility benchmark, CLI, reporting, validation, test coverage, and release automation completed after the original v0.1.0 tag.

Highlights

  • Accessibility-focused ASR and caption evaluation beyond WER.
  • Installable deafbench CLI with compare and report commands.
  • Critical-information recall, non-speech information recall, optional speaker attribution accuracy, and median latency metrics.
  • JSONL benchmark parsing and deterministic reference/prediction alignment.
  • Markdown report generation with failure details.

Core benchmark and CLI

  • Added WER evaluation using JiWER.
  • Added critical-information recall with per-sample missed-term reporting.
  • Added non-speech information recall for annotations such as [alarm], [laughter], and [door closes].
  • Added optional speaker-attribution accuracy.
  • Added optional median latency_ms reporting.
  • Added deafbench compare <references> <predictions> for terminal summaries.
  • Added deafbench report <references> <predictions> -o <report.md> for Markdown reports.
  • Added python -m deafbench support and the installed deafbench console entry point.
  • Added example reference and model JSONL files.

Correctness and data integrity

  • WER evaluation failures are surfaced as unavailable/NaN instead of being silently reported as a perfect zero-error score.
  • Critical terms now use escaped token-boundary matching so values such as 25 do not match inside 125.
  • Non-speech annotations now use token-boundary matching so [alarm] does not match as part of a larger normalized token such as [alarm]tone.
  • ID alignment no longer falls back positionally after an ID lookup misses, preventing one prediction from being scored against multiple references.
  • Null IDs are excluded from ID maps while positional alignment remains supported when inputs do not provide usable IDs.
  • Duplicate non-null IDs are rejected independently in references and predictions before alignment.
  • JSONL parsing now rejects non-object records.
  • Supplied text values must be strings.
  • Supplied critical and sounds values must be lists.
  • Invalid latency values are rejected when malformed, negative, NaN, or infinite, with the sample ID included in the error.
  • CLI evaluation errors are reported cleanly to stderr with exit status 1.
  • Report-writing filesystem errors are handled without an uncaught traceback.
  • Markdown table values are escaped so pipes, backslashes, and line breaks cannot corrupt generated reports.

Testing and quality gates

  • Added low-level unit tests for pure metric and alignment behavior.
  • Added integration tests spanning JSONL parsing, alignment, metrics, and reporting.
  • Added functional CLI tests for complete compare/report flows and error handling.
  • Added a subprocess smoke test for installed-package health.
  • Enforced branch coverage with a 90% minimum coverage gate.
  • CI validates Python 3.11, 3.12, 3.13, and 3.14.
  • CI runs unit, integration, functional, smoke, full-suite coverage, and installed-CLI checks.

Packaging and dependency hardening

  • Added PEP 517/518 packaging through pyproject.toml.
  • Added the deafbench console script entry point.
  • Added a declared test extra with pytest and pytest-cov.
  • Constrained JiWER to the tested 3.x range: jiwer>=3.0.0,<4.0.0.
  • Updated contributor setup to install .[test], matching CI.
  • Bumped package and runtime versions together to 0.1.1.

CI and release security

  • Added GitHub Actions CI and release workflows.
  • Pinned every external GitHub Action reference to an immutable 40-character commit SHA.
  • Disabled checkout credential persistence where the workflow only requires a read-only working tree.
  • Added release distribution build and twine check validation.
  • Added PyPI Trusted Publishing through GitHub OIDC with id-token: write scoped to the publish job.

Compatibility

  • Python: 3.11, 3.12, 3.13, 3.14 tested in CI.
  • License: Apache-2.0.

Full comparison

v0.1.0...v0.1.1

DeafBench v0.1.0

Choose a tag to compare

@488315 488315 released this 07 Aug 07:04

First public release of DeafBench.

Includes:

  • WER
  • Critical-information recall
  • Non-speech information recall
  • JSONL benchmark format
  • Markdown reports