Tests for `InfectionsWithFeedback` class
Open
Nobody has claimed this yet.
testing
- Dominant language
- Python
- Stars
- 29
- Forks
- 9
- Avg merge
- 9d 9h
- Merged PRs (30d)
- 8
Description
All existing tests were able to pass with a bug in the InfectionsWithFeedback class. Only attempting to render the extending_pyrenew.qmd tutorial revealed it. We should have:
- A test confirming that
InfectionsWithFeedbackcan be instantiated and sampled. - A test comparing infections with feedback computed using the class to a manual computation.
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 by inspecting the InfectionsWithFeedback class and the extending_pyrenew.qmd tutorial, where the bug was exposed. Add coverage showing that the class can be instantiated and sampled, then compare its computed infections-with-feedback result with a manual computation. Run the relevant test suite and confirm both cases pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100