Atharv1705
|
1074a112e8
|
Refactor LayoutFingerprintEngine and fix Shop Drawing Matrix formatting
- Introduce LayoutFingerprintEngine for topological hashing
- Remove KitchenLayoutClassifier overrides in pipeline
- Update MatrixBuilder to use the new FingerprintEngine
- Fix Cover Page layout (Appliance Schedule, Revision block, Finish box)
- Fix Matrix Page alignment, font hierarchy, and border widths
|
2026-07-01 16:44:00 +05:30 |
|
prajwalabhang1
|
9902cbc1f3
|
feat: production-grade AI cabinet estimation pipeline
- core/ai_vision_classifier.py: Claude 3.5 Sonnet Vision API integration
with retry logic, JSON recovery, and GPT-4o backup validation
- core/cabinet_validator.py: rule-based sanity checker (width snapping,
ADA height, room width, consecutive corner checks, auto-corrections)
- core/price_matcher.py: EUR price list -> USD with fuzzy width matching
and 3-tier pricing support; fallback USD catalog for offline use
- core/unit_counter.py: floor plan unit type counter + manual override
- core/job_costing.py: algebraic selling price formula
SP = Pre-Margin / (1 - GP% - Commission% - Bond%)
- core/dimension_parser.py: fixed bracket [14'] parsing, tightened range
validation, dual metric/imperial cross-validation
- generators/cabinet_excel.py: data-driven Excel (Project Info, Matrix,
Library, Job Costing, Shop Drawing sheets) for any project
- generators/shop_drawing_pdf.py: 17x11 landscape ItalianKB-style PDF
with cover page, unit matrix, per-elevation cabinet schedules
- pipeline.py: master CLI orchestrator (--skip-ai, --unit, --dry-run)
- projects/casa_familia/project_config.json: Casa Familia config (5 units)
- projects/heritage_village/project_config.json: Heritage Village (14 units)
- data/cabinet_library.json: standard catalog (26 SKUs, mm + inches)
- test_all.py: 33/33 validation tests passing
- outputs/: Heritage Village 16-page PDF + Excel; test outputs
- .gitignore: excludes .env, __pycache__, IDE files
All tests: 33/33 PASS
End-to-end: Heritage Village pipeline completes in 2.7 seconds
|
2026-06-18 16:18:26 +05:30 |
|