qshub / api /routers /extraction.py

Commit History

8 days ago

  1. Harden security (XFF + header-only auth), fix windows mm->m bug, add email verification for new accounts, BOQ revisions, non-blocking worker extraction, extraction tests & root cleanup

    01d5a04
  2. fix: structural cm/mm unit normalization, exact per-floor column counting/merging, and G+1 roof column isolation

    379e9bd
  3. fix: hybrid AI+deterministic page classification, strict openings/glazing take-off, QS internal plaster rule, and floor-height propagation

    a08aa20
  4. perf: fix CAD table extraction freeze, key-first top-accuracy model rotation, and safe concurrent AI extraction

    0b24215
  5. fix: complete security hardening, QTO accuracy/BOQ fixes, rate limiting, and frontend lint/build cleanup

    f1477fe

  1. Fix classification syntax bug + preserve 4000 char page text + enrich UAE drawing keywords + fall back to PDF text re-extraction

    0f3ab13

  1. feat: Added stair-room toggle, graphical tables for doors/windows, and cross-floor sanity checks

    eedc61d

  1. Fix UI styling for Dashboard start project, update QTO extraction pipeline logic, add PyMuPDF fallback for columns and OCR for floor heights

    8682034
  2. Fix extraction silent errors, update missing values fallback

    2e4b939
  3. fix: silent bugs including empty pdf, vector measure bounds, tie beam mismatch, lazy imports, and dead code

    55bfa94
  4. fix: implement geometric fallbacks, bullshit filters, and column fallbacks to restore villa_qto stability

    ed3818a
  5. fix: reduce max_workers to 1 in extraction to prevent Gemini 429 quota exhaustion

    8d2d2cb

  1. Implement Structural Accuracy Overhaul: Vector engine, Sanity checks, Dedicated extractors

    a84b04f
  2. perf: eliminate Step 3 hangs by shrinking max PNG DPI to 50 for all blueprints, preventing massive network timeouts when sending images to Gemini. Increased concurrent extraction workers to 8 to slash processing time.

    19a1eb3
  3. fix: entirely bypass massive Numpy/PIL conversions in Step 3 AI Extraction by feeding raw cached images directly to Gemini. Fixes OOM memory thrashing freezing at 5%

    1e5a9d2
  4. fix: revert max_workers to 2 to prevent catastrophic OOM crash and infinite heartbeat loop on Free Tier

    4751dad
  5. perf: Optimize API speed by massively increasing multithreading concurrency for uploads and AI extraction

    d8c52b3
  6. fix: SSE connection timeouts on Render by adding a 15-second keep-alive loop to AI extraction

    bcdb64b
  7. Fix Internal Blockwork: disable CV internal wall override to use accurate mathematical length; separate 10cm and 20cm blocks in UI and BOQ

    c91deb8
  8. Reduce ThreadPoolExecutor max_workers to 2 in extraction and classification to prevent Out-Of-Memory (OOM) crashes on Render free tier

    3e92a67
  9. Fix SSE event loop blocking by converting async generator to sync generator

    2b94dd7
  10. Implement SSE real-time percentage progress for extraction to prevent Render timeouts

    0887c00

  1. THE QS HUB v2.0 - Complete React + FastAPI Platform (clean deploy)

    1b4b6d2