# jaipur-hotels.com — full documentation ## Overview jaipur-hotels.com is a static, zero-dependency web application for comparing hotels in Jaipur, Rajasthan, India. It provides a weighted decision matrix over a 12-property shortlist, a hard-constraint rule evaluator with edge-case validation, a deterministic rate-refresh latency/throughput/cost simulator rendered as an SVG chart, and exportable JSON/CSV artifacts with SHA-256 receipts. Published by SING LLC (Wyoming ID 2026-002035528) / ZYNTHIO. Contact: corey@zynthio.ai. ## Architecture - index.html — semantic HTML5, JSON-LD WebApplication schema, inline SVG favicon - styles.css — theme_10 "Nordic Ice" tokens: bg #f0f4f8, surface #ffffff, ink #102a43, accent #0284c7, muted #486581 - js/core.mjs — pure ES2022 module: datasets, scoring, simulation, guards (TypeError/RangeError) - js/app.js — DOM wiring, SVG rendering, Web Crypto SHA-256 export receipts - Legal: /privacy/ /terms/ /contact/ /disclosure/ ## Workbench modules 1. Weight sliders — seven criteria (heritage, luxury, family, value, location, spa, rooftop), each 0.00–1.00, default balanced profile. Scores recompute live. 2. Ranked matrix — 12 properties sorted by composite score; ties broken by lower price. 3. Rule evaluator — filters on max ₹/night, max km to Old City, min rating, party size (1–20), and must-have attribute checkboxes (score ≥ 50). Invalid input throws RangeError client-side and is shown as a rejection message. 4. Tradeoff chart — p50 latency vs concurrency for a nightly rate-refresh batch (12,000 requests, 35% cache hit). Model: latency = 40ms base + service term scaled by concurrency + upstream-miss term; monthly cost = upstream calls × per-request cost × 30. 5. Exports — JSON export embeds a SHA-256 receipt of the payload; CSV export of the ranked matrix; spec receipt covering rule config + tradeoff curve via canonical stable-stringify. 6. Checklist — ten manual ship-readiness items; state is browser-local only. ## Scoring model Composite = Σ(weight_k × attribute_k) over seven attributes. Attributes are 0–100 normalized. `value` = 100 × (1 − (price − min)/(max − min)) across the shortlist; `location` = same min-max inversion on distance to Old City. Deterministic: no randomness, no network, no backend. ## Reference dataset (indicative) Shortlist spans Civil Lines (5★ palace hotels), Old City edge, MI Road/C-Scheme mid-market, and Amer Corridor/West Jaipur family resorts. Indicative rates are INR reference points — not live quotes. District taxonomy: Old City/Pink City, Civil Lines, MI Road & C-Scheme, Amer Corridor & West Jaipur. ## Compliance & disclosure - Zero external JS/CSS/fonts/CDNs; zero trackers; zero cookies. - Affiliate disclosure is visible above the fold on /. - No local business listing or NAP entity; standalone international property. - Publisher: SING LLC (Wyoming ID 2026-002035528) / ZYNTHIO.