Slightly less than a week ago, I submitted a pull request for generalized n-site DMRG (as opposed to 2-site DMRG, which is the default). You can find the pull request here (https://github.com/ITensor/ITensors.jl/pull/434).
Just as an example of this, on the "Tests / Julia 1.4 - macOS-latest - x64 (pull_request)" test set, I don't see any failed tests for broadcast.jl. However, when I run the tests on my computer, I see that broadcast.jl has 9 failed tests, even though I didn't change any of the methods that those tests are using (which are all extremely basic functions, I should add).
In addition, I see that there are 2 broken tests for broadcast.jl (which actually should happen, according to comments on the code) and 2 broken tests for empty.jl. The broken tests are never given any explanation, even when you run the test files locally on your computer, so what do they mean?
Another thing I saw was an extremely basic failure. In the mps.jl test file, I got an error from the test on like 16, @test str[1] == "MPS"
. I don't see why an error like this should happen, because again, this is a very basic thing and I haven't done anything to change it. The error message is shown below.
MPS Basics: Test Failed at c:\Users\user\ITensors.jl\test\mps.jl:16
Expression: str[1] == "MPS"
Evaluated: "ITensors.MPS" == "MPS"
Overall, my main questions are: (1) What do the "broken" tests mean? (2) Why do some of the tests seem to fail for functions I never modified (including some extremely basic ones, like object types and basic operations on tensors)?
I did find some mistakes in my code that I am currently working to fix (I should probably have these done by Monday or Tuesday), but they are related to intricacies of DMRG, and none of them are related to the test failures that I have mentioned above. (In particular, I found one big typo in my code, and even after I fixed that a few hours ago, my code still breaks on the DMRG method that projects out certain states with the goal of finding excited states.) Any help on this would be greatly appreciated.