tests: alias DLBCL + garde-fou Trackare + e2e PDFs réels + gold CRH + benchmark enrichi
- 11 tests unitaires : TestAliasAndConclusionBonus (7) + TestTrackareSymptomGuard (4) - Tests e2e sur PDFs réels (skip si absent) : méningite A87.0 + DLBCL C83.3 top1 - Gold CRH enrichi : 5 cas (2 réels ajoutés : 115_23066188, 132_23080179) - Benchmark synthese : récupération conclusion depuis source_excerpt des DAS/traitements - .gitignore : protection anti-PHI (real_crh_pdfs/, data/crh_samples/*.pdf) - docs/PHI_POLICY.md : 7 règles de sécurité PHI - Rapports debug : case 132 REVIEW (garde-fou actif), top errors, DIM pack 1043 tests passent, 0 régression. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
40
docs/gold_debug/case_115_23066188.json
Normal file
40
docs/gold_debug/case_115_23066188.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"case_id": "115_23066188",
|
||||
"document_type": "trackare",
|
||||
"gold": {
|
||||
"dp_expected": {
|
||||
"code": "A87.0",
|
||||
"label": "Méningite à entérovirus"
|
||||
},
|
||||
"dp_acceptable_codes": [],
|
||||
"dp_acceptable_family3": [
|
||||
"A87"
|
||||
],
|
||||
"allow_symptom_dp": false,
|
||||
"confidence": "probable"
|
||||
},
|
||||
"prediction": {
|
||||
"chosen_code": "A87.0",
|
||||
"chosen_term": "Méningite à entérovirus",
|
||||
"verdict": "CONFIRMED",
|
||||
"confidence": "high",
|
||||
"reason": "DP Trackare — source d'autorité",
|
||||
"review_reason_tag": "other",
|
||||
"evidence": [
|
||||
"Source: Trackare (codage établissement)"
|
||||
],
|
||||
"evidence_count": 1
|
||||
},
|
||||
"pool_stats": {
|
||||
"raw_pool_size": 6,
|
||||
"filtered_pool_size": 0,
|
||||
"topk_size": 0
|
||||
},
|
||||
"top_candidates": [],
|
||||
"match_eval": {
|
||||
"strict_match": true,
|
||||
"acceptable_match": true,
|
||||
"family3_match": true,
|
||||
"symptom_not_allowed": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user