fix: 批量匹配跳过画像待补录教师 + render-html 按行重建 + 金标准 fixtures 业务化(P0+P1)
- run_match 新增 skip_incomplete:批量缺省跳过画像不完整教师并记录 skipped,指定单教师仍 PROFILE_INCOMPLETE;汇总页出"画像待补录"行 - render-html 补 --report-id 行上下文(inputMapping $row.$pk),CLI 容错解析回退最近 10 份 - report_service 日志改容错 _log(),修复未 setup 时单跑测试崩溃的顺序依赖 - fixtures 替换为教师画像/赛道/期望结论金标准样例,新增 sample_tracks.json - 新增 4 个批量跳过用例(314 项,除 3 个已知 jsonschema 环境失败外全绿) - tests/README 增补本机无共享 runtime 的测试方式;TUTORIAL/ACTIONS.md 同步表述
This commit is contained in:
31
tests/fixtures/sample_request.json
vendored
31
tests/fixtures/sample_request.json
vendored
@@ -1,11 +1,22 @@
|
||||
{
|
||||
"request_id": "req_test_001",
|
||||
"tenant_id": "tenant_demo",
|
||||
"actor": "tester",
|
||||
"parameters": {
|
||||
"input_text": "demo input",
|
||||
"options": {
|
||||
"dry_run": true
|
||||
}
|
||||
[
|
||||
{
|
||||
"teacherName": "张教授",
|
||||
"department": "化材学院",
|
||||
"title": "教授",
|
||||
"researchTags": "钙钛矿,光伏,半导体,界面调控,稳定性",
|
||||
"recentPapers": "钙钛矿电池界面钝化研究",
|
||||
"projectHistory": "主持省自然科学基金",
|
||||
"sciQ1Count": 3,
|
||||
"corePaperCount": 8
|
||||
},
|
||||
{
|
||||
"teacherName": "王讲师",
|
||||
"department": "经管学院",
|
||||
"title": "讲师",
|
||||
"researchTags": "乡村振兴,农村经济",
|
||||
"recentPapers": "县域乡村产业发展研究",
|
||||
"projectHistory": "参与市社科基金",
|
||||
"sciQ1Count": 0,
|
||||
"corePaperCount": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user