Does is_permutation_equivalent work well for nonbinary codes?
The two trivial ternary codes below are obviously not permutably equivalent (they are monomially equivalent). But the method is_permutation_equivalent returns True (and only the permutation part of the monomial equivalence):
C1 = LinearCode(matrix(GF(3),[1,1]))
C2 = LinearCode(matrix(GF(3),[1,2]))
print( C1.is_permutation_equivalent(C2,algorithm='verbose') )
The same for larger codes (over GF(3), GF(4), ?). A temporary SageMathCell link: https://sagecell.sagemath.org/?q=zxvabh
If you think it's a bug, please report it at https://github.com/sagemath/sage/issues
> If you think it's a bug, please report
Done: https://github.com/sagemath/sage/issues/40503