time-preference.feature.ts
3.45 KB
-
feat(persona): 时间偏好特征(D.1.2) · 5210f3ea
- time_preference 多标签:工作日/周末/上午/下午/晚间偏好。近2年预约,北京 TZ。 -
⭐ 数据排查:occurred_at 钟点被搞乱(时区/解析,16-23 乱分布),planned_for +8 才是 干净营业钟形(8-18 峰 9-15)→ 用 planned_for。无新摄入/无迁移。 - 阈值照 spec:工作日≥60%/周末≥50%/各时段≥50%,记录≥2;无命中→不打标签。 - 注册表 spec/enum/label。本地 601 患者:下午368/工作日305/上午289/周末289。 -⚠ ️ follow-up:appointment occurred_at 钟点不可靠(latent bug);TZ 硬编北京,多宿主应读 host TZ。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>luoqi committed