| Crates.io | pop-prob |
| lib.rs | pop-prob |
| version | 0.1.1 |
| created_at | 2021-01-08 06:30:19.372737+00 |
| updated_at | 2021-01-08 16:20:07.475046+00 |
| description | A population probability calculator |
| homepage | |
| repository | https://github.com/beamer159/pop-prob/ |
| max_upload_size | |
| id | 334198 |
| size | 17,426 |
pop-prob is a population probability calculator. It can perform the following:
I was playing an online trivia game one day. After 40 questions, the next question was a repeat. 10 questions later, another repeat. This made me think that the question bank must be relatively small. But how small? In all, I went through 80 questions, 5 of which were repeats. I wanted to know the most likely size of the word bank from this information, as well as the likelihood that this size was correct. However, I could not find an adequate answer to this problem online. So I created one. Now I know the question bank most likely contained 605 words (there is a 0.13% chance this is correct).
Add pop-prob as a dependency in your Cargo.toml:
[dependencies]
pop-prob = "0.1"
pop-prob is a Rust library. A CLI tool for pop-prob can be found here.