Skip to content

PP-C1: drop the v0.4.0 parity tests, keep the histogram goldens (v0.5.1, 1/3) - #259

Merged
guijacquemet merged 1 commit into
mainfrom
claude/pp-c1-goldens
Nov 10, 2026
Merged

guijacquemet merged 1 commit into
mainfrom
claude/pp-c1-goldens

Conversation

@guijacquemet

@guijacquemet guijacquemet commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

PP-C1 of 3 (stacked): PP-C, the first change of v0.5.1. Base main (3f10545). Next: PP-C2 #260 (core, run paths, notebook, tests), then PP-C3 #261 (docs). Do not merge before the independent review.

Owner ruling 6 of 10 November 2026 (Stage 2 plan §0.2; inventory PP-10, §12 rulings 5 and 6): the v0.4.0 parity tests go; independently computed numeric goldens stay, renamed without the "old version" framing.

Summary

  • Deleted: tests/test_parity_v0_4_0.py (4 tests, parity with the v0.4.0 tag), tests/parity_datasets.py, tests/test_removed_in_v040.py (6 tests).
  • Renamed as science goldens: test_schema_v2_equivalence.py → test_histogram_goldens.py, v2_fixture.py → histogram_goldens.py, tests/data/v2_{pixels.npz,float32.csv,uint16.csv} → golden_*, make_v2_fixture.py → make_histogram_goldens.py. Tests: test_histograms_equal_the_reference_values, test_step_4_statistics_equal_the_reference_values, test_a_table_of_an_older_format_is_recomputed. The pure old-version check (test_a_version_2_table_is_recomputed_on_the_next_run, a version-2 manifest) is deleted. The reference data bytes are unchanged.
  • AGENTS.md names the renamed files.

Tests only; no source change. released_code.py, the rc4 manifest and CI's fetch-depth: 0 go in PP-C2, with the manifest-version tests that still use them.

Tests

  • python tools/check.py pieces: ruff check ., ruff format --check . clean; code rules against the baseline: no violation.
  • pytest (Python 3.13, Linux): 5065 passed, 4 skipped (environment skips: case-insensitive file system ×3, permissions ignored as root ×1); Spec modules unchanged (0 skips).

Notes for review

  • docs/conformance.md (the v0.5.0 G1 record) still names test_parity_v0_4_0; it is a dated record of the v0.5.0 gate and is left as it is.

https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc


Generated by Claude Code

Owner ruling 6 of 10 November 2026 (Stage 2 plan §0.2, SWEEP-PP item PP-10): no backward
compatibility before the first pipeline release.

- Delete test_parity_v0_4_0.py and parity_datasets.py (parity with the v0.4.0 tag) and
  test_removed_in_v040.py (guards on names removed in v0.4.0).
- Keep the independently computed histogram values as science goldens, renamed without the
  "old version" framing: test_schema_v2_equivalence.py -> test_histogram_goldens.py,
  v2_fixture.py -> histogram_goldens.py, tests/data/v2_* -> golden_*, make_v2_fixture.py ->
  make_histogram_goldens.py. Its pure old-version check (a version-2 table under a version-2
  manifest) is deleted; "a table of an older format is recomputed" is kept.

Tests only; no source change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G3qp9AxjpGPw9xfWAUJNqc
@guijacquemet
guijacquemet merged commit bc2df64 into main Nov 10, 2026
7 checks passed
@guijacquemet
guijacquemet deleted the claude/pp-c1-goldens branch November 10, 2026 09:00
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.

2 participants