feat: add area diagnostics

This commit is contained in:
2026-06-24 16:06:18 +08:00
parent b002c44218
commit e6f26152d1
6 changed files with 314 additions and 12 deletions

View File

@@ -280,6 +280,8 @@
### M3.2 历史分位与异常检测
状态:已完成。
目标:
- 建立价格、成交量、租金收益率、库存压力的历史分位。
@@ -287,13 +289,15 @@
交付物:
- 历史分位 API
- 异常检测字段。
- `GET /api/v1/areas/{area_id}/diagnostics?month=YYYY-MM`
- 板块详情返回历史分位与异常检测字段。
- 前端板块详情展示成交均价、成交量、租金收益率、库存压力的历史分位。
验收标准:
- 每个板块和小区可看到当前处于历史什么位置。
- 异常样本不会污染核心评分。
- 当前完成板块级诊断,小区级诊断进入 M3.3/M3 后续资产扩展。
### M3.3 相似资产比较