sage.coding: Modularization fixes, doctest cosmetics, add # optional#35729
sage.coding: Modularization fixes, doctest cosmetics, add # optional#35729vbraun merged 12 commits intosagemath:developfrom
# optional#35729Conversation
|
test fails: |
|
the timeout in fusion_ring is unrelated |
|
pdf docs doesn't build, with an error I never saw: |
|
Is that a local pdf build or are you reading this from the "CI PDF", which is known to be broken? |
|
CI pdf. Is it broken? |
|
Yes, it's broken, related to running tex as root with a weird home directory configuration |
|
hmm, is there an issue for this? |
|
Not yet; I haven't paged this out from my brain to a GH Issue. Tobias disabled the workflow in sagemath/sage, so there is no urgency |
src/sage/coding/abstract_code.py
Outdated
|
|
||
|
|
||
| As AbstractCode is not designed to be implemented, it does not have any | ||
| As the class :class:`AbstractCode` is not designed to be instantiated, it does not have any |
| 7920 | ||
| sage: G = C.permutation_automorphism_group() # long time (6s on sage.math, 2011) | ||
| sage: G.is_isomorphic(M11) # long time | ||
| sage: G = C.permutation_automorphism_group() # long time (6s on sage.math, 2011) # optional - sage.groups |
There was a problem hiding this comment.
May be we should update these long time statements. It should now be much less than the 6s of 2011 ;)
There was a problem hiding this comment.
I agree; comments like this make our codebase look dated.
Probably best done in a separate PR, for all such annotations at the same time.
|
Documentation preview for this PR (built with commit 5aac3bf) is ready! 🎉 |
|
Thanks a lot! |
📚 Description
Modularization fixes for imports (using
lazy_import, moving imports from module level to method level).Adding a header line
# sage.doctest: optional - sage.modules sage.rings.finite_ringsto most files.Adding some more
# optionalto doctest lines.Some markup fixes for the documentation (such as fixing the accidental boxes around nest enumerations: https://doc.sagemath.org/html/en/reference/coding/sage/coding/guruswami_sudan/gs_decoder.html#sage.coding.guruswami_sudan.gs_decoder.GRSGuruswamiSudanDecoder)
Some reformatting of doctests so they can be read in HTML format without horizontal scrolling.
For example, fixing the documentation of AbstractLinearCode.automorphism_group_gens (new: https://deploy-preview-35729--sagemath-tobias.netlify.app/reference/coding/sage/coding/linear_code.html#sage.coding.linear_code.AbstractLinearCode.automorphism_group_gens)
📝 Checklist
⌛ Dependencies