Skip to content

Fix variant hints in path errors and IsomorphicSpanningTree complexity#1042

Merged
GiggleLiu merged 1 commit intomainfrom
fix/quick-wins-716-875
Apr 12, 2026
Merged

Fix variant hints in path errors and IsomorphicSpanningTree complexity#1042
GiggleLiu merged 1 commit intomainfrom
fix/quick-wins-716-875

Conversation

@GiggleLiu
Copy link
Copy Markdown
Contributor

@GiggleLiu GiggleLiu commented Apr 12, 2026

Summary

  • Add variant hint to "no reduction path" error messages in pred path and pred reduce, so users see available variants when a path lookup fails
  • Fix IsomorphicSpanningTree<SimpleGraph> worst-case complexity from num_vertices^num_vertices to 2^num_vertices

Fixes #716, fixes #875

Test plan

  • make check passes (fmt + clippy + test)
  • pred path with nonexistent path shows variant hints
  • pred reduce with nonexistent path shows variant hints

🤖 Generated with Claude Code

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.97%. Comparing base (3024163) to head (110bc79).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1042   +/-   ##
=======================================
  Coverage   97.97%   97.97%           
=======================================
  Files         979      979           
  Lines      100912   100912           
=======================================
+ Hits        98864    98865    +1     
+ Misses       2048     2047    -1     

☔ 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.

@GiggleLiu GiggleLiu merged commit d8a6168 into main Apr 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant