[sage-devel] Re: Policy for disputed PRs: discussion

2023-12-30 Thread Kwankyu Lee
Wish you a happy new year! A year ago, we successfully escaped from a sinking issue management system. Hopefully, the new year will save us from the current spiral that's drowning us. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To

[sage-devel] Re: Policy for disputed PRs: discussion

2023-12-30 Thread Matthias Koeppe
The most recent response in this discussion thread was posted over 3 weeks ago. (There has been major activity on PRs linked in some of the posts, though.) Do we have a timeline for the next step in this effort? Best wishes for the new year to all members of the Sage community! Matthias On

Re: [sage-devel] PolynomialRing().random_element() returns 0 rather often.

2023-12-30 Thread Maxime Bombar
On 12/30/23 13:43, Georgi Guninski wrote: Just FYI: def testquotient2(): set_random_seed(1);p=next_prime(10**120);Kx=Integers(p)['x'] l=[Kx.random_element() for _ in range(100)] return l.count(0) testquotient2() 27 Hi, this is because PolynomialRing().random_element() takes an

[sage-devel] Re: PolynomialRing().random_element() returns 0 rather often.

2023-12-30 Thread Nils Bruin
This is documented (almost). The routine generates polynomials with degrees in a given range, with by default is -1..2 . It chooses the degree uniformly (the documentation doesn't specify this), so one would expect 33% degree -1, i.e., the 0 poly. I have a hard time thinking of situations

[sage-devel] PolynomialRing().random_element() returns 0 rather often.

2023-12-30 Thread Georgi Guninski
Just FYI: def testquotient2(): set_random_seed(1);p=next_prime(10**120);Kx=Integers(p)['x'] l=[Kx.random_element() for _ in range(100)] return l.count(0) testquotient2() 27 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To