rdmbair15m5-changelog-20260822-2009-rddb-135-tests-and-ocr-llm-gate-passed
rdmbair15m5-changelog-20260822-2009-rddb-135-tests-and-ocr-llm-gate-passed
- Scope:
rdmbair15m5(test runner, Vision OCR, local LLM, hashing/dedup, rule engine) &rdmsm4x:~/dev/apps/rdDB. - Summary: 135 automated unit, integration, and scenario tests passed cleanly (100% pass rate in 7.66s) spanning Apple Vision OCR text extraction, local LLM fallback interfaces, batch hashing/dedup, rule engine classification, and hard gate fleet quarantine.
Test Verification Breakdown (135 Tests / 0 Failures)
- Apple Vision OCR
(
VisionOCRTests.swift): 3 passed- Native
VNRecognizeTextRequesttext extraction from synthetic PNG image fixtures. - Scanned PDF page rendering to
CGImageand OCR text extraction. - Integration into
DocumentExtractor.
- Native
- Local LLM Classifier
(
LocalLLMTests.swift): 3 passed- Clean JSON extraction and structured 5-level taxonomy parsing.
- Markdown-fenced JSON payload parsing.
- Offline graceful fallback to rule engine/heuristics.
- Hard Gate Safety & Quarantine
(
HardGateSafetyTests.swift): 5 passed- Verified APFS bit-for-bit CoW identity.
- Verified cloud stub dataless safety.
- Verified database sandbox isolation and fleet distribution quarantine.
- Rule Engine & Classification
(
RuleEngineAndClassificationTests.swift): 4 passed- Pre-populated default rule catalogue across Arista, Cisco, Juniper, Palo Alto, Swift, Cloud, and Finance.
- Rule-based bulk re-classification transitions files from generic
CANDIDATEtoINFERRED/VERIFIED.
- E2E Feature, Stress & Concurrency Suites: 120
passed
- Multi-source connectors (Notes, Mail, Safari, Chrome, Office XML).
- Batch hashing transactions and APFS reclaim accounting.