random vs shuffle for a list
Open
Nobody has claimed this yet.
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
I regularly mistake random(List) to mean a random element of the list, until I remember it's actually shuffling the list.
It would be a breaking change, but I wish we had shuffle(List) do this job and random(List) just give a random element of a list.
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
No files, tests, or entry points are named. Start by locating the implementation and usages of random(List), then determine the compatibility impact of changing its behavior and introducing shuffle(List). Done means the proposed API behavior is specified and covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100