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,75 @@
|
||||
{
|
||||
"summary": {
|
||||
"total_ground_truth_entities": 104,
|
||||
"total_true_positives": 104,
|
||||
"total_false_negatives": 0,
|
||||
"overall_recall_pct": 100.0,
|
||||
"overall_precision_pct": 76.47,
|
||||
"overall_f1": 0.8667
|
||||
},
|
||||
"confusion_matrix": {
|
||||
"EQUIPMENT": {
|
||||
"EQUIPMENT": 7,
|
||||
"VALVES": 0,
|
||||
"INSTRUMENTS": 0,
|
||||
"LINES": 0,
|
||||
"PSV": 0,
|
||||
"MISSED": 0,
|
||||
"EXTRAS": 0
|
||||
},
|
||||
"PSV": {
|
||||
"PSV": 2,
|
||||
"VALVES": 0,
|
||||
"INSTRUMENTS": 0,
|
||||
"EQUIPMENT": 0,
|
||||
"LINES": 0,
|
||||
"MISSED": 0,
|
||||
"EXTRAS": 0
|
||||
},
|
||||
"INSTRUMENTS": {
|
||||
"INSTRUMENTS": 20,
|
||||
"VALVES": 0,
|
||||
"EQUIPMENT": 0,
|
||||
"LINES": 0,
|
||||
"PSV": 0,
|
||||
"MISSED": 0,
|
||||
"EXTRAS": 2
|
||||
},
|
||||
"VALVES": {
|
||||
"VALVES": 40,
|
||||
"INSTRUMENTS": 0,
|
||||
"EQUIPMENT": 0,
|
||||
"LINES": 0,
|
||||
"PSV": 0,
|
||||
"MISSED": 0,
|
||||
"EXTRAS": 25
|
||||
},
|
||||
"LINES": {
|
||||
"LINES": 35,
|
||||
"INSTRUMENTS": 0,
|
||||
"VALVES": 0,
|
||||
"EQUIPMENT": 0,
|
||||
"PSV": 0,
|
||||
"MISSED": 0,
|
||||
"EXTRAS": 5
|
||||
}
|
||||
},
|
||||
"extra_breakdown": {
|
||||
"INSTRUMENTS": [
|
||||
"26-PIT-9077 (feeds PY-9077A/B override loop)",
|
||||
"26-FE-9058 (bypass orifice element on 2-PV-26-9058)"
|
||||
],
|
||||
"LINES": [
|
||||
"2-VA-26-9119-AS20S-00 (Atmospheric Vent)",
|
||||
"2-VA-26-9120-AS20S-00 (Atmospheric Vent)",
|
||||
"3/4-VA-26-9123-AC21-00 (Atmospheric Vent)",
|
||||
"3-VA-26-9121-AC21-00 (Atmospheric Vent)",
|
||||
"3-VA-26-9122-AC21-00 (Atmospheric Vent)"
|
||||
],
|
||||
"VALVES": [
|
||||
"26FV9076 (Anti-Surge Control Valve)",
|
||||
"XV-9010 (Cooling Water Actuated On-Off Valve)",
|
||||
"23 battery-limit, utility cooling-water, flare, and process drain/vent valves physically present on drawing"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user