Skip to content

Increase code and test coverage#381

Merged
lkdvos merged 27 commits intomainfrom
bd/codecoverage
Apr 22, 2026
Merged

Increase code and test coverage#381
lkdvos merged 27 commits intomainfrom
bd/codecoverage

Conversation

@borisdevos
Copy link
Copy Markdown
Member

@borisdevos borisdevos commented Mar 13, 2026

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.

Edit: after #261 and #389 this PR does less than summed above :)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 13, 2026

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

Comment thread test/setup.jl
@borisdevos borisdevos changed the title Increase code coverage & test correct braiding Increase code and test coverage Apr 20, 2026
@lkdvos
Copy link
Copy Markdown
Member

lkdvos commented Apr 20, 2026

hoping that the merge commit will fix the faulty actions as well...

Comment thread src/TensorKit.jl Outdated
Jutho
Jutho previously approved these changes Apr 21, 2026
@borisdevos
Copy link
Copy Markdown
Member Author

Compat check is still failing so I can't merge

@lkdvos lkdvos merged commit 2524447 into main Apr 22, 2026
51 of 61 checks passed
@lkdvos lkdvos deleted the bd/codecoverage branch April 22, 2026 10:41
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.

3 participants