Tests for sequential Monte Carlo
Open
Beginner friendly
Nobody has claimed this yet.
good first issue
- Dominant language
- Rust
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently the smc.rs file has module defined for tests.
Some good tests would be to, e.g.,
- Test that if you pass a CDF which jumps to a given value for some feature and stays constant after that,
sample_feature_from_probssamples that first feature - Check that
normalize_weights_inplaceactually return something that sums to one.
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 in smc.rs and read the existing test module alongside sample_feature_from_probs and normalize_weights_inplace. Run the Rust tests before making changes, then add focused tests for the stated CDF sampling behavior and normalized weights. Done means both behaviors are covered by passing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100