128 lines
4.8 KiB
JSON
Executable File
128 lines
4.8 KiB
JSON
Executable File
{
|
|
"objective": "Completed Ortholog/PPI/KaKs stages are removed before regular gene-family planning text and confirmation UI without weakening stage identity",
|
|
"project_root": "/data/project_roots/PlantAI-dev",
|
|
"data_policy": "representative_light",
|
|
"full_data_required": false,
|
|
"full_data_triggers": [],
|
|
"tasks": [
|
|
{
|
|
"id": "R1",
|
|
"requirement": "Planning completion lookup inherits a successful stage-owned technical reference only when the new request leaves it unspecified",
|
|
"files": [
|
|
"apps/web/vue3/main.py",
|
|
"tests/unit/test_task_status_attachment.py"
|
|
],
|
|
"checks": [
|
|
{
|
|
"id": "unit",
|
|
"level": "L2",
|
|
"command": [
|
|
"/home/xia-lab/miniconda3/envs/test4py311/bin/python",
|
|
"-m",
|
|
"pytest",
|
|
"-q",
|
|
"tests/unit/test_task_status_attachment.py"
|
|
],
|
|
"expected_exit_code": 0,
|
|
"assertions": [
|
|
"successful implicit-reference PPI KaKs and Ortholog are pruned",
|
|
"explicit different reference failed partial and forced rerun stages remain",
|
|
"ordinary target-only identity behavior is unchanged"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "R2",
|
|
"requirement": "The shared planning change does not regress subfamily RNA-seq PPI reference policy or frontend planning contracts",
|
|
"files": [
|
|
"tests/e2e/test_completed_stage_pruning_real_job.py",
|
|
"tests/e2e/test_completed_stage_pruning_playwright.py"
|
|
],
|
|
"checks": [
|
|
{
|
|
"id": "regression",
|
|
"level": "L3",
|
|
"command": [
|
|
"/home/xia-lab/miniconda3/envs/test4py311/bin/python",
|
|
"-m",
|
|
"pytest",
|
|
"-q",
|
|
"tests/unit/test_subfamily_prediction_plan.py",
|
|
"tests/unit/test_rnaseq_context.py",
|
|
"tests/unit/test_ppi_frontend_display_contract.py",
|
|
"tests/unit/test_stage_status_subfamily_routes.py"
|
|
],
|
|
"expected_exit_code": 0,
|
|
"assertions": [
|
|
"subfamily planning remains unchanged",
|
|
"RNA-seq planning remains unchanged",
|
|
"PPI reference labels and strict scoped status remain unchanged"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"overall_checks": [
|
|
{
|
|
"id": "real-job",
|
|
"level": "L4_DATA",
|
|
"command": [
|
|
"/home/xia-lab/miniconda3/envs/test4py311/bin/python",
|
|
"tests/e2e/test_completed_stage_pruning_real_job.py",
|
|
"--base-url",
|
|
"http://127.0.0.1:9000",
|
|
"--job-id",
|
|
"job_1783700025072_1098d0",
|
|
"--output-dir",
|
|
"test-results/completed-stage-pruning/real-job"
|
|
],
|
|
"expected_exit_code": 0,
|
|
"assertions": [
|
|
"real successful PPI manifest is matched through its soe technical reference identity",
|
|
"PPI is absent from the regular plan while pending stages remain",
|
|
"the API reports PPI in completed_stages and preserves target Ft family SPL"
|
|
],
|
|
"evidence_paths": [
|
|
"test-results/completed-stage-pruning/real-job/result.json",
|
|
"test-results/completed-stage-pruning/real-job/input-manifest.json",
|
|
"test-results/completed-stage-pruning/real-job/api-response.json",
|
|
"test-results/completed-stage-pruning/real-job/artifact-plan-stages.json"
|
|
],
|
|
"result_path": "test-results/completed-stage-pruning/real-job/result.json"
|
|
},
|
|
{
|
|
"id": "browser-journey",
|
|
"level": "L4_E2E",
|
|
"command": [
|
|
"/home/xia-lab/miniconda3/envs/test4py311/bin/python",
|
|
"tests/e2e/test_completed_stage_pruning_playwright.py",
|
|
"--base-url",
|
|
"http://127.0.0.1:9000",
|
|
"--job-id",
|
|
"job_1783700025072_1098d0",
|
|
"--output-dir",
|
|
"test-results/completed-stage-pruning/browser"
|
|
],
|
|
"expected_exit_code": 0,
|
|
"assertions": [
|
|
"the browser-visible planning summary omits completed PPI",
|
|
"the batch confirmation stage list omits completed PPI",
|
|
"the browser request API logs manifest artifacts status and replan evidence agree"
|
|
],
|
|
"evidence_paths": [
|
|
"test-results/completed-stage-pruning/browser/result.json",
|
|
"test-results/completed-stage-pruning/browser/ui.json",
|
|
"test-results/completed-stage-pruning/browser/api.json",
|
|
"test-results/completed-stage-pruning/browser/log.txt",
|
|
"test-results/completed-stage-pruning/browser/manifest.json",
|
|
"test-results/completed-stage-pruning/browser/artifacts.json",
|
|
"test-results/completed-stage-pruning/browser/status.json",
|
|
"test-results/completed-stage-pruning/browser/replan.json",
|
|
"test-results/completed-stage-pruning/browser/confirmation.png"
|
|
],
|
|
"result_path": "test-results/completed-stage-pruning/browser/result.json"
|
|
}
|
|
]
|
|
}
|