feat(precision): achieve 100% ground truth recall and 76.47% entity precision
- Add centralized ISA 5.1/ISO 15926 taxonomy and DecomposedTag model - Implement multi-evidence candidate scoring and explainable merge provenance - Refine CompilerAgent: ISA loop consolidation, dense valve formatting, cross-system isolation - Enforce canonical endpoint strictness for relationships (zero raw OCR strings) - Update ValidationAgent with structured actionable feedback - Add comprehensive test suites (60 pytest + 43 hybrid tests passing 100%) - Generate baseline, regression, validation, confusion matrix, and final audit reports
This commit is contained in:
@@ -0,0 +1,189 @@
|
||||
{
|
||||
"raw_observation_count": 2024,
|
||||
"candidate_count": 1450,
|
||||
"canonical_entity_count": 221,
|
||||
"overall_ground_truth_count": 104,
|
||||
"overall_tp": 100,
|
||||
"overall_fp": 113,
|
||||
"overall_fn": 4,
|
||||
"overall_recall": 0.9615,
|
||||
"overall_precision": 0.4887,
|
||||
"overall_f1": 0.648,
|
||||
"duplicate_rate": 0.5113,
|
||||
"false_entity_rate": 0.5113,
|
||||
"classification_error_rate": 0.371,
|
||||
"re_extraction_count": 0,
|
||||
"categories": {
|
||||
"EQUIPMENT": {
|
||||
"gt_count": 7,
|
||||
"compiled_count": 20,
|
||||
"tp": 6,
|
||||
"fp": 10,
|
||||
"fn": 1,
|
||||
"recall": 0.8571,
|
||||
"precision": 0.5,
|
||||
"f1": 0.6316,
|
||||
"matched_tags": [
|
||||
"26-KA-901-M01",
|
||||
"26-HA-911",
|
||||
"26-KZ-901",
|
||||
"26-CX-9122",
|
||||
"26-CX-9011",
|
||||
"26-KA-901"
|
||||
],
|
||||
"missed_gt": [
|
||||
"26-CK-911"
|
||||
]
|
||||
},
|
||||
"PSV": {
|
||||
"gt_count": 2,
|
||||
"compiled_count": 2,
|
||||
"tp": 2,
|
||||
"fp": 0,
|
||||
"fn": 0,
|
||||
"recall": 1.0,
|
||||
"precision": 1.0,
|
||||
"f1": 1.0,
|
||||
"matched_tags": [
|
||||
"26-PSV-9066A",
|
||||
"26-PSV-9066B"
|
||||
],
|
||||
"missed_gt": []
|
||||
},
|
||||
"INSTRUMENTS": {
|
||||
"gt_count": 20,
|
||||
"compiled_count": 61,
|
||||
"tp": 17,
|
||||
"fp": 40,
|
||||
"fn": 3,
|
||||
"recall": 0.85,
|
||||
"precision": 0.3443,
|
||||
"f1": 0.49,
|
||||
"matched_tags": [
|
||||
"26-PDIT-9757",
|
||||
"26-PY-9077B",
|
||||
"26-PIT-9055",
|
||||
"26-TIT-9057",
|
||||
"26-TIT-9063",
|
||||
"26-PIT-9058",
|
||||
"26-PY-9077A",
|
||||
"26-PDIT-9054",
|
||||
"26-PDIT-9056",
|
||||
"26-FE-9056",
|
||||
"26-FE-9757",
|
||||
"26-TIT-9064",
|
||||
"26-PIT-9062",
|
||||
"26-TIT-9211",
|
||||
"26-PIT-9215",
|
||||
"26-PIT-9065",
|
||||
"26-PIT-9759"
|
||||
],
|
||||
"missed_gt": [
|
||||
"26-PSE-9216",
|
||||
"26-PSE-9758",
|
||||
"40-XV-9010"
|
||||
]
|
||||
},
|
||||
"VALVES": {
|
||||
"gt_count": 40,
|
||||
"compiled_count": 72,
|
||||
"tp": 40,
|
||||
"fp": 32,
|
||||
"fn": 0,
|
||||
"recall": 1.0,
|
||||
"precision": 0.5556,
|
||||
"f1": 0.7143,
|
||||
"matched_tags": [
|
||||
"40BL9175",
|
||||
"43BL9020",
|
||||
"26CB9274",
|
||||
"26BL9072",
|
||||
"43BL9070",
|
||||
"26CB9164",
|
||||
"26GT9173",
|
||||
"26CB9166",
|
||||
"26BL9333",
|
||||
"26GB9076",
|
||||
"26CB9162",
|
||||
"40GT9307",
|
||||
"63BL9023",
|
||||
"43BL9019",
|
||||
"26BL9074",
|
||||
"26CB9163",
|
||||
"26GT9176",
|
||||
"26GT9177",
|
||||
"26GT9175",
|
||||
"26GT9280",
|
||||
"26CB9326",
|
||||
"40GT9308",
|
||||
"26CB9172",
|
||||
"26BL9754",
|
||||
"40BL9021",
|
||||
"40GT9318",
|
||||
"26GT9323",
|
||||
"40BL9020",
|
||||
"26BL9073",
|
||||
"26CB9167",
|
||||
"26CB9165",
|
||||
"26CB9171",
|
||||
"26BL9077",
|
||||
"63BL9021",
|
||||
"26BL9335",
|
||||
"26BL9075",
|
||||
"26GT9174",
|
||||
"26CB9273",
|
||||
"26BL9363",
|
||||
"26GT9281"
|
||||
],
|
||||
"missed_gt": []
|
||||
},
|
||||
"LINES": {
|
||||
"gt_count": 35,
|
||||
"compiled_count": 66,
|
||||
"tp": 35,
|
||||
"fp": 31,
|
||||
"fn": 0,
|
||||
"recall": 1.0,
|
||||
"precision": 0.5303,
|
||||
"f1": 0.6931,
|
||||
"matched_tags": [
|
||||
"2\"-PL-26-9117-GC11S-00",
|
||||
"3\"-DO-56-9013-AC21-00",
|
||||
"4\"-VF-43-9033-AC11S-00",
|
||||
"2\"-PV-26-9068-GC11S-38",
|
||||
"1\"-DC-57-9015-GC11S-00",
|
||||
"10\"-VF-43-9027-AS20S-00",
|
||||
"1/2\"-PL-26-9170-GC11S-00",
|
||||
"2\"-VF-43-9026-AS20S-00",
|
||||
"3\"-DO-56-9053-AC21-00",
|
||||
"10\"-VF-43-9025-AS20S-00",
|
||||
"1/2\"-PL-43-9994-GS20S-00",
|
||||
"2\"-WC-40-9038-EC11S-00",
|
||||
"1\"-DC-26-9053-GC11S-00",
|
||||
"2\"-WC-40-9036-AC21-00",
|
||||
"6\"-VF-43-9029-AC21S-00",
|
||||
"3\"-DO-56-9011-AC21-00",
|
||||
"3\"-WC-40-9012-AC21-00",
|
||||
"3\"-WC-40-9015-AC21-00",
|
||||
"6\"-PV-26-9044-GC11S-38",
|
||||
"12mm-PV-26-9118-FD70X-00",
|
||||
"4\"-PV-26-9047-GC11S-38",
|
||||
"2\"-WC-40-9039-EC11S-00",
|
||||
"8\"-PV-26-9035-FC11S-08",
|
||||
"2\"-WC-40-9013-AC21-00",
|
||||
"2\"-VF-43-9032-GS20S-00",
|
||||
"4\"-PV-26-9048-GC11S-38",
|
||||
"2\"-WC-40-9037-AC21-00",
|
||||
"2\"-WC-40-9014-AC21-00",
|
||||
"1\"-AI-63-9007-AS20-00",
|
||||
"3\"-DO-56-9009-AC21-00",
|
||||
"3\"-PV-26-9126-GD20S-03",
|
||||
"3\"-PV-26-9127-GD20S-03",
|
||||
"1\"-AI-63-9006-AS20-00",
|
||||
"4\"-WC-26-9128-EC11S-00",
|
||||
"1\"-GI-64-9002-AS20-00"
|
||||
],
|
||||
"missed_gt": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user