RandomIdeals: improving class of output
Nobody has claimed this yet.
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
There are three methods for creating a monomial ideal using the package RandomIdeals, but only one returns an ideal with type MonomialIdeal.
i1 : loadPackage "RandomIdeals";
i2 : R = kk[a];
i3 : I = randomMonomialIdeal ({2},R);
***** there are only 1 monomials of degree 2
o3 : Ideal of R
i4 : J = randomSquareFreeMonomialIdeal ({1},R);
***** there are only 1 square-free monomials of degree 1
o4 : Ideal of R
i5 : K = randomShellableIdeal (R, 0, 1);
o5 : MonomialIdeal of R
Is there a good reason for the first two methods not to return a MonomialIdeal "out of the box"?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read M2/Macaulay2/packages/RandomIdeals.m2 and inspect the definitions of randomMonomialIdeal, randomSquareFreeMonomialIdeal, and randomShellableIdeal. Determine whether their differing return types are intentional; done means documenting the rationale or making the relevant behavior consistent, then checking the examples in the issue.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100