纠正虚构品牌名,核对个人优先和整词边界
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json
本课实际输入字段
| spoken | misspelling | personal | team |
|---|---|---|---|
| Send the OrbiLo kit. | orbilo | OrbiLo | ORBILO |
| Keep orbital unchanged. | orbital | no replacement | no replacement |
| OrbiLo arrives Friday. | orbilo | OrbiLo | ORBILO |
给反复错词加纠错映射
reference.csv:作者验收映射,不是目标API回包
| test | expected | reason | condition |
|---|---|---|---|
| brand alone | OrbiLo | personal correction has priority | |
| longer word | orbital | whole word boundary | |
| team only | ORBILO | personal correction disabled in controlled account |
应当保留的约束
| test | expected | reason | condition |
|---|---|---|---|
| brand alone | OrbiLo | personal correction has priority | |
| longer word | orbital | whole word boundary | |
| team only | ORBILO | personal correction disabled in controlled account |
故意构造的错误样例
| rule | fault | result |
|---|---|---|
| orbi -> OrbiLo | substring replacement damages orbital | |
| wrong priority | ORBILO with personal rule active |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。