Skip to content

fix: harden DrugRecommendationOMOP history, codes, and tests - #1

Closed
AxelNoun wants to merge 2 commits into
lehendo:drugleakfrom
AxelNoun:drugleak-fixups
Closed

fix: harden DrugRecommendationOMOP history, codes, and tests#1
AxelNoun wants to merge 2 commits into
lehendo:drugleakfrom
AxelNoun:drugleak-fixups

Conversation

@AxelNoun

Copy link
Copy Markdown

Summary

  • Review fixups on top of your PyHealth #1203 (drugleak), not a competing PR against master.
  • Drop empty/OMOP-0 concept ids, copy nested history lists so samples do not alias, and replace the mock leakage test with a discriminating set_task fixture.
  • Ignore litdata TemporaryDirectory/close() cleanup errors only on Windows so Linux CI still surfaces real failures; keep the redundant X as X re-export form documented.

Test plan

  • Confirm the two commits apply cleanly on drugleak
  • Run tests/core/test_drug_recommendation_omop.py
  • Confirm empty/OMOP-0 codes are dropped and history lists are not aliased across samples
  • Confirm Windows-only litdata cleanup ignore does not hide failures on Linux CI

AxelNoun and others added 2 commits August 26, 2026 06:14
Drop empty/OMOP-0 concept ids, copy nested history lists so samples
do not alias, and replace the mock leakage test with a discriminating
set_task fixture.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep TemporaryDirectory/close() failures visible on Linux CI, and
document why new task re-exports use the redundant X as X form.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AxelNoun AxelNoun closed this Aug 26, 2026
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