-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
wrong answers from codesize_upper_bound() #22961
Comments
Commit: |
Branch: u/dimpase/codesizefix |
Author: Dima Pasechnik |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:3
now the doctests pick up an error in |
Dependencies: #22796 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:6
Only the changes on Apart from the bugfix, I've streamlined the code of Griesmer bound, and added some more sanity checks, docs and doctests. (previously the loop in Griesmer bound did not terminate on weird inputs, etc). |
Changed branch from u/dimpase/codesizefix to u/jsrn/codesizefix |
comment:8
Hi Dima, I agree with your fixes. I took the liberty to slightly extend the scope of this ticket even more:
Could you review my changes? Further, I'm actually motivated to take this opportunity to fix the other annoying thing that was brought up on sage-support: the
After the deprecation period is over, we can remove the I can do the change if you agree. Also, do we agree that Best, New commits:
|
comment:9
Thanks for looking into this. I think that the check on the parameters of E.g. Delsarte's bound does not need it; I will add an extra parameter to |
comment:10
Good point. For the other bounds, what I know is:
Best, |
comment:11
Replying to @johanrosenkilde:
yes, this looks correct to me, although indeed it's mostly used to bound the
from the proof given in
yes. |
Changed branch from u/jsrn/codesizefix to u/dimpase/codesizefix |
comment:12
here are the changes in line with the latest comments. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
rebased over latest beta(6). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
Sorry, I've been away for a few days. I'll get back to this soon once I've popped my email stack... |
comment:18
It looks good and all tests pass. You removed a number of the "meaningless parameters are rejected" test blocks that I added. Not that I really mind, but why did you do that? |
Reviewer: Johan Rosenkilde |
comment:19
Thanks. I removed these tests, as they tested the same parameter-checking function all over again, something that looked excessive to me. |
comment:20
Replying to @dimpase:
OK, that's a fair argument. My motivation for having them was thinking of the doc-tests as black-box testing, i.e. if you didn't know that the functions were actually each implemented with exactly the same check, you would put a test for each of them. Now, if someone comes along and completely reimplements one of the functions, he might inadvertently remove the I won't insist on putting them back however. |
Changed branch from u/dimpase/codesizefix to |
with the default method,
codesize_upper_bound()
erroneously uses the bound only valid for linear codes.see sage-support
Depends on #22796
CC: @johanrosenkilde @sagetrac-dlucas
Component: coding theory
Author: Dima Pasechnik
Branch/Commit:
e258a20
Reviewer: Johan Rosenkilde
Issue created by migration from https://trac.sagemath.org/ticket/22961
The text was updated successfully, but these errors were encountered: