Skip to content

Add public calibration-record inspector#32

Merged
FransDevelopment merged 1 commit into
mainfrom
feat/calibration-record-inspector
May 31, 2026
Merged

Add public calibration-record inspector#32
FransDevelopment merged 1 commit into
mainfrom
feat/calibration-record-inspector

Conversation

@FransDevelopment

Copy link
Copy Markdown
Member

Summary

Follow-up to #30/#31. Adds a public, runnable, read-only evidence artifact so anyone can independently inspect the pre-registered calibration record, plus the supporting doc section. Additive and presentation-only: no model internals, weights, thresholds, intervals, or private data.

  • examples/show_calibration_record.py: renders the 15 pre-registered corridor-watch commitments, recomputes each commitment_hash so a reader can confirm the payloads are unchanged since registration, and (after a resolution date) shows the full cohort's outcomes with no row selection. Pure stdlib, read-only, imports nothing private; prints tier labels and resolution states only, never probabilities, intervals, scores, or model internals.
  • CALIBRATION_RESOLUTION_PUBLIC.md: adds an "Inspect The Record" section with a hand-reproducible hash recipe (sorted keys, collapsed separators, \uXXXX escaping, SHA-256).
  • Registers the inspector in data/release_manifest.json and the READONLY_INTERFACE_PUBLIC.md interface map; documents it in examples/README.md.
  • Adds tests: the inspector runs read-only and grounded, and its hash recipe matches the published ledger.

Validation

  • python3 examples/show_calibration_record.py reports 15 commitments, 15/15 verified pre-registration hashes, next resolution date 2026-06-19.
  • python3 -m lovs.public_exports --check -> public export artifacts current
  • python3 -m lovs.public_repo_hygiene -> public repository hygiene gate clean
  • python3 -m unittest discover -s tests -> 38 tests OK

- examples/show_calibration_record.py: read-only, stdlib-only inspector that
  renders the pre-registered calibration commitments, recomputes each
  commitment hash so anyone can confirm the payloads are unchanged since
  registration, and (after resolution dates) shows the full-cohort outcome
  with no row selection. Presentation-only: tier labels and resolution states,
  never probabilities, intervals, scores, or model internals.
- CALIBRATION_RESOLUTION_PUBLIC.md: add an "Inspect The Record" section with a
  hand-reproducible hash recipe (sorted keys, collapsed separators, \uXXXX
  escaping, SHA-256).
- Register the inspector in the release manifest and read-only interface map;
  document it in examples/README.md.
- Add tests: the inspector runs read-only and grounded, and its hash recipe
  matches the published ledger.
@FransDevelopment FransDevelopment merged commit 4989113 into main May 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant