PerryLink/dsh-forecast-penalty ↗★ 0
dsh-forecast-penalty
预测准确率考核与考核费用算术核对工具 适合业务考核与财务核对,校验预测准确率及考核费用计算并提示差异。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-forecast-penalty說明文件
閱讀完整 README ↗Configuration
| Key | Type | Default | Description |
|---|---|---|---|
rulesFile | string | rules/forecast-penalty.yaml | Rule-pack path, relative to the package root |
disabledRules | string[] | [] | Rule ids to stop running; each appears in skipped |
onlyRules | string[] | [] | Run only these rule ids; empty runs every rule |
skipNotes | string | "" | Note appended to every skipped reason |
timeoutMs | number | 120000 | Cooperative tool timeout budget |
Rule-level parameters worth knowing:
FP-003expression— the accuracy definition. Ops aredivide,product,sum,subtract(first field minus the rest) andpercent(first field ÷ second × 100), with an optionalscalemultiplier.tolerancedefaults to 1.5 points; set it to your rounding convention.FP-004expression/tolerance— the charge formula,考核基数 × 考核单价by default with a 0.01 tolerance.FP-005pattern— the currency shape; three upper-case letters by default.FP-007terms— the placeholders to look for.