Skip to content

Fix leftover orbit neighbor parameters before 0.14.0 - #53

Merged
tjkessler merged 1 commit into
mainfrom
fix/orbit-neighbor-param-leak
Aug 14, 2026
Merged

Fix leftover orbit neighbor parameters before 0.14.0#53
tjkessler merged 1 commit into
mainfrom
fix/orbit-neighbor-param-leak

Conversation

@tjkessler

Copy link
Copy Markdown
Owner

Summary

  • Main CI after merging Release KoopmanGraph 0.14.0 (remaining-limits close-out) #52 is red: examples/45_isotypic_symmetry.ipynb asserts that a one-orbit cycle has the same trainable count as a shared graph operator.
  • Orbit neighbor-factor tying left the original K_nbr / K_hedge module registered beside the new per-orbit bank, so a cycle counted three d×d factors instead of two.
  • Bind now copies the shared neighbor state into the orbit bank and aliases _nbr / _hedge to the orbit-0 representative. Dual K_bwd and hetero K_r stay globally shared.

Test plan

  • pytest tests/graph_utils/test_symmetry.py tests/operators/test_graph_operator.py::test_orbit_ties_keep_shared_backward_and_tie_forward tests/operators/test_hetero_orbits.py::test_multiplex_cycle_auto_orbits_single_orbit tests/operators/test_hypergraph_guards.py tests/operators/test_orbit_ties_guards.py
  • CI notebooks shard 27-46 (includes examples/45_isotypic_symmetry.ipynb)
  • Full main CI after merge, then tag 0.14.0 / release v0.14.0

Made with Cursor

One-orbit graphs were counting a dead K_nbr bank, which failed the
isotypic-symmetry notebook capacity assertion on main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@tjkessler
tjkessler merged commit b32726c into main Aug 14, 2026
10 checks passed
@tjkessler
tjkessler deleted the fix/orbit-neighbor-param-leak branch August 14, 2026 01:35
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/koopman_graph/operators/graph.py 94.86% <100.00%> (+0.10%) ⬆️
src/koopman_graph/operators/hypergraph.py 91.98% <100.00%> (+0.17%) ⬆️
src/koopman_graph/operators/orbit_ties.py 93.86% <100.00%> (+1.24%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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