Decision Workspace
histogram-sampler vs tpt-math-prob-sampler vs probability
Side-by-side comparison of Rust crates
47
histogram-sampler
growingv0.5.0
Sampling from a distribution given by a histogram
50
tpt-math-prob-sampler
experimentalv0.1.0
Sampling strategies.
48
probability
growingv0.20.3
The package provides a probability-theory toolbox.
Core Metrics
| histogram-sampler | tpt-math-prob-sampler | probability | |
|---|---|---|---|
| Health Score | 47 | 50 | 48 |
| Total Downloads | 51.1K | 85 | 1.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 61 | 1 | 344 |
| Releases | 9 | 1 | 66 |
| Last Updated | 1939d ago | 59d ago | 1385d ago |
| Age | 8y 7m | 1m | 11y 10m |
Health Breakdown
histogram-sampler
Maintenance
4
Quality
15
Community
11
Popularity
6
Documentation
11
tpt-math-prob-sampler
Maintenance
10
Quality
16
Community
7
Popularity
2
Documentation
15
probability
Maintenance
6
Quality
11
Community
13
Popularity
7
Documentation
11
Technical Details
| histogram-sampler | tpt-math-prob-sampler | probability | |
|---|---|---|---|
| Version | 0.5.0 | 0.1.0 | 0.20.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0/MIT |
| Dependencies | 1 | 1 | 4 |
| Crate Size | 11KB | 13KB | 30KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 6.1% |
| Edition | — | 2021 | — |
| MSRV | — | 1.84 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tpt-math-prob-sampler leads with a health score of 50/100, but none of the options score above 80.
- •probability has the most downloads (1.6M), suggesting wider adoption.
- •probability is depended on by 344 crates — strongest ecosystem trust.
- •⚠ histogram-sampler, probability have not been updated in over a year.