add tests for distributions with Negative support to purely positive fields
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13
- Forks
- 3
- Avg merge
- 19h 43m
- Merged PRs (30d)
- 1
Description
most obvious field to start with is dynode.Strain.r0 can only take positive values, but currently accepts a prior such as Normal(0,1) which has support over negative values.
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
Start at dynode.Strain.r0 and inspect how its prior is handled, then review the existing tests for field distributions. Add coverage showing that a prior with negative support, such as Normal(0,1), is rejected for this positive-only field; done means the test reliably captures the invalid case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100