PAIR-code / PAIR-code/deliberate-lab
[Open ended] Make stock allocation easier
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 40
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 20
Description
One idea for initial setup: Given n items, when a participant has edited n-1 items, programmatically set the last item to be 100 - the allocations of the others.
This should only happen one time, otherwise it may be confusing as the participant edits.
From a participant: "I decided 15% on the first one, and split the rest between the other two. I was trying to figure out how to do it mostly"
Contributor guide
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
Start by locating the participant interface for editing stock allocations and the code that tracks allocation changes. Implement the one-time behavior described in the issue: when only one item remains unset after the others are edited, set it to the remaining percentage. Verify that later edits do not repeatedly overwrite the participant’s changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100