110 lines
3.5 KiB
JSON
110 lines
3.5 KiB
JSON
{
|
||
"schema": "planning-project-baselines/1.0",
|
||
"note": "handoff_bundle.py 读取本表填第 5 节「基线测试命令与输出」。命令取自 03-执行协议.md §五 命令速查与各项目实测;heavy=true 的条目默认不跑(--run-baseline 才执行)。加新项目时补一条即可,不要改脚本。",
|
||
"projects": {
|
||
"chunyu": {
|
||
"commands": [
|
||
{
|
||
"label": "前端类型/构建检查",
|
||
"cwd": "C:/Users/12914/Desktop/vscode/chunyu_project_react",
|
||
"cmd": "npm run build",
|
||
"timeout": 300,
|
||
"heavy": true,
|
||
"expect": "构建成功,无类型错误"
|
||
},
|
||
{
|
||
"label": "后端 Django 系统检查",
|
||
"cwd": "C:/Users/12914/Desktop/vscode/chunyu_project",
|
||
"cmd": "python manage.py check",
|
||
"timeout": 120,
|
||
"expect": "退出码 0 + 12 条 WARNING(真实基线 2026-09-11 打包实测:urls.W005 ×1 + models.W042 ×11);本卡只要求不新增告警"
|
||
}
|
||
]
|
||
},
|
||
"chunyu_backend": {
|
||
"commands": [
|
||
{
|
||
"label": "Django 系统检查",
|
||
"cwd": "C:/Users/12914/Desktop/vscode/chunyu_project",
|
||
"cmd": "python manage.py check",
|
||
"timeout": 120,
|
||
"expect": "退出码 0 + 12 条 WARNING(真实基线 2026-09-11 打包实测);不新增告警即可"
|
||
}
|
||
]
|
||
},
|
||
"englishdrill": {
|
||
"commands": [
|
||
{
|
||
"label": "E2E 套件(ASGI 进程内模式)",
|
||
"cwd": "C:/Users/12914/Desktop/english-drill",
|
||
"cmd": "python tests/e2e/run_e2e.py",
|
||
"timeout": 420,
|
||
"heavy": true,
|
||
"expect": "84/84 全绿"
|
||
}
|
||
]
|
||
},
|
||
"dealerhub": {
|
||
"commands": [
|
||
{
|
||
"label": "后端测试",
|
||
"cwd": "C:/Users/12914/Desktop/gj/dealerhub/backend",
|
||
"cmd": "python -m pytest -q",
|
||
"timeout": 420,
|
||
"heavy": true,
|
||
"expect": "460 passed, 4 skipped(4 个 skipped 是 PG 并发用例,D-02 处理)"
|
||
},
|
||
{
|
||
"label": "迁移检查",
|
||
"cwd": "C:/Users/12914/Desktop/gj/dealerhub/backend",
|
||
"cmd": "python manage.py makemigrations --check --dry-run",
|
||
"timeout": 120,
|
||
"expect": "No changes detected"
|
||
}
|
||
]
|
||
},
|
||
"dsp": {
|
||
"commands": [
|
||
{
|
||
"label": "后端测试(无 E2E 套件,以 backend/tests 为准)",
|
||
"cwd": "C:/Users/12914/Desktop/dsp/dsp/backend",
|
||
"cmd": "python -m pytest -q",
|
||
"timeout": 420,
|
||
"heavy": true,
|
||
"expect": "全绿(S-01 会补 E2E 套件)"
|
||
}
|
||
]
|
||
},
|
||
"dsh": {
|
||
"commands": [
|
||
{
|
||
"label": "服务端 pytest(独立测试库 postgres_test)",
|
||
"cwd": "C:/Users/12914/Desktop/dsh/server",
|
||
"cmd": ".venv/Scripts/python -m pytest -q",
|
||
"timeout": 420,
|
||
"heavy": true,
|
||
"expect": "55 passed"
|
||
}
|
||
]
|
||
},
|
||
"planning": {
|
||
"commands": [
|
||
{
|
||
"label": "调度器自检",
|
||
"cwd": "C:/Users/12914/Desktop/vscode/PLANNING",
|
||
"cmd": "python tasks.py list",
|
||
"timeout": 60,
|
||
"expect": "28 项,待派 N 项"
|
||
},
|
||
{
|
||
"label": "评估题库一致性审计",
|
||
"cwd": "C:/Users/12914/Desktop/vscode/PLANNING",
|
||
"cmd": "python evals/tools/run_eval.py --audit",
|
||
"timeout": 180,
|
||
"expect": "AUDIT: N/N structural checks passed"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|