同时检查覆盖与宽度,别只比较中位数误差
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json
本课实际输入字段
| date | visits |
|---|---|
| 2026-10-01 | 10 |
| 2026-10-02 | 12 |
| 2026-10-03 | 11 |
| 2026-10-04 | 13 |
| 2026-10-05 | 12 |
| 2026-10-06 | 14 |
保留预测形状
reference.csv:作者验收映射,不是目标API回包
| fixtureDate | actual | q10 | q50 | q90 | fixtureOnly | fixtureCoverage | widths |
|---|---|---|---|---|---|---|---|
| 2026-10-07 | 12 | 8 | 11 | 14 | True | ||
| 2026-10-08 | 16 | 9 | 12 | 15 | True | ||
| 2026-10-09 | 13 | 10 | 13 | 16 | True | ||
| 2/3 | [6, 6, 6] |
应当保留的约束
| fixtureDate | actual | q10 | q50 | q90 | fixtureOnly | fixtureCoverage | widths |
|---|---|---|---|---|---|---|---|
| 2026-10-07 | 12 | 8 | 11 | 14 | True | ||
| 2026-10-08 | 16 | 9 | 12 | 15 | True | ||
| 2026-10-09 | 13 | 10 | 13 | 16 | True | ||
| 2/3 | [6, 6, 6] |
故意构造的错误样例
| q10 | q90 | error | axis | claim |
|---|---|---|---|---|
| 15 | 9 | crossed bounds | ||
| wrong dimension | 21 quantiles | 21 forecast dates |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。