[fix·tests] Tests for EPA consistency (#1) - #4
Closed
chondl wants to merge 2 commits into
Closed
Conversation
Dependency-light tests for the full-field write-gate equality and the score-before-breakdown deferral policy. pytest is added to the dev group only; production dependencies are unchanged.
F6: covers nan_safe_eq and the changed()/storage list-comparison call sites, asserting a NaN-bearing row is not counted changed while real drift still is.
chondl
force-pushed
the
epa-consistency-tests
branch
from
July 10, 2026 18:12
52d4044 to
df49752
Compare
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to #1. pytest coverage for the full-field write-gate equality and the score-before-breakdown deferral policy. pytest is added to the dev dependency group only; production dependencies unchanged. Kept separate so the main PR stays minimal — the repository currently has no test infrastructure.
Adds NaN-stability coverage (
test_nan_stability.py): the write/publish gate treats NaN==NaN, so a NaN-bearing row is not counted as changed, while real rank/norm/component drift still is. Exercises both call sites — thechanged()DB gate and the storage-gate ordered-list comparison.