Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 🚀 New features to boost your workflow:
|
61dc5e2 to
1db3093
Compare
for more information, see https://pre-commit.ci
- With the new way we generate matrices, this test seems to pass.
|
I rebased your commits onto main (with the new input matrix generation). I chose to test LUS property on strong stationary matrices + matrices. Now, ConFIG passes the LUS tests, so I added its property back in the documentation and I readded its LUS test. Are there special cases where ConFIG is not LUS in theory? @PierreQuinton |
|
Currently we use the following inputs:
This is very confusing. In reality, the only "problematic" matrices are the scaled matrices. They make the
with Of course, names could be improved. This could also come in another PR. |
LinearUnderScalingProperty
|
There's something that is a bit weird in my opinion. For the I think we can consider random aggregators to be some kind of stateful aggregators whose state (the current random state) is held globally. I think we could improve our support for those aggregators in the future without touching the global state (messing with the torch seed) in the property testers. So IMO we should:
|
- Remove seed resetting - Remove LinearUnderScalingProperty from TestPCGrad and TestRGW
I think that the code is self explanatory, we could if needed add a docstring to explain what this tests, but this is rather directly the LUS property. Note that Config seems to fail it, we need to investigate why (and on what matrices).
Note that
UPGradis not too good at this test, and it is the aggregator that pushed the atol to0.008, this is probably due to linear approx.