Skip to content

WIP: Initial impl of error subgraph visualization - #374

Draft
cmalinmayor wants to merge 1 commit into
mainfrom
visualize-error-subgraphs
Draft

cmalinmayor wants to merge 1 commit into
mainfrom
visualize-error-subgraphs

Conversation

@cmalinmayor

Copy link
Copy Markdown
Collaborator

Proposed Change

Add a utility to take the output of a matching/error computation (annotated graphs), filter to subgraphs with error annotations, build small "matched" graphs (including the matching edges), and export those as graphml files. These can then be plotted with our docs example plotting function, if you sum all the spatial dimensions for the y axis.

Not sure how much of my use-case-specific setup leaked into here, since I basically just ported it over without the loading. But it's super useful already!! I had to resolve annotation discrepancies in two versions of annotations of the same tracks, and this narrowed it down to exactly the cases an annotator needed to resolve much better than individual lists of nodes/edges.

Types of Changes

What types of changes does your code introduce? Delete those that do not apply.

  • New feature or enhancement

Which topics does your change affect? Delete those that do not apply.

  • Core functionality (e.g. TrackingGraph, run_metrics, cli, etc.)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the developer/contributing docs.
  • I have added tests that prove that my feature works in various situations or tests the bugfix (if appropriate).
  • I have checked that I maintained or improved code coverage.
  • I have checked the benchmarking action to verify that my changes did not adversely affect performance.
  • I have written docstrings and checked that they render correctly in the Read The Docs build (created after the PR is opened).
  • I have updated the general documentation including Metric descriptions and example notebooks if necessary.

@cmalinmayor cmalinmayor changed the title WIP: Initial port from my use case, with probably too much specific logic WIP: Initial impl of error subgraph visualization Oct 23, 2026

This branch has not been deployed

No deployments
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