Hermes Agent
ad67920f06
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
feat(crowd_db): Phase 0 - 新高考省份选科匹配度修复 (P0)
P0 级风险修复:7 个新高考 S 级省 100% 标注 subject_requirements
修复原因:
- recommendations 缺少选科要求,可能导致物理类考生收到历史类专业推荐
- 影响 7 个新高考 S 级省(湖南/广东/江苏/山东/河北/浙江/福建)
- 属 P0 级推荐准确性风险
实现内容:
1. SCHEMA.md recommendation 结构扩展:
- subject_requirements: {preferred_subject, reselect_subject, note}
- program_type: 为后续特殊专业标注预留占位
2. 7 省共 484 条 recs 100% 标注 subject_requirements
3. 基于专业关键词规则推断:
- 理工类: 物理优先 (+化学/+生物)
- 文史类: 历史优先
- 医学类: 物理 + 化学/生物
- 艺体类: 历史优先
4. 新增测试 test_subject_requirements.py
5. 新增 coverage 脚本 check_subject_requirements_coverage.py
6. 评审文档优化:P0 风险确认 + 优先级重排
验证:
- ruff: All checks passed
- mypy: Success, no issues in 17 source files
- pytest crowd_db: 151 passed, 3 skipped
- subject_requirements 覆盖率: 7省 484/484 (100.0%)
业务规则抽样验证:
- 社会工作 -> 历史优先
- 临床医学 -> 物理 + 化学/生物
- 物理学类/计算机/电气 -> 物理 + 化学
- 会计学 -> 历史优先
2026-06-25 11:43:23 +08:00
..
2026-06-13 14:49:58 +08:00
2026-06-18 10:21:38 +08:00
2026-06-25 09:26:46 +08:00
2026-06-18 10:21:38 +08:00
2026-06-18 13:39:02 +08:00
2026-06-18 14:07:26 +08:00
2026-06-25 07:41:11 +08:00
2026-06-25 11:43:23 +08:00
2026-06-20 18:57:45 +08:00
2026-06-25 07:41:11 +08:00
2026-06-14 23:12:18 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-17 09:01:43 +08:00
2026-06-16 18:14:41 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-15 11:39:31 +08:00
2026-06-15 18:17:30 +08:00
2026-06-11 16:06:34 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-14 20:55:06 +08:00
2026-06-13 14:49:58 +08:00
2026-06-13 14:49:58 +08:00
2026-06-14 13:02:03 +08:00
2026-06-20 18:57:45 +08:00
2026-06-18 10:21:38 +08:00
2026-06-14 06:50:21 +08:00
2026-06-21 11:54:16 +08:00
2026-06-21 11:54:16 +08:00
2026-06-12 16:35:20 +08:00