-
-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New functions for binary linear codes #14973
Comments
comment:2
one quick comment: you should also add an example for the function __insert_nextnew |
comment:3
This is just a list of short comments, nothing like a comprehensive review. Anybody else looking at this should feel free to test the code and report problems. Did you run the tests in this file? I get
After fixing that problem, I still have:
Please document and test You should rename The documentation needs a spell check. Did you try building the documentation? I'm not sure if all of it is formatted properly. The output of Please run your code through a pep8 checker: https://pypi.python.org/pypi/pep8 In Python, you don't need to write It seems that all your examples/tests use the same code. Can you add different examples which stress the code properly, covering corner cases, etc.? |
comment:4
Burcin, which structure would you consider appropriate for representing the groebner representation? Maybe a dictionary? |
comment:5
Are you sure you uploaded the last version of your patch? The version __insert_nextnew does not have any doctest. And the function covering_rad should be merged with the existing covering_radius, providing an option to choose between the preexisting algorithm, and the one you implemented. |
comment:6
Here goes the real patch: -Right tests (Doctests already run) - -The functions -The output of About making output of I'll document more examples. I'm testing |
comment:7
With attachment: coding_theory.2.patch:
After fixing this, all tests pass. |
comment:8
Some comments:
In fact, I don't understand why |
comment:9
Replying to @ppurka:
Thanks for your comments!!
Yes, it got moved after I runned the tests, I guess. I just fixed it.
Ok I got it. Also fixed
So far it is only for linear codes over
You're right
|
comment:10
I will just add some comments about the last question: as Veronica already mentioned, for the decoding algorithm that Veronica is implementing (whose code will be public in the following days), the term ordering is important. Note that for those cosets for which more than one coset leader exists the degree compatible ordering chosen will play an important role. However, in general I will suggest to leave as default the "degrevlex" ordering for several reasons related to the preprocessing of the mentioned decoding algorithm. |
Attachment: coding_theory.patch.gz New patch with the GDDA decoding algorithm |
comment:11
Here is the patch with the last details fixed. And I added the GDDA algorithm. This algorithm with Hamming Codes and Random linear codes seems to be faster.
I've been suggeste to use |
comment:12
The next patch is presented as result of a GSoC project 2013. The work contains implementation of new decoding algorithms for linear codes proposed in "Combinatorial Commutative Algebra Approach to Complete Decoding", PhD Thesis, University of Valladolid, 2013 by Irene Marquez-Corbella. The patch contains functions added to |
comment:13
Patchbot apply trac_14973-new_decoding_functions.patch |
This comment has been minimized.
This comment has been minimized.
comment:14
Hmm.. I didn't notice these two issues before:
|
Attachment: trac_14973-new_decoding_functions.patch.gz |
comment:15
I just changed the patch.
|
comment:18
This needs to be turned into a git branch (and rebased) |
Branch: u/defeo/ticket/14973 |
comment:22
I am working on resolving the (seems trivial) conflict with 6.3beta1. |
Work Issues: resolve merge conflict with 6.3b1 |
comment:23
I added some commits to fix the merge conflicts and also clean up a bit. Your changes looked ok to me except for just one change that was not present. You can look at the changes that you made and compare with the changes in the hg patch attached to this ticket, like so.
I used |
Changed branch from u/defeo/ticket/14973 to u/ppurka/ticket/14973 |
Changed work issues from resolve merge conflict with 6.3b1 to none |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:28
needs rebase |
comment:29
See #21339 which is a re-adaptation of this ticket. |
comment:31
Determined to be invalid/duplicate/wontfix (closing as "wontfix" as a catch-all resolution). |
The idea of this work is to add some functions to linear_code.py and new decoding algorithms.
Theory and algorithms are taken from: I. Marquez-Corbella. A combinatorial Commutative Algebra Approach to Complete Decoding PhD thesis, University of Valladolid, 2013.
Apply to devel/sage: attachment: trac_14973-new_decoding_functions.patch
CC: @ppurka @dimpase
Component: coding theory
Keywords: binary codes
Branch/Commit: u/ppurka/ticket/14973 @
743826b
Issue created by migration from https://trac.sagemath.org/ticket/14973
The text was updated successfully, but these errors were encountered: