原规则 result||follow_content + "外院"+任意治疗词太宽,两类干扰:
- follow_content 含营销标签"种植潜客/洁牙/正畸"→ 与 result 的"外院"误拼命中
(种植潜客=潜在客户没做,反该召);
- "建议/打算/考虑…外院"(意图未去)被当成已治疗。
收紧(全库验证):
- 只 match patient_return_visits.result(弃 follow_content);
- POS=治疗词紧邻外院:外院(治疗|种植|矫正|矫治|修复|根管)|在外院|外院已|已外院;
- NEG=排意图:(建议|打算|考虑|可能|拟)[^,;。]{0,6}外院。
POS∧¬NEG 命中 851 患者(原 1812 含大量噪音);被剔除的全是"打算/考虑外院"假阳。
验证:李姝妤仍正确排除,21 人理由 41 不变(无回退无新误杀);recompute exit=0。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cli | Loading commit data... | |
| common | Loading commit data... | |
| config | Loading commit data... | |
| modules | Loading commit data... | |
| openapi | Loading commit data... | |
| prisma | Loading commit data... | |
| queues | Loading commit data... | |
| redis | Loading commit data... | |
| types | Loading commit data... | |
| app.module.ts | Loading commit data... | |
| health.controller.ts | Loading commit data... | |
| main.ts | Loading commit data... |