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
Use the randgen framework to set the seeds for controlled Magma, Singular, etc. sessions #3231
Comments
Commit: |
Author: Travis Scholl |
Branch: u/tscholl2/seeds_3231 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
I added a This made solving the ticket very easy by just calling "set_seed" when the interface is started with I think someone should rewrite the Also |
comment:11
Maybe this ticket should be repurposed then and another ticket created to realise the integration into the randgen() framework? It'd be a shame if this bitrots. |
comment:12
I think this ticket is fine because it's still a step in the right direction. In my mind the best framework would be for every interface to have a Also I think the next ticket should be specifically about |
comment:13
I agree: let's deal with what you've done in this ticket (and change the description accordingly) and then open another follow up ticket which deals with the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:27
I added a doc test for the |
comment:28
Looks good to me. |
comment:29
|
comment:30
I get the first 3 errors if I run The last error seems to be something I didn't notice. Apparently some of the interfaces keep a counter of the commands used and label things with it. The This error doesn't occur if I comment out line 626 in
I'm not sure what to do about this. It seems like there is a few options:
Martin, do you have any suggestions on which way to proceed? |
comment:31
Ah, crap my comments from yesterday seem not to have arrived:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:33
I added |
comment:34
I still get
but the other three are gone. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:36
I removed some white space and changed a doctest in The doc test was failing because |
comment:37
tests pass here & looks good. |
Changed branch from u/tscholl2/seeds_3231 to |
The interfaces to gp, gap, r, scilab, magma, etc., should use the randgen framework to initialize/set the seed for their respective random number generators.
The purpose of this ticket is to add a
set_seed
method to each interface which takes the appropriate input to modify the random number generator's seed value. It should also make the interfaces initialize their seed value with a random value generated from the randgen framework.Component: interfaces
Author: Travis Scholl
Branch/Commit:
38256ae
Reviewer: Martin Albrecht
Issue created by migration from https://trac.sagemath.org/ticket/3231
The text was updated successfully, but these errors were encountered: