Skip to content

Error message improvements - #309

Merged
lkdvos merged 10 commits into
mainfrom
ld-errors
Dec 1, 2025
Merged

Error message improvements#309
lkdvos merged 10 commits into
mainfrom
ld-errors

Conversation

@lkdvos

@lkdvos lkdvos commented Nov 5, 2025

Copy link
Copy Markdown
Member

These are some small changes and updates to the space checks.
I think after the "treetransformer" rewrite, because we create the transformer first and only then apply the indexmanipulation, we generated some very cryptic messages from deep inside the transformer code, which I now should have resolved a little earlier in the callchain.
While I was at it, I did the same for the tensor contractions.

Mostly I followed the same path of defining appropriate methods on the spaces themselves, but I'm happy to change things or move things around if that is appropriating a bit too much of these functions.

@lkdvos
lkdvos requested a review from Jutho November 5, 2025 00:51
@codecov

codecov Bot commented Nov 5, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.11111% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/TensorKit.jl 0.00% 4 Missing ⚠️
src/tensors/abstracttensor.jl 81.81% 2 Missing ⚠️
src/tensors/indexmanipulations.jl 90.47% 2 Missing ⚠️
src/spaces/homspace.jl 96.42% 1 Missing ⚠️
src/tensors/tensoroperations.jl 87.50% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/spaces/homspace.jl 93.68% <96.42%> (+0.31%) ⬆️
src/tensors/tensoroperations.jl 97.42% <87.50%> (-0.43%) ⬇️
src/tensors/abstracttensor.jl 51.96% <81.81%> (-1.44%) ⬇️
src/tensors/indexmanipulations.jl 73.03% <90.47%> (+0.43%) ⬆️
src/TensorKit.jl 20.83% <0.00%> (-1.90%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/spaces/homspace.jl Outdated
Comment thread src/spaces/homspace.jl Outdated
Comment thread src/tensors/indexmanipulations.jl Outdated
@lkdvos

lkdvos commented Nov 29, 2025

Copy link
Copy Markdown
Member Author

I think I addressed all comments, this is ready for review/merging

@lkdvos
lkdvos merged commit 3a06898 into main Dec 1, 2025
39 of 42 checks passed
@lkdvos
lkdvos deleted the ld-errors branch December 1, 2025 01:33
Jutho referenced this pull request Dec 9, 2025
* initial basic design SectorVector

* some additional functionality

* relax `foreachblock` signature

* replace `SectorDict` with `SectorVector` for eig/svdvals

* export `svd_vals`

* clean up SectorVector design

* small fix

* add finitedifferences support

* update changelog

* some simplifications and extensions

* some further fixes

* some more fixes

* update dates

---------

Co-authored-by: Jutho Haegeman <jutho.haegeman@ugent.be>
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