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:
+16
-8
@@ -34,10 +34,13 @@ services:
|
||||
# Diagram inputs and generated engineering deliverables (Excel, CSV, Graph JSON)
|
||||
- ./uploads:/app/uploads
|
||||
- ./outputs:/app/outputs
|
||||
# Trained YOLO weights and models
|
||||
- ./training/outputs:/app/training/outputs:ro
|
||||
# Persistent cache for downloaded neural network weights (EasyOCR & PyTorch)
|
||||
- easyocr-models:/app/models/easyocr
|
||||
- torch-models:/app/models/torch
|
||||
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8501/_stcore/health"]
|
||||
interval: 30s
|
||||
@@ -45,14 +48,19 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
# ── Optional: Uncomment below for NVIDIA GPU acceleration ───────────────────
|
||||
# deploy:
|
||||
# resources:
|
||||
# reservations:
|
||||
# devices:
|
||||
# - driver: nvidia
|
||||
# count: all
|
||||
# capabilities: [gpu]
|
||||
# Hard cap on CPU/System RAM at 80% (6GB of available 7.57GB WSL2 RAM)
|
||||
mem_limit: 6g
|
||||
|
||||
# ── NVIDIA GPU acceleration with zero VRAM caps & 80% RAM limit ─────────────
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 6g
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
|
||||
volumes:
|
||||
easyocr-models:
|
||||
|
||||
Reference in New Issue
Block a user