Skip to content

PY-PORT-2e: port llama_fit_verdict.py to aprender-ci-tools llama-fit-verdict (C301) #4799

Closed as not planned

Description

@noahgift

Sub-ticket of #4741 (PY-PORT-2, C301: the build is Rust only; Python stays only as an external oracle).

Port scripts/lib/llama_fit_verdict.py (120 lines, stdlib json/re/struct) to an aprender-ci-tools llama-fit-verdict subcommand.

Acceptance:

  • Same argv (tool_found pin rc free_mib version_file stdout_file model_path), byte-identical stdout (Python json.dumps key order and escaping) and the same exit status as the .py on a case table: every verdict (fits, does-not-fit, partial-offload, missing, tool-absent, unpinned), the trained-ctx floor read from a GGUF header (v2/v3, array skip, truncated, non-GGUF), and bad inputs.
  • Parity harness scripts/tests/ci_tools_py_parity_test.sh gains the cases; cargo-mutants on the module: 0 missed.
  • The .py and its callers stay (N-1): scripts/model_ladder.sh is on a certification gate path, and scripts/check_model_ladder.sh mutates the .py in its self-test. They switch once a released aprender-ci-tools carries the port.

Activity

  1. added this to the backlog milestone on Oct 8, 2026
  2. noahgift commented on Oct 14, 2026

    @noahgift
    MemberAuthor

    Folded into #4741 as a checklist row (TRIAGE-100, 2026-10-14): the open-ticket cap is 100, so this ticket is now tracked on that master and closed as not planned. Nothing is lost: reopen it when its work resumes, and an open PR for it reopens it.

    Agent: aprender-clerk

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions