Skip to content

Increase code coverage & test correct braiding#381

Open
borisdevos wants to merge 17 commits intomainfrom
bd/codecoverage
Open

Increase code coverage & test correct braiding#381
borisdevos wants to merge 17 commits intomainfrom
bd/codecoverage

Conversation

@borisdevos
Copy link
Member

This PR achieves multiple things:

  • Increase code coverage in the symmetry-related code by testing A4Irrep, currently the only available sector type in TensorKitSectors with GenericFusion.
  • Also test ZNElement sector types which have UniqueFusion but non-trivial F-symbols, revealing an error in foldright.
  • Remove some functions which are unused, even in downstream packages AFAIK.

I started on this a while ago, but refrained from progressing because #261 seemed to be picking up speed, but since then it's remained unmerged, so I thought to just finish this and not have to worry about some of the issues we knew were present.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 13, 2026

Your PR no longer requires formatting changes. Thank you for your contribution!

uniquefusionsectorlist...,
simplefusionsectorlist...,
genericfusionsectorlist...,
multifusionsectorlist...,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this come from the ongoing vectorize fusiontree PR? I hope that if this gets merged first, a rebase of the other PR will allow to combine this without too many conflicts...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's indeed a copy-paste, but I think I may have added a sector or two

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