dsh-probstat: A Deterministic Probability and Statistical Inference Toolbox for DeepSeek Harness
`dsh-probstat` is a plugin for DeepSeek Harness designed to address the issue of agents being prone to hallucinations in probability calculations. It provides mathematical tools with zero runtime dependencies, covering six core functions: distribution calculations, Z-scores, confidence intervals, event probabilities, hypothesis testing, and sample size planning. The plugin supports high-precision calculations (absolute error of 1.5e-7) for distributions such as the normal and binomial distributions, and enables hypothesis testing and confidence interval inference for means and proportions. It places particular emphasis on safety by issuing warnings when sample sizes are insufficient. Developers can install it via a command, making it suitable for automated data analysis and scenarios such as A/B testing.
Read More