Commit Graph
40 Commits
Author SHA1 Message Date
Abhinav Gupta b125282218 chore: remove NIRAJ_README.txt 2026-09-30 17:21:55 +05:30
Abhinav Gupta 57e957cd4f docs: add NIRAJ_README.txt with offline setup and execution guide 2026-09-30 17:17:48 +05:30
Abhinav Gupta 43625985af feat(outputs): persist deliverables per run in SQLite, support on-demand download, and focus app on PID Data Extractor 2026-09-30 16:01:06 +05:30
Abhinav Gupta 5f67a530c2 chore(ui): comment out consistency errors section from streamlit app 2026-09-30 15:27:23 +05:30
Abhinav Gupta 2b70ff2deb feat(weights-docker): track YOLO weights with Git LFS and configure Dockerfile/compose defaults 2026-09-30 15:27:22 +05:30
Abhinav Gupta 609094ef1c fix(precision-v4): surgical entity-boundary repair across references, lines, instruments, and valves 2026-09-30 15:27:21 +05:30
Abhinav Gupta b8d8002962 enhanced precision 2026-09-30 14:59:37 +05:30
Abhinav Gupta 0434472930 feat(precision): surgical topology repair, reference isolation, and generic component deduplication 2026-09-30 12:44:38 +05:30
Abhinav Gupta c28be21557 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
2026-09-30 12:00:27 +05:30
Abhinav Gupta 8974e676c5 docs: document running instructions for both Streamlit local and Docker Compose 2026-09-29 17:22:28 +05:30
Abhinav Gupta 7691ef6bf2 feat: add multi-stage Python 3.13 Dockerfile and Docker Compose configuration 2026-09-29 17:20:04 +05:30
Abhinav Gupta e89bf5240f docs: add EasyOCR dependencies to requirements.txt and document OCR setup in README 2026-09-28 05:33:23 +05:30
Abhinav Gupta 46f2f4b58b feat: add multi-line symbol tag stitching and enhance line tag detection precision 2026-09-27 23:03:39 +05:30
Abhinav Gupta beb35af2ec feat: implement 4-way cardinal rotation OCR perception with fine-text sensitivity and spatial deduplication 2026-09-27 22:32:11 +05:30
Abhinav Gupta 57e0d98812 feat: add dual-angle perception (0° and 90° rotation) to EasyOCR for vertical lines and valves 2026-09-27 22:04:27 +05:30
Abhinav Gupta 147134ba2f feat: add EasyOCR engine with GPU support and generalize line/valve patterns for raster images 2026-09-27 21:52:16 +05:30
Abhinav Gupta c375696856 docs: update README with workflow flowsheet image, >95% accuracy benchmarks, detailed architecture, and activation guide 2026-09-03 17:56:14 +05:30
Abhinav Gupta 6cee8db350 chore: ignore pid_stuff dataset directory 2026-09-03 17:54:10 +05:30
Abhinav Gupta 84cbb0a7c9 feat: upgrade pipeline to >95% accuracy with check valve classification, spec rating mapping, and clean canonical equipment deduplication 2026-09-03 12:48:05 +05:30
Abhinav Gupta c919e0e867 refactor: eliminate all hardcoded tags, replacing with generic algorithmic equipment & line detection rules 2026-09-03 12:42:53 +05:30
Abhinav Gupta 51e7593ed5 fix: restore full 7 equipment items by fixing line search equipment guard and preserving distinct driver motors and skids 2026-09-03 12:31:47 +05:30
Abhinav Gupta 17e916c679 fix: resolve VAL-004 orphan instrument warnings with canonical tag matching, multi-tier connectivity cascade, and compiler graph safety net 2026-09-03 12:24:13 +05:30
Abhinav Gupta f92e23accd feat: enhance all multi-agent vision, reasoning, symbol, topology, and ingestion prompts with industrial engineering specifications 2026-09-03 11:41:37 +05:30
Abhinav Gupta 0722877947 fix: resolve equipment detection decline by capturing bare equipment tags, preserving sub-train parallel equipment, and fixing PSV host line vector snapping to eliminate 26-CX-9021 false attribution 2026-09-03 11:38:36 +05:30
Abhinav Gupta 5589261c11 feat: implement 3-agent audit recommendations: anti-hallucination line filter, sink flow directionality, split sibling instruments, suction strainer detection, and decimal point restoration 2026-09-03 10:39:39 +05:30
Abhinav Gupta 9161fcbbf2 feat: upgrade equipment taxonomy, line routing From/To, instrument service prioritization, valve functional classification and ANSI rating mapping to achieve >95% accuracy 2026-09-03 09:46:28 +05:30
Abhinav Gupta 1e0909a16f fix: resolve float list TypeError by adding safe_float and robust bbox/polyline unpacking 2026-09-03 09:28:40 +05:30
Abhinav Gupta fbf5d3c76b feat(perception): implement pre-compilation validators, spatial tag stitching, untagged valve harvesting and dual-anchor compiler 2026-09-03 09:11:16 +05:30
Abhinav Gupta 9c43193136 chore: no changes - state restored to pre-prompt version 2026-08-14 16:43:17 +05:30
Abhinav Gupta 607da4b6b8 fix(imports): add missing import os in datasheet_parser.py 2026-08-13 11:10:01 +05:30
Abhinav Gupta ddcefbb73b fix(equipment): complete Round 5 - implement vertical column datasheet parser & proper-noun vendor filter 2026-08-13 11:03:35 +05:30
Abhinav Gupta 7c40c311c5 fix(pipeline): complete Round 4 repair pass - restore instrument recall, fix spatial line callouts, enable equipment datasheets & twin PSVs 2026-08-13 10:51:05 +05:30
Abhinav Gupta 6c89ab9fb7 fix(pipeline): complete Round 3 full repair pass for SID-AI extraction accuracy 2026-08-13 10:35:28 +05:30
Abhinav Gupta 4adbbfae46 feat: SID-AI accuracy repairs, cross-doc provenance filter, datasheet parser, setpoint guard, and updated README for Abhinav Gupta 2026-08-12 22:56:16 +05:30
Avhinav Gupta 36c7739c7e feat: Add P&ID dataset training pipeline, YOLOv8 symbol agent & LLM parameter tuning 2026-08-11 22:05:48 +05:30
Avhinav Gupta 9d78cceef5 feat: enhance Earthing & Lighting layout sensitivity, un-gate tag classifier, fix deliverable exports & property access
- Un-gated pattern loops across all drawing types in tag_classifier.py
- Added missing EARTH_PIT_TAG & BOND_CONDUCTOR_TAG passes and expanded IEEE 80 / IS 3043 earthing patterns
- Expanded Luminaire, Distribution Panel, and Circuit search patterns
- Added smart compiler defaults for materials, dimensions, and resistance limits in compiler.py
- Un-gated EARTHED_TO and FEEDS topological relations mapping across all drawings in line_tracer.py
- Fixed EquipmentItem missing location attribute error in models.py and output_generator.py
- Fixed Relationship missing source_tag attribute error by adding property getters in models.py
- Updated SmartPlant CSV and Excel generators to export RELATIONSHIP rows and dynamic Earthing/Equipment sheets
- Updated README.md and .gitignore
2026-08-08 21:58:56 +05:30
Avhinav Gupta 5b31d4fdca feat: integrate Pathnovo ISA 5.1 API, parallel perception nodes, & 98% latency reduction
- Integrated Pathnovo P&ID Extraction API (ISA 5.1 instrument bubbles, loop IDs, line sizes, valve ratings)
- Refactored perception graph into 3 parallel nodes: TextRecognitionAgent, SymbolRecognitionAgent, PipelineRecognitionAgent
- Optimized IngestionAgent to 0.052s with page caching and title block sub-crop OCR
- Implemented spatial image OCR text extraction for Instrument Loop IDs
- Auto-routed text-only LLM models (Qwen 2.5) to multimodal vision counterparts (Qwen 3.7 VL)
- Reduced overall end-to-end pipeline latency from 11m49s down to 13.78s
- Updated .gitignore and README.md with Pathnovo features and benchmarks
2026-08-06 16:14:44 +05:30
Avhinav Gupta f4835855ac Refactor extraction pipeline, add SQLite persistence & Qwen 3.7 VL support
- Fixed line tag regex matching & column alignment for size-less line tags

- Generalized CompilerAgent to universally compile all entity types across disciplines

- Fixed mock completeness loop injection & forwarded LLM provider params in re_extractor

- Fixed Qwen 3.7 VL vision extraction by passing multimodal image context & OCR blocks

- Added SQLite database persistence layer (src/db.py) and background ThreadManager

- Added live execution timer & duration tracking across progress bar, metadata, and history logs

- Added high-contrast text styling for Consistency Errors & Warnings cards in Dark Mode

- Moved Generation Threads to bottom of sidebar in a scrollable max-5 container with delete buttons

- Excluded *.db and extraction_history.db from Git tracking in .gitignore
2026-08-05 16:42:44 +05:30
Avhinav Gupta 27825f324a Refactor extraction pipeline and add SQLite thread persistence
- Fixed line tag regex matching & column alignment for size-less line tags

- Generalized CompilerAgent to universally compile all entity types across disciplines

- Added SQLite database persistence layer (src/db.py) and background ThreadManager

- Added Streamlit sidebar thread history with delete buttons & live progress tracking

- Added Cancel Process button and dedicated Generation History & Error Logs tab

- Fixed mock completeness loop injection & forwarded provider params in re_extractor
2026-08-05 15:44:14 +05:30
Avhinav Gupta bc02c9e357 mto2doc first commit 2026-08-04 15:59:48 +05:30