Skip to content

test: cover never-executed fn in aprender-train/src/transformer/norm.rs #5531

Closed as not planned

Description

@noahgift

Test-only ticket (<=200 lines). Source: coverage-nightly run 39080471983 (sha e6ab79f), ranked by never-executed function size; pmat query --coverage-gaps returned nothing on that JSON (CI absolute paths), so the ranking is by my jq over the same file, not pmat's impact score. crates/aprender-train/src/transformer/norm.rs has a function never executed in that run (~120+ lines of region span).

Do: run pmat query "<name>" --coverage --uncovered-only locally on this file, write tests for the uncovered function(s) (behaviour, not just no-panic), and per the coverage+contracts rule add or strengthen the matching falsification condition in the contract YAML (pv validate). No unwrap, no new Python.
Done when: the function is executed by a test in cargo test -p <crate> --lib and the contract line is in. Before starting: confirm origin/main still has the function uncovered and no branch carries this ticket number.

Activity

  1. added this to the 0.73.0 milestone on Oct 18, 2026
  2. added
    ready<=200 lines, scoped, verified not done on origin/main; a worker may pull it
    on Oct 18, 2026
  3. noahgift commented on Oct 22, 2026

    @noahgift
    MemberAuthor

    Tracked in #5875 (triage 2026-10-22).

  4. noahgift commented on Oct 22, 2026

    @noahgift
    MemberAuthor

    tracked in #5875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready<=200 lines, scoped, verified not done on origin/main; a worker may pull it

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions