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
There is currently an outstanding and unresolved issue around padding for permutation sorts with negative (sorting) signs (see here). For example, something like this is broken:
However, we can still construct a problematic trace such as:
{ "m1.A": [0,0,0,0], "m1.B": [40,56,65,90] }
Here, again, we are given an incorrect spillage value for B.
Solutions?
(Padding Prepend / Append). One idea is to enable prepending and appending of padding data (i.e. so the 0 could be appended for negatively signed columns). This is problematic, however, for the case where we have a single delta column capturing both negatively and positively signed columns.
The text was updated successfully, but these errors were encountered:
DavePearce
changed the title
padding for negatively signed permutation sorts
fix: padding for negatively signed permutation sorts
Jan 20, 2025
There is currently an outstanding and unresolved issue around padding for permutation sorts with negative (sorting) signs (see here). For example, something like this is broken:
The problem is that the trace can always be padding with
0
at the beginning, thus breaking the sorting criteria forY
.Mitigation
This is less of a problem when the first column of a permutation is positively signed. For example, something like this:
Then for a trace like this:
This is accepted correctly because a spillage value of
0
forA
ensures we can accept a padded trace like this:However, we can still construct a problematic trace such as:
Here, again, we are given an incorrect spillage value for
B
.Solutions?
0
could be appended for negatively signed columns). This is problematic, however, for the case where we have a singledelta
column capturing both negatively and positively signed columns.The text was updated successfully, but these errors were encountered: