You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two balanced trees with the same totally ordered set of blocks, but distinct because balanced differently, share the same digest.
Consequence
Since we rely mostly on the digest to compare documents models in our tests, this can hide the fact that the models are unexpectedly not strongly convergent.
Possible fix
digest() could be updated to take into account the shape of the tree.
We could provide another function treeDigest() to keep track separately of the convergence of the content and of the model.
The text was updated successfully, but these errors were encountered:
Severity: Low
Problem
Two balanced trees with the same totally ordered set of blocks, but distinct because balanced differently, share the same digest.
Consequence
Since we rely mostly on the digest to compare documents models in our tests, this can hide the fact that the models are unexpectedly not strongly convergent.
Possible fix
digest()
could be updated to take into account the shape of the tree.treeDigest()
to keep track separately of the convergence of the content and of the model.The text was updated successfully, but these errors were encountered: