Data Engineering Methodology & Cloud Architecture
Property AI Agent (ai-hector.com) is engineered and maintained by Kyberyon Pte. Ltd. to provide transparent, zero-latency quantitative insights into Singapore’s public housing resale market across 990,225 verified transactions spanning January 1990 through November 2026.
1. Primary Data Source & Licensing
All underlying resale transaction records originate from the official datasets published by the Housing & Development Board (HDB) via the Singapore Government Open Data portal (data.gov.sg) under the Singapore Open Data Licence version 1.0. A transaction is recorded upon official resale registration approval by HDB.
2. Automated Ingestion & Harmonization Pipeline
Because HDB’s historical open datasets are split across five distinct schema eras (1990–1999, 2000–Feb 2012, Mar 2012–Dec 2014, Jan 2015–Dec 2016, and Jan 2017–present), raw records exhibit schema differences—most notably in how remaining_lease is represented (integer years in older schemas vs. formatted text strings such as "84 years 03 months" in post-2017 records, or omitted entirely in pre-2015 files where only lease_commence_date is provided).
- Serverless Cloud Ingestion: On the 5th of each month at 10:00 SGT, an OIDC-authenticated Google Cloud Scheduler job triggers our Gen-2 Cloud Function (
hdb-monthly-ingest, Python 3.12) in theasia-southeast1(Singapore) region. - BigQuery Partitioning & Clustering: Records are normalized and loaded into Google BigQuery (
hdb_resale_prices_2026.hdb_res_table_2026), partitioned bytransaction_dateand clustered bytownandflat_typefor sub-second analytical scans. - Derived Analytical Metrics: Our production view (
v_hdb_resale_transactions) standardizesprice_per_sqm(price / sqm), constructs canonical addresses (block || ' ' || street_name), and normalizes flat types (consolidating legacyMULTI GENERATIONandMULTI-GENERATIONlabels).
3. Pre-Computed Edge Delivery & Ask Hector AI
To deliver instant page loads on mobile and desktop without charging per-visitor database query costs, our aggregator pre-computes annual medians (using BigQuery APPROX_QUANTILES), 36-month rolling series, 5-year compound town growth rates (2021 vs. 2026), and flat-type distributions into static HTML tables and a lightweight JSON bundle (/data/hdb_trends.json).
For custom ad-hoc questions (e.g., “What is the highest 4-room transaction in Bishan in 2026?”), our integrated Ask Hector AI assistant translates natural-language questions into read-only, schema-validated BigQuery SQL queries with strict byte-scan guardrails.