feat(regulatory): 对齐附件4目录核查规则

This commit is contained in:
2026-06-07 09:27:42 +08:00
parent bbd2d3532a
commit 1bdc7322cf
15 changed files with 753 additions and 43 deletions

View File

@@ -11,3 +11,15 @@ def test_structure_check_reports_missing_instruction_sections():
assert any(finding.rule_code == "instructions_for_use:储存条件" for finding in findings)
assert all("样本要求" not in finding.title for finding in findings)
def test_structure_check_reports_missing_attachment4_outline_heading():
document_texts = {
"申报资料目录.txt": "1. 监管信息\n1.2 申请表\n2. 综述资料\n3. 非临床资料\n"
}
findings = run_structure_check(document_texts, load_rule_file())
missing = next(finding for finding in findings if finding.rule_code == "attachment4_4_clinical_evaluation")
assert missing.category == "structure"
assert missing.evidence["expected_title"] == "临床评价资料"