Skip to content

Comments

Export TrackGraph to networkx#143

Merged
cmalinmayor merged 2 commits intomainfrom
85-export-to-nx
Oct 16, 2025
Merged

Export TrackGraph to networkx#143
cmalinmayor merged 2 commits intomainfrom
85-export-to-nx

Conversation

@cmalinmayor
Copy link
Contributor

@cmalinmayor cmalinmayor commented Oct 8, 2025

Closes #85
In testing this, I discovered some inconsistency/unspecificity in our API for specifying attributes for hyperedges.

This implementation enforces that the attributes should be on the hypernode on ingest, and will also be written to the hypernode on output (or nowhere if the edges are flattened). This is a change from what was previously implemented on ingest (attributes specified on any of the networkx edges of the hypernode would be smushed onto the new hyperedge in the track graph in unspecified order, and attributes on the hypernode were ignored, despite that being how attributes were specified in our hyperedge testing fixture.)

@cmalinmayor cmalinmayor changed the title 85 export to nx Export TrackGraph to networkx Oct 8, 2025
@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.61%. Comparing base (2aca13f) to head (f4d7a68).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   93.00%   93.61%   +0.61%     
==========================================
  Files          30       30              
  Lines         729      752      +23     
==========================================
+ Hits          678      704      +26     
+ Misses         51       48       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@cmalinmayor cmalinmayor merged commit 97845b1 into main Oct 16, 2025
12 checks passed
@cmalinmayor cmalinmayor deleted the 85-export-to-nx branch October 16, 2025 11:51
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.

Export TrackGraph to networkx

1 participant