Skip to content

Pipeline tests for labels#755

Draft
gaurav wants to merge 2 commits into
mainfrom
label-pipeline-tests
Draft

Pipeline tests for labels#755
gaurav wants to merge 2 commits into
mainfrom
label-pipeline-tests

Conversation

@gaurav

@gaurav gaurav commented May 13, 2026

Copy link
Copy Markdown
Collaborator

WIP

gaurav and others added 2 commits May 13, 2026 17:25
…sertions

Extracts compute_disease_cliques() out of diseasephenotype.build_compendium()
so the production glom step and a development-time test simulation share one
implementation. Adds two new check types (CliqueCheck, LabelCheck) on top of
the existing ID-presence / direct-xref checks, letting developers verify that
a candidate label-selection or clique-merge fix will hold up before paying for
a full ~500 GB Snakemake build. Seeds the LabelCheck table with the three
known regressions (MONDO:0011479 #714, HP:0001508 #711, MONDO:0005578 #723)
and one CliqueCheck (MONDO:0011479 -- UMLS:C2930833 #714). The same tables
are shaped to be re-parametrized against a real Disease.txt output once an
--until disease pipeline fixture is added later.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Records two non-obvious project conventions surfaced while building the disease
pipeline checks: concord file basenames are used as lookup keys by compendium
builders (so names must match vocabularies exactly), and clique-formation and
label-selection are extracted as pure functions so production and dev-time
regression checks share one implementation.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Base automatically changed from fix-label-limit to main May 18, 2026 03:42
@gaurav gaurav changed the title Label pipeline tests Pipeline tests for labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant