把已确认前缀传给下一段,防止重抄和说话人编号漂移
本页展示随包原生输入和验收参考。目标产品运行状态:未运行。表格与图片不代表产品已经生成的结果。
input.csv / practice-data.json
本课实际输入字段
| chunk | role | text |
|---|---|---|
| A | Speaker 0 | The blue box is ready. |
| A | Speaker 1 | The orange label is pending. |
| B | Speaker 0 | Do not seal the final tab. |
| B | Speaker 1 | I will review it tomorrow. |
给下一块传prefix_text
reference.csv:作者验收映射,不是目标API回包
| version | prefix | chunk | newOnly | check | expected |
|---|---|---|---|---|---|
| v1 | [Speaker 0]: the blue box is ready [Speaker 1]: the orange label is pending | ||||
| B | do not seal the final tab / i will review it tomorrow | ||||
| Speaker0 | first appearance in A |
应当保留的约束
| version | prefix | chunk | newOnly | check | expected |
|---|---|---|---|---|---|
| v1 | [Speaker 0]: the blue box is ready [Speaker 1]: the orange label is pending | ||||
| B | do not seal the final tab / i will review it tomorrow | ||||
| Speaker0 | first appearance in A |
故意构造的错误样例
| chunk | prefix | fault | append |
|---|---|---|---|
| B | resets context | ||
| B | duplicate prefix | A+A+B |
先保存真实产品输出,再逐项对照。actualOutput / actualResult 在未执行时保持 not_run,不能把这里的期望值复制成已测结果。