KV CompLens is not a valuation chatbot. It is a deterministic comparable-evidence workflow that helps an analyst build, review, explain, and export a residential comp-analysis packet.
KV CompLens is an underwriting-support workflow for residential comparable-sales analysis. Instead of asking AI to determine property value, the platform treats comparable properties as evidence. A deterministic comparable-evidence engine ranks, adjusts, and reconciles comparable sales, while Review Intelligence converts verified evidence into analyst-readable summaries, export packages, and audit-friendly outputs.
- Public app: kv-complens.vercel.app
- Demo mode: kv-complens.vercel.app/?demo=1
- Video walkthrough: YouTube demo
- Repository: zrt219/KV-CompLens
- Build log: ai-engineering/hackathon/kv-complens-build-log.md
- Source of truth: ai-engineering/source-of-truth.md
Workflow preview: intake, source scan, review comparables, adjustments, and export package.
Comp analysis is one of the most manual steps in residential underwriting.
Analysts must:
- find comparable properties
- assess source quality
- adjust values
- estimate ranges
- document rationale
- prepare review-ready outputs
This process is slow, inconsistent, and difficult to audit.
KV CompLens turns comparable-sales review into a deterministic evidence workflow.
The platform guides the analyst from intake through export, keeping the reasoning legible at each step and preserving clear review boundaries. It is not a real-estate chatbot, not a live MLS product, not an appraisal engine, and not a credit-decision system.
The challenge is not producing a value.
The challenge is producing a value that an analyst can review, explain, challenge, and export.
KV CompLens focuses on workflow quality, evidence traceability, and reviewer trust rather than black-box valuation.
flowchart TD
A["Property Intake"] --> B["Source Scan"]
B --> C["Candidate Ranking"]
C --> D["Deterministic Comparable-Evidence Engine"]
D --> E["Review Intelligence"]
E --> F["Adjustments"]
F --> G["Export Package"]
A -. "required fields and review boundary" .-> H["Analyst Readiness"]
B -. "source coverage and candidate count" .-> H
G -. "memo, audit, CSV, ZIP, print fallback" .-> I["Review-Ready Artifact"]
flowchart LR
A["1. Intake subject property"] --> B["2. Scan local demo sources"]
B --> C["3. Rank comparable candidates"]
C --> D["4. Review selected comparables"]
D --> E["5. Confirm adjustments"]
E --> F["6. Export review package"]
D --> G["Explain Review Set"]
D --> H["Why this comparable?"]
F --> I["PDF / DOCX / print / ZIP / copy fallback"]
flowchart TD
A["Subject property details"] --> D["Current analysis snapshot"]
B["Source scan summary"] --> D
C["Comparable candidates"] --> D
D --> E["Evidence-weighted comparable analysis"]
E --> F["Selected comparables"]
E --> G["Adjusted values"]
E --> H["Confidence and risk flags"]
E --> I["Estimated value range"]
F --> J["Review board"]
G --> J
H --> K["Summary rail"]
I --> K
J --> L["Export packet"]
K --> L
flowchart TD
A["Current analysis snapshot"] --> B["Retrieve relevant facts"]
B --> C["Generate structured explanation"]
C --> D{"Verifier"}
D -- "supported by snapshot" --> E["Review Intelligence drawer"]
D -- "unsupported claim" --> F["Blocked before UI/export"]
E --> G["Add to memo"]
G --> H["Export summary"]
B -. "subject, sources, comparables, adjustments, risks, limitations" .-> C
flowchart TD
A["Canonical export packet"] --> B["PDF renderer"]
A --> C["DOCX renderer"]
B -- "works" --> D["PDF download"]
B -- "fails" --> E["Print-ready HTML"]
C -- "works" --> F["DOCX download"]
C -- "fails" --> G["Word-compatible HTML / RTF"]
A --> H["Markdown, JSON, CSV, audit files"]
H --> I["Full evidence ZIP"]
E --> I
G --> I
I --> J["Usable review artifact"]
Most prototypes stop at property matching.
KV CompLens treats comparable sales as evidence.
The platform:
- ranks comparable evidence instead of guessing a value from free-form text
- computes adjusted value support with deterministic logic
- identifies stronger and weaker comparables
- supports analyst review before export
- produces export-ready outputs with fallback paths
- records audit-oriented review events
The system does not ask an LLM what a property is worth.
The deterministic analysis engine computes the evidence. Review Intelligence explains verified evidence.
Review Intelligence is the strongest differentiator in the product.
It is:
- verifier-gated
- grounded in the current deterministic snapshot
- able to identify strongest and weakest comparables
- available through
Explain Review SetandWhy this comparable? - attachable to memo and export output
- designed to expose public reasoning artifacts without exposing chain-of-thought
It does not:
- determine value
- claim live MLS access
- claim appraisal authority
- claim credit-decision authority
- replace analyst review
Every explanation is grounded in the current analysis snapshot.
Watch the full reviewer flow from demo mode through export: YouTube demo.
The workflow starts with a clean intake surface that frames readiness, required fields, and the review boundary before any analysis runs.
The source scan summarizes evidence quality, record coverage, and candidate readiness before the analyst moves into comparable review.
The Evidence Board centers the subject property, selected comparables, and reviewer-facing reasoning instead of hiding the workflow inside a black-box model.
Before a new comparable is added, KV CompLens previews the expected impact on the review packet so the analyst can decide whether the candidate improves the evidence set or adds unnecessary risk.
The adjustments step makes the review logic explicit through line-level changes and visible range impact.
The export surface converts the current review set into resilient report artifacts with PDF, DOCX, print, ZIP, JSON, CSV, and copyable fallback paths.
The PDF report packages the current review snapshot into a clean, shareable underwriting-support document with subject details, selected comparables, adjustment logic, value range, confidence indicators, limitations, and audit-ready review notes.
Export artifacts are generated from the same canonical packet: PDF, DOCX, print-ready HTML, Word-compatible fallback, Markdown, JSON, CSV, ZIP, and copyable report text.
The print-ready viewer turns the same export packet into a clean browser document that can be opened directly or saved as PDF when primary export formats fail.
Video walkthrough: Watch KV CompLens on YouTube
- Intake the subject property and establish whether the review can run.
- Scan and summarize local demo evidence sources.
- Rank candidate comparables and review the selected set on the Evidence Board.
- Apply deterministic adjustments and confirm the review set.
- Generate export-ready artifacts with memo, audit, and Review Intelligence summary support.
Core implementation surfaces:
src/app/page.tsxdrives the main underwriting workspace- analysis state hooks manage reducer-backed UI state, workflow transitions, and demo hydration
- deterministic analysis modules produce the canonical review snapshot
- reviewer-facing explanation modules build and verify grounded Review Intelligence outputs
lib/export/*generates packet-driven export artifacts and fallbackssrc/components/evidence-board/*powers the comparable-review surface- Review Intelligence drawer components power the explanation and memo attachment path
packages/core/*contains the deterministic ranking, scoring, adjustment, valuation, and confidence logictests/*andpackages/core/*.test.tscover UI state, export behavior, and deterministic model behavior
The product uses a deterministic comparable-evidence engine as the analysis layer.
That layer is responsible for:
- ranking comparable candidates from structured inputs and source reliability
- selecting the review set
- applying deterministic adjustment logic
- estimating low, midpoint, and high value ranges
- computing confidence and risk flags
- producing the canonical snapshot that drives the UI, exports, and Review Intelligence
The LLM layer does not determine value. It explains verified deterministic evidence.
KV CompLens uses a layered export strategy so the export page is not a dead end if one renderer fails.
- Native PDF and DOCX generation from the canonical export packet.
- Print-ready HTML and Word-compatible HTML or RTF fallbacks.
- Full evidence ZIP containing HTML, Markdown, JSON, CSV, audit, and limitations files.
- Copy-report fallback when browser downloads are blocked.
This makes the export story reviewer-safe: the user still gets a usable artifact even when a primary format fails.
The app preserves an audit-oriented state through:
- source-scan summaries
- selected and rejected comparable sets
- deterministic valuation outputs
- memo attachment events
- review-intelligence attachment state
- explicit demo-data and public-source boundaries
- export artifacts generated from the same canonical packet
Public-source references are methodology and context only. They are not presented as transaction-level sold-data provenance for the synthetic comparable set.
Public assessment and municipal references used for context:
- City of Edmonton Property Assessment Data
- City of Calgary Historical Property Assessments
- City of Calgary Residential Assessment Explanation
npm install
npm run devThen open the local URL reported by the Next.js dev server.
npm run lint
npm test
npm run buildLatest verified in this pass:
npm run lintpassednpm testpassed with91tests across26filesnpm run buildpassed
- Sale records are synthetic demo records
- No licensed MLS sold-data feed is ingested
- No live land-title, appraisal, or permit connector is active
- Adjustments are deterministic review heuristics, not appraisal-grade calibration
- No analyst authentication, team review workflow, or persistent storage
- No production credit-decision capability
Future iterations could include:
- licensed MLS integrations
- commercial borrower workflows
- portfolio-level risk analysis
- historical market trend modeling
- document extraction workflows
- reviewer collaboration and approval queues
- persistent review history
Zhane Grey
Technical Lead Developer at UMATTR
Focus:
- AI Product Engineering
- Deterministic AI Systems
- RAG / Evaluation Workflows
- Full-Stack Applications
- Solidity / Web3 Infrastructure
Links:
- GitHub: github.com/zrt219
- LinkedIn: zhane-grey-987258395
- Live demo: kv-complens.vercel.app
- Portfolio: beacons.ai/zrt_219
Proof of work:
- documented Codex workflow archive with
1,331,817live workflow events across1010session logs as of2026-06-04 - broader Codex usage footprint of
6.1Blifetime tokens across long-horizon AI engineering workflows





