Spaces:
Paused
Download GETTING_STARTED.md from Rachel7/hvac_fable: direct link, hf CLI and curl.
- Browser
- Download file 9.69 kB
-
https://huggingface.co/spaces/Rachel7/hvac_fable/resolve/main/GETTING_STARTED.md
- Command line
-
hf download hf://spaces/Rachel7/hvac_fable/GETTING_STARTED.md
-
curl -L -o GETTING_STARTED.md https://huggingface.co/spaces/Rachel7/hvac_fable/resolve/main/GETTING_STARTED.md
Getting Started: HVAC Blueprint Analyzer Research Plan
Date: June 2026
Status: Ready to begin Phase 3 (Experimental Evaluation)
What Just Happened
You now have a complete research-to-publication plan for converting your HVAC Blueprint Analyzer CLI tool into a publishable paper. Here's what was created:
π Six Planning Documents (Total: ~70 KB)
| Document | Purpose | Key Output |
|---|---|---|
| RESEARCH_FOUNDATION.md | Literature review & positioning | 100+ citations, novelty statement |
| RESEARCH_UPDATE.md | Newly discovered papers | 7 papers grounding your methodology |
| CODE_IMPROVEMENTS.md | Research-backed enhancements | 9 improvements, code examples, effort estimates |
| INTEGRATED_PLAN.md | Master plan | 18 tasks, 3.5-month timeline, dependencies |
| PAPER_OUTLINE.md | Paper template | Section-by-section structure, placeholders |
| PUBLICATION_ROADMAP.md | Execution phases | 7 phases from research to submission |
β 18 Tasks Created (With Dependencies)
All tasks are in the Cowork task system with clear dependencies:
Phase 3: Baseline Metrics (#1)
β
Code Improvements (#2-9)
β
Testing & Validation (#10)
β
Paper Writing (#11-16)
β
Open Source + Submission (#17-18)
π Updated Main README
The project's README.md now links to all research documents and explains the publication roadmap upfront.
Your Next Steps (This Week)
Priority 1: Understand the Plan
Read these in order (30 min total):
β³ INTEGRATED_PLAN.md β 10 min read
- Understand the 18-task workflow
- See timelines and milestones
- Identify any blockers upfront
β³ CODE_IMPROVEMENTS.md β Priority 1 section only (10 min)
- Tasks #2-4 (Rotation preprocessing, Confidence tracking, Equipment lookup)
- Understand effort estimates and code examples
β³ RESEARCH_FOUNDATION.md β Section 9 (10 min)
- Your paper's positioning vs. AHMsys, BergstrΓΆm, Zhang, etc.
- Why your approach is novel
Priority 2: Assess Your Current Data
Before starting Phase 3, answer these questions:
Do you have 10-30 diverse blueprints? (Different architects, eras, quality levels)
- If no: Source them this week
- If yes: Select representative 10-20 for baseline evaluation
Do you have manual annotations for ground truth? (Correct schedules + tag locations)
- If no: Plan to manually annotate 30 min per blueprint
- If yes: Format as JSON for evaluation script
Is your equipment reference sheet complete? (Mitsubishi_Daikin_Indoor_HVAC_Units_v1.xlsx)
- Check: What % of model numbers in your data match existing prefixes?
- Gap = opportunity for Task #9 (model validation improvement)
Gemini API cost: How much budget do you have?
- Tiered approach targets 82% cost reduction vs. Gemini-only
- Verify your .env has GEMINI_API_KEY set
Understanding the Research Grounding
Your code improvements are not arbitrary. Each is grounded in published 2024-2025 research:
Priority 1 Tasks
Task #2 (Rotation Preprocessing):
- Research: BergstrΓΆm et al. (2025) β "Optimizing Text Recognition in Mechanical Drawings"
- Claim: 15-20% improvement in OCR success on rotated text
- Implementation: Use Tesseract OSD (orientation detection) + CLAHE enhancement
Task #3 (Confidence Tracking):
- Research: Chen et al. (2024) + Devulapalli & Kumar (2024)
- Claim: Confidence-based routing beats single-stage methods
- Implementation: ExtractionResult class with escalation thresholds
Task #4 (Equipment Reference Lookup):
- Research: AHMsys (2024) + Zou et al. (2023)
- Claim: 10-15% recovery of missing unit types via prefix matching
- Implementation: Longest-prefix matching against Excel sheet
Why This Matters for Your Paper
When you write Section 5 (Evaluation) of the paper, you'll be able to say:
"Prior work shows that rotation-aware preprocessing improves OCR on mechanical drawings by 15-20% (BergstrΓΆm 2025). Our implementation achieves [X]% improvement on the same baseline dataset, validating the approach."
This is publishable research, not just code improvements.
Timeline & Effort Summary
| Phase | Timeline | Effort | Key Deliverable |
|---|---|---|---|
| Phase 3 | Weeks 1-2 | 10-15 hrs | baseline_metrics.json |
| Code Improvements | Weeks 2-4 | ~21 hrs | 9 new/modified modules |
| Testing & Validation | Weeks 4-5 | 5-10 hrs | improvement_metrics.json |
| Paper Writing | Weeks 5-8 | 30-40 hrs | Full 8-page draft |
| Review & Polish | Weeks 8-9 | 10-15 hrs | Polished draft |
| Open Source | Week 9 | 4-6 hrs | GitHub repo |
| Submission | Week 10 | 2-4 hrs | Paper submitted |
Total: ~85-105 hours over 10 weeks (roughly 2.5 hours/day if working full-time on this)
Recommended Starting Point
This Week: Start Task #1 (Phase 3 Baseline Metrics)
What to do:
Collect 10-20 representative blueprints
- Different architects/regions if possible
- Mix of quality levels (clear scans + degraded scans)
- Save to:
raw_pdfs/folder
Create ground truth annotations (JSON format)
{ "file": "building_name_mechanical_100%.pdf", "schedule_page": 29, "units": [ {"tag": "AC-A", "qty": 2, "type": "Wall Mounted", "model": "FXAQ09PVJU", "brand": "Mitsubishi"}, {"tag": "AC-B", "qty": 1, "type": "Ceiling Cassette", "model": "PLFY12BAC", "brand": "Daikin"} ], "floor_plans": [ {"page": 3, "floor": "01", "detected_units": [{"tag": "AC-A", "coords": [100, 200]}, ...]} ] }Run current pipeline on these blueprints
python analyze_blueprint.py "raw_pdfs/building.pdf" --yesCollect baseline metrics (save to
baseline_metrics.json)- How many tags extracted at Tier 1, 2, 3, 4?
- Average confidence per tier
- Total Gemini API calls
- Latency per tier
Compare vs. ground truth
- Which extractions are wrong?
- Where did we escalate to Tier 4 unnecessarily?
Key Files You'll Be Working With
Code Files to Modify/Create:
hvac_pipeline/
βββ analyze_blueprint.py # Main entry (modify for metrics collection)
βββ extract_schedule_robust.py # Schedule extraction (add confidence tracking)
βββ reconcile_schedule_vs_plans.py # Reconciliation (add cross-page boost)
βββ preprocess_for_ocr.py # NEW: Rotation preprocessing
βββ equipment_reference.py # NEW: Reference sheet lookup
βββ page_classifier.py # NEW: Page classification
βββ metrics.py # NEW: Metrics collector
Documentation Files (For Reference):
βββ RESEARCH_FOUNDATION.md # 100+ citations, positioning
βββ CODE_IMPROVEMENTS.md # 9 enhancements with code examples
βββ INTEGRATED_PLAN.md # 18-task master plan
βββ PAPER_OUTLINE.md # Paper template with sections
βββ PUBLICATION_ROADMAP.md # 7-phase timeline
Questions? Check These First
"How do I understand what my novelty is?" β Read: RESEARCH_FOUNDATION.md, Section 9 (Novelty & Positioning)
"What code should I write first?" β Read: CODE_IMPROVEMENTS.md, Priority 1.2 (Confidence tracking unblocks metrics)
"What goes in the paper?" β Read: PAPER_OUTLINE.md (section-by-section template with placeholders)
"What's the complete timeline?" β Read: INTEGRATED_PLAN.md (18 tasks with dependencies, 10-week schedule)
"What research papers should I cite?" β Read: RESEARCH_FOUNDATION.md, Section 11 (organized bibliography)
Success Metrics
By End of Week 2:
- β Task #1 complete: baseline_metrics.json showing Tier 1-4 performance
- β Ground truth annotations ready for 10-20 blueprints
- β You understand your novelty vs. 7 key papers
By End of Week 4:
- β Tasks #2-9 implemented (all code improvements)
- β Code tested on same dataset as Task #1
By End of Week 5:
- β improvement_metrics.json showing before/after comparison
- β Data ready to populate paper's Evaluation & Results sections
By End of Week 8:
- β Full 8-page draft (all sections written)
- β Ready for internal review
By End of Week 10:
- β Paper submitted to target venue (ICDAR or alternative)
- β Code released on GitHub
Final Checklist Before Starting
- Read INTEGRATED_PLAN.md (understand the 18 tasks)
- Read CODE_IMPROVEMENTS.md Priority 1 section (understand effort)
- Read RESEARCH_FOUNDATION.md Section 9 (understand your novelty)
- Verify GEMINI_API_KEY is set in .env
- Have 10-20 representative blueprints ready
- Know how you'll create ground truth annotations
- Review PAPER_OUTLINE.md to see what results you'll need
You're Ready!
You have:
- β Complete research foundation (100+ citations)
- β Clear code improvements (9 tasks, 21.5 hours)
- β Paper template (section-by-section outline)
- β Master plan (18 interdependent tasks)
- β Timeline (3.5 months to submission)
Next action: Start Phase 3 (Task #1).
Gather baseline metrics on your representative blueprint dataset. Everything else depends on this.
Good luck! π
For questions or clarifications, refer to the appropriate planning document listed above. All documents are in the hvac_project/ root folder.