feat: Analyse propagation globale - 100% des *_GLOBAL et NOM_EXTRACTED sont des FP

This commit is contained in:
2026-03-02 11:01:14 +01:00
parent 4eba826ca5
commit dfa45041d7
6 changed files with 876 additions and 3 deletions

View File

@@ -0,0 +1,164 @@
{
"analysis_date": "2026-03-02",
"global_types_stats": [
{
"type": "NOM_GLOBAL",
"base_type": "NOM",
"tp": 0,
"fp": 670,
"fn": 0,
"precision": 0.0,
"base_tp": 506,
"base_fp": 0,
"base_precision": 1.0
},
{
"type": "TEL_GLOBAL",
"base_type": "TEL",
"tp": 0,
"fp": 77,
"fn": 0,
"precision": 0.0,
"base_tp": 193,
"base_fp": 8,
"base_precision": 0.9602
},
{
"type": "ADRESSE_GLOBAL",
"base_type": "ADRESSE",
"tp": 0,
"fp": 55,
"fn": 0,
"precision": 0.0,
"base_tp": 72,
"base_fp": 10,
"base_precision": 0.878
},
{
"type": "CODE_POSTAL_GLOBAL",
"base_type": "CODE_POSTAL",
"tp": 0,
"fp": 39,
"fn": 0,
"precision": 0.0,
"base_tp": 50,
"base_fp": 10,
"base_precision": 0.8333
},
{
"type": "ETAB_GLOBAL",
"base_type": "ETAB",
"tp": 0,
"fp": 36,
"fn": 0,
"precision": 0.0,
"base_tp": 0,
"base_fp": 0,
"base_precision": 0.0
},
{
"type": "EMAIL_GLOBAL",
"base_type": "EMAIL",
"tp": 0,
"fp": 28,
"fn": 0,
"precision": 0.0,
"base_tp": 62,
"base_fp": 0,
"base_precision": 1.0
},
{
"type": "DATE_NAISSANCE_GLOBAL",
"base_type": "DATE_NAISSANCE",
"tp": 0,
"fp": 20,
"fn": 0,
"precision": 0.0,
"base_tp": 114,
"base_fp": 0,
"base_precision": 1.0
},
{
"type": "VILLE_GLOBAL",
"base_type": "VILLE",
"tp": 0,
"fp": 10,
"fn": 0,
"precision": 0.0,
"base_tp": 5,
"base_fp": 20,
"base_precision": 0.2
},
{
"type": "EPISODE_GLOBAL",
"base_type": "EPISODE",
"tp": 0,
"fp": 9,
"fn": 0,
"precision": 0.0,
"base_tp": 18,
"base_fp": 106,
"base_precision": 0.1452
},
{
"type": "RPPS_GLOBAL",
"base_type": "RPPS",
"tp": 0,
"fp": 7,
"fn": 0,
"precision": 0.0,
"base_tp": 21,
"base_fp": 0,
"base_precision": 1.0
}
],
"nom_extracted_stats": {
"precision": 0.0,
"recall": 0.0,
"f1_score": 0.0,
"true_positives": 0,
"false_positives": 3846,
"false_negatives": 0
},
"recommendations": [
{
"priority": 1,
"title": "Désactiver les types *_GLOBAL inutiles",
"types": [
"NOM_GLOBAL",
"TEL_GLOBAL",
"ADRESSE_GLOBAL",
"CODE_POSTAL_GLOBAL",
"ETAB_GLOBAL",
"EMAIL_GLOBAL",
"DATE_NAISSANCE_GLOBAL",
"VILLE_GLOBAL",
"EPISODE_GLOBAL",
"RPPS_GLOBAL"
],
"impact": "Réduction de 951 FP",
"gain_precision": "+15.6 points",
"effort": "Faible",
"implementation": "Modifier la fonction de propagation globale pour exclure ces types"
},
{
"priority": 2,
"title": "Désactiver NOM_EXTRACTED",
"types": [
"NOM_EXTRACTED"
],
"impact": "Réduction de 3846 FP",
"gain_precision": "+62.9 points",
"effort": "Faible",
"implementation": "Commenter ou supprimer la logique d'extraction de noms"
}
],
"estimated_gain": {
"current_fp": 4951,
"estimated_fp": 154,
"fp_reduction": 4797,
"current_precision": 0.1897,
"estimated_precision": 0.8827113480578828,
"precision_gain": 0.6930113480578828
}
}