DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Probstat — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-probstat

Probstat

用于 DeepSeek Harness (dsh) 的确定性概率与统计推断数学:分布计算器(正态/二项/泊松/指数/均匀/几何分布的 pdf/cdf/生存函数/分位数/统计量)、标准正态 z 表计算、置信区间(均值 z/t + Wilson 比例)以及事件概率恒等式(并集/交集/条件概率/贝叶斯)

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:TYEclipse/dsh-probstat#4e7bb6e8d4dbeb232cd4995caec4cf51a4c1a430
README兼容性版本

说明

用于 DeepSeek Harness (dsh) 的确定性概率与统计推断数学:分布计算器(正态/二项/泊松/指数/均匀/几何分布的 pdf/cdf/生存函数/分位数/统计量)、标准正态 z 表计算、置信区间(均值 z/t + Wilson 比例)以及事件概率恒等式(并集/交集/条件概率/贝叶斯)——零运行时依赖

兼容性与来源证明

Probstat 以 dsh-probstat 发布,当前版本为 0.1.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/10

版本

0.1.3stable
2026/9/10
0.1.0stable
2026/9/6
最新版
0.1.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-probstat

Deterministic probability & statistical-inference math for DeepSeek Harness (dsh). Four zero-runtime-dependency tools that replace the math agents get wrong most often: hallucinated z-table values, distribution cdf/quantile errors, wrong critical values, and sloppy compound-event identities.

中文简介:DeepSeek Harness 概率与统计推断数学工具箱——分布计算(正态/二项/泊松/指数/均匀/几何的 pdf/cdf/生存函数/分位数/统计量)、标准正态 z 表换算、置信区间(均值 z/t + 比例 Wilson)、事件概率恒等式(并/交/条件/贝叶斯)。零运行时依赖,纯确定性计算。

Install

dsh plugin --profile web add github:TYEclipse/dsh-probstat

Tools

ToolWhat it does
dist_calcpdf / cdf / survival / quantile / stats for 6 distributions
z_scorestandard-normal table math (z ↔ probability)
confidence_intervalmean intervals (z or t) and Wilson proportion intervals
event_probabilityunion / intersection / conditional / Bayes / complement / at-least-one

dist_calc

Distributions: normal (mean, sd — default standard normal), binomial (n, p), poisson (lambda), exponential (rate lambda), uniform (a, b), geometric (p). Operations: pdf, cdf (P(X ≤ x)), survival (P(X > x)), quantile (inverse cdf at probability q), stats (mean / variance / sd).

Examples:

  • distribution: "normal", x: 1.96 → cdf 0.9750022 (P(Z ≤ 1.96))
  • distribution: "binomial", operation: "quantile", n: 10, p: 0.5, q: 0.95 → 8
  • distribution: "poisson", operation: "survival", lambda: 3, x: 5 → 0.08391794
  • distribution: "geometric", operation: "stats", p: 0.5 → mean 1, variance 2

Conventions: the geometric distribution counts failures before the first success (support k ≥ 0, P(X = k) = p·(1−p)^k). Quantiles of discrete distributions return the smallest k with P(X ≤ k) ≥ q.

z_score

Modes: to_prob (z → probability + percentile), from_prob (probability → z), two_sided (z → two-tailed p-value), between (z1, z2 → probability between; order is sorted internally).

  • mode: "between", z1: -1.96, z2: 1.96 → 0.9500043
  • mode: "two_sided", z: 2.5 → p-value 0.01241936

confidence_interval

Kinds: mean_z (population mean, known sigma), mean_t (population mean, unknown sigma; Student-t with df = n − 1), proportion (Wilson score interval — stays valid for small samples and extreme proportions, unlike the naive Wald interval). Default confidence level 0.95.

  • kind: "mean_t", mean: 72.5, sd: 8.2, n: 25 → [69.115, 75.885] (t* = 2.0639, df = 24)
  • kind: "proportion", successes: 40, n: 100 → [0.30940, 0.49800]
  • kind: "proportion", successes: 0, n: 50 → [0, 0.07135]

event_probability

Operations: union (P(A or B); independent default true, false treats events as mutually exclusive), intersection (independent events), conditional (P(A|B) = P(A and B)/P(B)), bayes (posterior from prior, true-positive and false-positive rates), complement, at_least_one (1 − (1−p)^n).

  • operation: "bayes", prior: 0.001, truePositive: 0.99, falsePositive: 0.01 → 0.09016
  • operation: "at_least_one", p: 0.05, n: 20 → 0.64151

Numerics & precision

  • Normal cdf: Abramowitz & Stegun 7.1.26 erf fit, absolute error ≤ 1.5e-7 (far beyond published 4-decimal z-tables).
  • Normal quantile: Acklam inverse normal, relative error < 1.15e-9.
  • Binomial / Poisson: exact pmf via recurrence and cdf by summation (no combinatorics overflow); quantiles by monotone search.
  • Student-t: regularized incomplete beta (Lentz continued fraction) + Lanczos log-gamma; cross-checked against published t-table values (2.2281, 2.0452, 1.8125, 1.984).
  • Exponential / uniform / geometric: closed forms.
  • All validation errors return valid: false with an explanatory error string; no tool ever throws on bad numeric input.

Development

pnpm install
pnpm build
pnpm test   # 37 tests; anchors from test/anchors-probstat.py (independent Python oracle)
pnpm lint

License

MIT