Skip to content

SCRIP-COMPARE-003: integrate strict private report comparison in installed Python CLI #279

Closed

Description

@andy-zen-dev

User outcome

After Reader 0.2 merged in #276, accept two locally generated Reader JSON outputs and produce scientifically honest HTML/JSON/CSV comparison through the installed scriptorium compare command. This is distinct from the public two-frozen-work route in #278.

Reusable local handoffs (unpublished, deduplicate before adoption)

  • Scriptorium-CrossRuntime-Integrity-20261021.zip: local reported 234 Python/JavaScript cases; results need replay with full checkout.
  • Scriptorium-Compare-CSV-Delivery-20261020.zip, Scriptorium-Compare-Profile-Identity-20261021.zip, Scriptorium-Comparison-Contract-Repair-20261020.zip.
  • Scriptorium-PR276-Private-Compare-Direct-Integration-20261020.zip.
    Many other Scriptorium-Compare-* archives are overlapping predecessors, not independent accepted implementations.

Acceptance

  • Reuse the canonical 29 metric IDs, units, algorithm/profile/dictionary identity, numeric domain and null/status contracts from the current repository. No independent shadow registry or guessed FantLab coefficients.
  • Path-private bounded regular-file reads, duplicate-key/nonfinite/lexical-number rejection, no manuscript/network transmission, atomic create-only output.
  • Exact decimal differences, percent differences in percentage points, no deltas for incomparable rows, CSV formula safety, accessible offline table with source hashes.
  • Real installed-wheel end-to-end: manuscript → analyze A/B JSON → compare → HTML/JSON/CSV, with positive and adversarial tests; full Python/Reader CI on exact PR HEAD.
  • Preserve M2=0/5 and existing methods rather than claiming parity.

Activity

  1. andy-zen-dev commented on Oct 22, 2026

    @andy-zen-dev
    CollaboratorAuthor

    Claiming the interactive owner-requested Reader delivery batch on existing scrip-compare-003-local-cli, currently 03d122a, against newly merged master 5c03ee4. Scope: adopt the unpublished comparator, replace analyzer-stub regressions with real canonical reports, installed CLI smoke, documentation and exact-head CI. Current actual-source run: 34 tests PASS. No other open PR claims this branch; no new branch required. Additional independently verified outbox slices will be explicitly enumerated in the delivery PR. No same-session merge of newly authored changes.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions