Skip to content

feat(resolver): structure-guided re-resolution of conflated KG commits + lipid independent-structure source (port of fork #60) - #91

Merged
trentleslie merged 1 commit into
devfrom
promote/kg-conflation-structure-guided-reresolution
Sep 7, 2026
Merged

trentleslie merged 1 commit into
devfrom
promote/kg-conflation-structure-guided-reresolution

Conversation

@trentleslie

Copy link
Copy Markdown
Collaborator

Port of fork PR trentleslie/biomapper2#60 (merged to fork dev 2026-09-01) to Phenome-Health.

Scope

  • src/ + tests/ only. The studies/external_benchmarks benchmark harness (fork Dockerized + API Wrapper + Internal Pydantic Models #61) is fork-only and deliberately not promoted.
  • 8 src/ files (structure-guided re-resolution + new lipid_structure_resolver.py Goslin→LIPID MAPS→InChIKey source) + 8 test files.

Verification (on this org base)

  • Applied as a 3-way port onto org dev — no textual conflicts.
  • pyright 0 errors, ruff clean.
  • Full suite: 776 passed / 227 skipped, 0 failed.

Reviewer note

Org dev carries diverged resolver work (#75 / #77 / #82 / #83 — source-weighting, URL resolver, InChIKey blocks) that the fork branch predates. The port merged cleanly and the suite is green, but please confirm the re-resolution logic composes as intended with those changes.

Why now

This promotion is the prerequisite for the D2 RefMet-bridge re-resolution work (the next step to close the Monti cross-cohort gap).

Draft pending review of the port before marking ready.

🤖 Generated with Claude Code

…s + lipid independent-structure source (port of fork #60)

Port of trentleslie/biomapper2 PR #60 (merged to fork dev 2026-09-01) to Phenome-Health.
src/ + tests only — the studies/external_benchmarks benchmark harness (fork #61) stays off-org.

Applied as a 3-way port onto org dev; verified green on the org base: pyright 0 errors, ruff clean,
776 passed / 227 skipped. Reviewer note: org dev has diverged resolver work (#75/#77/#82/#83
source-weighting / URL-resolver / InChIKey-blocks) — the port merged cleanly and the full suite passes,
but confirm the re-resolution logic composes as intended with those. This promotion is the prerequisite
for the D2 RefMet-bridge re-resolution work.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@trentleslie
trentleslie marked this pull request as ready for review September 7, 2026 22:57
@trentleslie
trentleslie merged commit aae2563 into dev Sep 7, 2026
3 checks passed
@trentleslie
trentleslie deleted the promote/kg-conflation-structure-guided-reresolution branch September 7, 2026 22:58
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