Closed Sword-Smith closed 1 month ago
Something funky is happening with the test table::master_table::tests::air_constraints_evaluators_have_not_changed
which I can't explain. CI is failing with
expected: (03756754445351585926·x² + 06769459618545093804·x + 09140558386905394900)
observed: (14714205515170095309·x² + 13661591558076455036·x + 14115119063754412580)
whereas on my desktop computer I get
expected: (03756754445351585926·x² + 06769459618545093804·x + 09140558386905394900)
observed: (03346962278739234229·x² + 12572006219868624302·x + 10286558549229477187)
and both are obviously different from my laptop which produced the expected value. Any ideas as to what might cause this?
On my desktop at home, I get the same as the CI machine observed:
expected: (03756754445351585926·x² + 06769459618545093804·x + 09140558386905394900)
observed: (14714205515170095309·x² + 13661591558076455036·x + 14115119063754412580)
Would it make sense to also add a proptest like node_substitution_is_complete_and_sound
for a DualRowIndicator
type?
Correction: on my laptop I get this failure:
exoected: (03756754445351585926·x² + 06769459618545093804·x + 09140558386905394900)
observed: (03346962278739234229·x² + 12572006219868624302·x + 10286558549229477187)
which agrees with my desktop.
After rebasing in @Sword-Smith's faster compilation changes, I get this failure
expected: (03756754445351585926·x² + 06769459618545093804·x + 09140558386905394900)
observed: (14714205515170095309·x² + 13661591558076455036·x + 14115119063754412580)
which agrees with CI and @Sword-Smith's machine.
For the record, applying just the first commit (9e5db866063a6527366be62616611d74db1ef416) of setting opt-level=3
generates this failure:
expected: (03756754445351585926·x² + 06769459618545093804·x + 09140558386905394900)
observed: (03346962278739234229·x² + 12572006219868624302·x + 10286558549229477187)
which agrees with the failure before setting the opt-level. So this compiler optimization does not seem to change anything.
@jan-ferdinand: All checks pass. Any further requested changes?
BTW: I can confirm that all tests pass on my desktop machine as well.
All comments are resolved now (I think).
All comments are resolved now (I think).
I'm still wondering about the following points:
num_
functions be de-duplicated? (review comment)num_nodes
? (review comment)num_
things are computed relevant enough to be mentioned in the docstring? (review comment)I think I've answered all your questions. Any further remarks / requests?
No further requests. Happy to have this test in. :+1:
Add tests that degree lowering and code generator for constraint evaluation is deterministic and does not change unintentionally.