Skip to content

Fix omnicorp support graph appended to result once per curie pair#111

Merged
maximusunc merged 1 commit into
mainfrom
claude/serene-einstein-2p1iki
Jun 26, 2026
Merged

Fix omnicorp support graph appended to result once per curie pair#111
maximusunc merged 1 commit into
mainfrom
claude/serene-einstein-2p1iki

Conversation

@maximusunc

Copy link
Copy Markdown
Collaborator

In add_shared_pmid_counts, the OMNICORP support graph id was appended to an analysis's support_graphs list unconditionally for every curie pair referencing that analysis. Since a single analysis is referenced by every combination of its nodes, the same OMNICORP_support_graph_N id was added to support_graphs many times over.

Only attach the id when the support graph is first created (matching the upstream aragorn-ranker behavior); reused graphs still collect the new co-occurrence edges but no longer re-append their id.

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

In add_shared_pmid_counts, the OMNICORP support graph id was appended to
an analysis's support_graphs list unconditionally for every curie pair
referencing that analysis. Since a single analysis is referenced by every
combination of its nodes, the same OMNICORP_support_graph_N id was added
to support_graphs many times over.

Only attach the id when the support graph is first created (matching the
upstream aragorn-ranker behavior); reused graphs still collect the new
co-occurrence edges but no longer re-append their id.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016hGUK358FjydvopTS5kt4X
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.33%. Comparing base (9594469) to head (f8c9471).
⚠️ Report is 16 commits behind head on main.

Files with missing lines Coverage Δ
workers/aragorn_omnicorp/worker.py 72.48% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95baee9...f8c9471. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maximusunc maximusunc merged commit d1eae9a into main Jun 26, 2026
2 checks passed
@maximusunc maximusunc deleted the claude/serene-einstein-2p1iki branch June 26, 2026 19:52
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.

2 participants