Skip to content

Document the shared temporal-leakage checks for run_e2e - #52

Merged
florian6973 merged 1 commit into
mainfrom
temporal-leakage-conformance
Nov 20, 2026
Merged

florian6973 merged 1 commit into
mainfrom
temporal-leakage-conformance

Conversation

@florian6973

Copy link
Copy Markdown
Collaborator

Companion to McDermottHealthAI/meds-algorithm#21, which adds conformance/temporal.py. That PR adds two checks:

  • a future-blind rerun that requires bit-identical predictions;
  • a null-world test that requires chance-level AUROC.

Changes:

  • The template/tests/e2e.py run_e2e docstring now states both obligations: honour a perturbed external_meds_dir, and run the null_world dataset with small offline test settings.
  • template/docs/TESTING.md explains what the shared checks cover and what algorithm-specific tests are still needed (internal invariance of inputs and states at T).

This PR changes documentation only. The 18 Windows failures in tests/test_render.py also occur on main.

🤖 Generated with Claude Code

…nd testing guide

run_e2e is rerun on a copy with every evaluated future rewritten (bit-identical
predictions required) and called with a null_world dataset (chance-level AUROC
required); both come from meds_algorithm.conformance.temporal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@florian6973
florian6973 marked this pull request as ready for review November 20, 2026 16:09
@florian6973
florian6973 merged commit 731e759 into main Nov 20, 2026
1 check passed
florian6973 added a commit that referenced this pull request Nov 24, 2026
0.4.0a6 is the first release with the temporal-leakage conformance
(future-blind rerun, null-world chance test) that tests/e2e.py already
documents since #52. Bump the development pin and the three generated
pins, and the expected suite counts: the null-world test adds one
inherited test per profile, skipped while profiles are stubs.


Claude-Session: https://claude.ai/code/session_01NJQdbHt5icm1CgFVHsHTNx

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
florian6973 added a commit that referenced this pull request Nov 24, 2026
Release the meds-algorithm 0.4.0a6 pins (#53), the temporal-leakage
run_e2e documentation (#52) and the Read the Docs move (#49). Generated
release workflows no longer fix Python 3.11: an algorithm requiring
Python >= 3.12 (Curiosity) failed its first publish at uv sync.


Claude-Session: https://claude.ai/code/session_01NJQdbHt5icm1CgFVHsHTNx

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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