onecrayon / onecrayon/api.ashes.live
Fix dice cost calculations for parallel costs in card creation logic
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13
- Forks
- 7
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 1
Description
Currently, the card creation logic for parallel costs adds the first dice type in the split cost to dice_flags when that value should be 0 (or only contain dice that are not in split costs).
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
Locate the card creation logic and trace how parallel costs populate dice_flags, using the issue's split-cost behavior as the starting point. Check existing coverage around card creation if present, then verify that split-cost dice are excluded from dice_flags while non-split dice remain included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100