<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Shreya Vontela]]></title><description><![CDATA[Welcome to the intersection of fintech, ML, and agentic AI—where I share my thoughts on how AI is quietly reshaping finance.]]></description><link>https://shreyavontela.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!BUKG!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F74fbca2b-92a0-488f-895d-4a44ed53d18e_1203x1204.png</url><title>Shreya Vontela</title><link>https://shreyavontela.substack.com</link></image><generator>Substack</generator><lastBuildDate>Fri, 29 May 2026 22:42:42 GMT</lastBuildDate><atom:link href="https://shreyavontela.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Shreya Vontela]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[shreyavontela@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[shreyavontela@substack.com]]></itunes:email><itunes:name><![CDATA[Shreya Vontela]]></itunes:name></itunes:owner><itunes:author><![CDATA[Shreya Vontela]]></itunes:author><googleplay:owner><![CDATA[shreyavontela@substack.com]]></googleplay:owner><googleplay:email><![CDATA[shreyavontela@substack.com]]></googleplay:email><googleplay:author><![CDATA[Shreya Vontela]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Where AI Agents Actually Fit in Regulated Workflows]]></title><description><![CDATA[Not as decision-makers, but as governed copilots for policy-heavy, human-reviewed operations.]]></description><link>https://shreyavontela.substack.com/p/where-ai-agents-actually-fit-in-regulated</link><guid isPermaLink="false">https://shreyavontela.substack.com/p/where-ai-agents-actually-fit-in-regulated</guid><dc:creator><![CDATA[Shreya Vontela]]></dc:creator><pubDate>Thu, 28 May 2026 17:24:58 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/670f5089-cd1e-4dd7-bfad-b77a258f6999_2848x1504.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Some workflows look simple from the outside.</p><ul><li><p>A customer files an insurance claim.</p></li><li><p>A borrower asks for loan hardship assistance.</p></li><li><p>A patient needs medical prior authorization.</p></li><li><p>A compliance team reviews an internal control.</p></li><li><p>A fraud alert lands in an analyst&#8217;s queue.</p></li><li><p>A contract needs corporate legal review.</p></li></ul><p>At first glance, these sound like normal, repeatable back-office operations. But inside the workflow, things get complicated quickly.</p><p>The human reviewer must pull together fragmented data from legacy systems, read shifting policy documents, check rigid eligibility rules, interpret risk scores, identify missing documentation, follow strict communication guidelines, and leave behind a flawless audit trail. Because the final outcome is sensitive, highly regulated, and financially meaningful, the organization cannot simply say:</p><blockquote><p><strong>&#8220;Let the LLM decide.&#8221;</strong></p></blockquote><p>That is the wrong framing. The better question is: </p><blockquote><p><strong>&#8220;How can an AI agent help a human make a better, faster, more consistent, and more auditable decision?&#8221;</strong></p></blockquote><p>That is where agentic AI becomes revolutionary. <strong>Not as an autonomous decision-maker, but as a governed workflow copilot.</strong></p><h2>The Wrong Design: LLM as the Decision-Maker</h2><p>The tempting design for teams rushing a proof-of-concept to production is linear:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6fBQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6fBQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 424w, https://substackcdn.com/image/fetch/$s_!6fBQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 848w, https://substackcdn.com/image/fetch/$s_!6fBQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 1272w, https://substackcdn.com/image/fetch/$s_!6fBQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6fBQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png" width="1456" height="794" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:794,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:6171556,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/199116438?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6fBQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 424w, https://substackcdn.com/image/fetch/$s_!6fBQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 848w, https://substackcdn.com/image/fetch/$s_!6fBQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 1272w, https://substackcdn.com/image/fetch/$s_!6fBQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd92d3a5a-08f4-4b85-97e8-127f94abbe0e_2816x1536.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is an extraordinary risk. In regulated workflows, decisions must follow approved policies, immutable business rules, and legal constraints. If an LLM misses a subtle exception clause, fabricates a compliance policy, or gives inconsistent guidance across two identical cases, the issue isn&#8217;t just a &#8220;bad user experience.&#8221; <strong>It is a catastrophic compliance, legal, and financial liability.</strong></p><blockquote><p><strong>The first principle of enterprise AI system design is absolute: The LLM must never be the system of record for a decision.</strong></p></blockquote><p>The LLM can summarize data. It can retrieve context. It can explain complexity. It can draft communication pipelines. <strong>But the governed decision must come from approved rules, structured engines, deterministic models, and accountable humans.</strong></p><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2>The Better Design: Governed Decision Support</h2><p>A production-grade architecture completely separates responsibilities:</p><ul><li><p><strong>Structured Data</strong> tells us <em>what happened</em>.</p></li><li><p><strong>Policy Retrieval</strong> tells us <em>what rules apply</em>.</p></li><li><p><strong>Decision Engines</strong> tell us <em>what is mathematically allowed</em>.</p></li><li><p><strong>LLM Agents</strong> <em>translate logic into language</em> (summarizing, explaining, drafting).</p></li><li><p><strong>Humans</strong> review, validate, and sign off.</p></li></ul><p>To make this architecture concrete, let&#8217;s look at the two distinct operational execution modes required to run an enterprise operations desk: <strong>Proactive Automation (The Daily Batch Trigger)</strong> and <strong>Reactive Exploration (The Analyst Chat Interface)</strong>.</p><h3>1. The Proactive Automation Pipeline (Daily Batch)</h3><p>The batch workflow is designed to automatically handle massive queues of cases running on automated orchestrators like Apache Airflow. Instead of making the LLM read raw, unorganized databases at runtime, the data is progressively filtered through a deterministic rules engine before the generative layer ever touches it.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SKro!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SKro!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 424w, https://substackcdn.com/image/fetch/$s_!SKro!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 848w, https://substackcdn.com/image/fetch/$s_!SKro!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 1272w, https://substackcdn.com/image/fetch/$s_!SKro!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SKro!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png" width="1456" height="3408" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:3408,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1222753,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/199116438?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SKro!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 424w, https://substackcdn.com/image/fetch/$s_!SKro!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 848w, https://substackcdn.com/image/fetch/$s_!SKro!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 1272w, https://substackcdn.com/image/fetch/$s_!SKro!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83497533-e2f7-453d-9587-cf4cfc7bd521_3500x8192.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h3>2. The Reactive Exploration Pipeline (Analyst Chat)</h3><p>When an operations analyst needs to dynamically drill down into a specific case, audit a particular rule, or query a corporate policy manual, running a heavy, end-to-end processing pipeline is incredibly inefficient.</p><p>Instead, a <strong>Router Agent</strong> short-circuits the workflow based entirely on the analyst&#8217;s structural intent&#8212;<strong>completely bypassing unnecessary data layers to deliver instantaneous answers.</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KbRx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KbRx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 424w, https://substackcdn.com/image/fetch/$s_!KbRx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 848w, https://substackcdn.com/image/fetch/$s_!KbRx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 1272w, https://substackcdn.com/image/fetch/$s_!KbRx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KbRx!,w_2400,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png" width="1200" height="1412.6373626373627" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;large&quot;,&quot;height&quot;:1714,&quot;width&quot;:1456,&quot;resizeWidth&quot;:1200,&quot;bytes&quot;:2058012,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/199116438?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-large" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KbRx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 424w, https://substackcdn.com/image/fetch/$s_!KbRx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 848w, https://substackcdn.com/image/fetch/$s_!KbRx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 1272w, https://substackcdn.com/image/fetch/$s_!KbRx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a359e8a-e45a-4d4a-94b3-34f8aaaf1542_6958x8192.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This router design is what makes the system truly &#8220;agentic&#8221; in a commercial sense. <strong>The system architecture dynamically restructures its underlying components based entirely on the task at hand.</strong> If the analyst asks: <em>&#8220;What documents are missing for this account?&#8221;</em>, the Router short-circuits straight to the data layer and document checker tools, completely ignoring the complex compliance or drafting models.</p><h2>RAG, Rules, Models, and LLMs: Who Does What?</h2><p>Decoupling logic from language requires establishing explicit boundaries for every asset in your infrastructure stack:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LeG6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LeG6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 424w, https://substackcdn.com/image/fetch/$s_!LeG6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 848w, https://substackcdn.com/image/fetch/$s_!LeG6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 1272w, https://substackcdn.com/image/fetch/$s_!LeG6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LeG6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png" width="795" height="765" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:765,&quot;width&quot;:795,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:124876,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/199116438?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LeG6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 424w, https://substackcdn.com/image/fetch/$s_!LeG6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 848w, https://substackcdn.com/image/fetch/$s_!LeG6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 1272w, https://substackcdn.com/image/fetch/$s_!LeG6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9d1aa9-45c3-4c86-83b2-8bca5e742aeb_795x765.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Because the knowledge base in regulated operations constantly shifts (e.g., state rules change, compliance definitions update, communication templates adjust), <strong>RAG is the mandatory choice over model fine-tuning for policy grounding.</strong> RAG allows the model to fetch and cite the absolute latest approved text section at runtime, leaving a clear paper trail.</p><blockquote><p><strong>A simple rule of thumb: If the knowledge changes and needs citations, use RAG. If the behavior is stable and repeated, consider fine-tuning.</strong></p></blockquote><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2>Production Design Choices: Deep-Dive Q&amp;A</h2><p>When moving this blueprint from a local sandbox to a production-scale enterprise data cluster, systems engineers encounter specific architectural edge cases. Here is how this design safely mitigates them.</p><h3>Q1: Why use an &#8220;Stateful Event Aggregator&#8221; instead of allowing the Summary Agent to read raw data logs directly at runtime?</h3><blockquote><p><strong>The Trade-off: Processing Complexity vs. Operational Overhead</strong></p></blockquote><p>In an active enterprise system, a single case file contains a massive data footprint: years of structured tabular transactions, thousands of lines of conversational notes input by human operators over time, and uploaded PDF document packages.</p><p>Dumping this raw data directly into an LLM context window at runtime causes immediate production failures: it blows out the token context window, inflates API bills exponentially, and causes massive latency spikes (often exceeding 20 seconds). Furthermore, LLMs suffer from the <strong>&#8220;Lost in the Middle&#8221; phenomenon</strong>&#8212;failing to capture crucial exceptions when buried under dense walls of text.</p><p><strong>The Solution:</strong> The architecture introduces an asynchronous <strong>Stateful Event Aggregator</strong>. As new account events or notes occur, lightweight background scripts incrementally process the data and update a highly condensed, centralized <strong>State JSON</strong> profile document. <strong>When the batch orchestrator fires, the Summary Agent reads a compact, structured timeline rather than a disorganized data swamp, dropping token overhead, slashing latency, and guaranteeing no critical exception variables are missed.</strong></p><h3>Q2: Why isolate validation into a single, external &#8220;Dual-Pass Compliance Guardrail&#8221; block rather than handling checks natively inside individual agent prompts?</h3><blockquote><p><strong>The Trade-off: Decoupled Independent Safety vs. Inline Instruction Reliance</strong></p></blockquote><p>Tasks like checking text alignment against structured inputs or blocking prohibited phrases should never be handled via inline prompt engineering. Tasking a model with both creating content and auditing its own output splits its attention layers, leaving it <strong>highly vulnerable to instruction drift, prompt injections, and subtle hallucinations.</strong></p><p><strong>The Solution:</strong> We completely decouple verification by placing a dedicated <strong>Dual-Pass Compliance Guardrail</strong> box entirely outside the generative layer:</p><ul><li><p><strong>PASS 1 (The Independent Evaluator):</strong> A highly restricted model that consumes <em>only</em> the raw, deterministic outputs of the quantitative Decision Engine and the generated text draft. It acts as an independent judge, validating whether the textual claims exactly match the mathematical logic calculated by the underlying rules engine.</p></li><li><p><strong>PASS 2 (The Deterministic Phrase Blocker):</strong> A non-probabilistic software module that relies entirely on traditional, high-speed regex tables to scan for legally hazardous language or structural modifications of approved corporate templates.</p></li></ul><h3>Q3: What happens when a generated asset fails the Compliance Guardrail? How does the architecture prevent a human operational deadlock?</h3><blockquote><p><strong>The Trade-off: Uncompromising Enterprise Safety vs. Flow Throughput</strong></p></blockquote><p>If an architectural security layer simply throws a generic hard stop error or a broken screen when a compliance check fails, it introduces an operational bottleneck. <strong>The human analyst is left hanging, forced to manually type out calculations from scratch&#8212;completely erasing the efficiency gains built by the automation layer.</strong></p><p><strong>The Solution:</strong> The pipeline utilizes a structured <strong>Correction Loop with a Fallback-to-Template</strong> trigger. If Pass 1 or Pass 2 flags an issue, the system automatically routes the error logs back through a correction loop, giving the agent up to two chances to self-correct the text draft.</p><p>If the generation still fails validation, the probabilistic engine terminates entirely. <strong>The pipeline instantly swaps out the generative model and falls back onto a completely static, deterministic, token-swapped Legal Template hardcoded inside the system repo.</strong> The failure is quietly logged for prompt optimization, but the analyst&#8217;s workflow never freezes&#8212;they receive a pristine, compliant asset, allowing the human-in-the-loop operation to proceed without a second of downtime.</p><h2>Multi Industry Pattern: Separating Logic from Language </h2><p>While a borrower hardship case serves as an excellent reference model, this identical data assembly line scales across every major corporate operation desk:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!c8hc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!c8hc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 424w, https://substackcdn.com/image/fetch/$s_!c8hc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 848w, https://substackcdn.com/image/fetch/$s_!c8hc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 1272w, https://substackcdn.com/image/fetch/$s_!c8hc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!c8hc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png" width="1408" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1408,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2039176,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/199116438?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!c8hc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 424w, https://substackcdn.com/image/fetch/$s_!c8hc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 848w, https://substackcdn.com/image/fetch/$s_!c8hc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 1272w, https://substackcdn.com/image/fetch/$s_!c8hc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7c0687a-54be-4e3d-a6f9-708e1e124197_1408x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The domain changes, but the core engineering paradigm stays completely intact:</p><blockquote><p><strong>Complex Case &#9472;&#9472;&#9658; Relevant Policy &#9472;&#9472;&#9658; Governed Checks &#9472;&#9472;&#9658; LLM Explanation/Drafting &#9472;&#9472;&#9658; Human Approval &#9472;&#9472;&#9658; Audit Trail</strong></p></blockquote><h2>Final Takeaway</h2><p>The future of AI agents in enterprise-scale operations is not fully autonomous decisioning. <strong>It is governed, auditable, human-in-the-loop decision support.</strong> The most valuable enterprise systems built today will not ask: <em>&#8220;Can we get the LLM to make the right decision?&#8221;</em> They will ask:</p><blockquote><p><strong>&#8220;Can we construct an architecture where the LLM helps the human understand the case, applies the right deterministic policy, communicates flawlessly, and leaves behind an ironclad audit trail?&#8221;</strong></p></blockquote><p>That is where AI agents actually fit.</p><div><hr></div><p>Found this post valuable? Show some love with a like &#10084;&#65039;</p><p><a href="https://www.linkedin.com/in/shreya-vontela/">Connect with me on LinkedIn</a> | <a href="https://shreyav29.github.io/">Visit my website</a></p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading! If you&#8217;re passionate about the disruption of AI in Finance, subscribe to join the community and support my work</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Your Pricing Model Is Probably Overconfident. Here's How to Fix It.]]></title><description><![CDATA[Building a self-correcting pricing system that accounts for model uncertainty, calibration, and market feedback loops]]></description><link>https://shreyavontela.substack.com/p/your-pricing-model-is-probably-overconfident</link><guid isPermaLink="false">https://shreyavontela.substack.com/p/your-pricing-model-is-probably-overconfident</guid><dc:creator><![CDATA[Shreya Vontela]]></dc:creator><pubDate>Tue, 26 May 2026 15:20:37 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/8f1fd315-da9e-45e4-a1a2-7ecddf5bf53c_1731x909.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Most pricing models are trained to answer one question: </p><div class="callout-block" data-callout="true"><p><em>What is the asset worth?</em></p></div><p>In real businesses, that&#8217;s rarely the right question.</p><p>The question that actually matters is: </p><div class="callout-block" data-callout="true"><p><em>What should we offer &#8212; knowing our estimate might be wrong, the market might move, and the decision has real financial consequences?</em></p></div><p>That distinction changes everything downstream. A model that predicts a price is useful. A system that quantifies its own uncertainty, converts that uncertainty into a decision, observes realized outcomes, and adapts future decisions &#8212; that&#8217;s valuable.</p><p>In this project, I built a mock <strong>risk-aware pricing system</strong> using public housing data. The use case mirrors an <strong>iBuyer-style real estate model</strong>, but every design decision applies equally to:</p><div class="pullquote"><p><em>Lending &#183; Insurance &#183; Marketplaces &#183; Retail Pricing &#183; Procurement &#183; Ad Auctions &#183; Inventory liquidation &#183; Risk-based pricing</em></p></div><p>The core insight driving everything here:</p><div class="callout-block" data-callout="true"><p style="text-align: center;"><em>Don&#8217;t just predict the price. Estimate uncertainty, price the risk, observe outcomes, and build a decision engine that adapts to the changing macro environment.</em></p></div><div><hr></div><h2><strong>The Business Problem</strong></h2><p>An iBuyer makes near-instant offers to buy homes directly from sellers. The business model is deceptively simple:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Z2OR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Z2OR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 424w, https://substackcdn.com/image/fetch/$s_!Z2OR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 848w, https://substackcdn.com/image/fetch/$s_!Z2OR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 1272w, https://substackcdn.com/image/fetch/$s_!Z2OR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Z2OR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png" width="1672" height="537" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:537,&quot;width&quot;:1672,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1076486,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4de6f9e0-46e9-4b76-b164-e78b32401a4a_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Z2OR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 424w, https://substackcdn.com/image/fetch/$s_!Z2OR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 848w, https://substackcdn.com/image/fetch/$s_!Z2OR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 1272w, https://substackcdn.com/image/fetch/$s_!Z2OR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F988df0d1-3e54-4a12-9c33-cc3e887cf682_1672x537.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The business makes money when:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{align*}\n\\text{net profit} &amp;= \\text{sell price} - \\text{buy offer} - \\text{transaction costs} - \\text{holding costs} - \\text{repair costs} \\\\[10pt]\n\\end{align*}&quot;,&quot;id&quot;:&quot;NWUUTVFVFG&quot;}" data-component-name="LatexBlockToDOM"></div><p>So pricing is load-bearing. Offer too low and the seller walks. Offer too high and you absorb the loss on resale. </p><p>That creates the fundamental tension every pricing team lives with:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!emEU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!emEU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 424w, https://substackcdn.com/image/fetch/$s_!emEU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 848w, https://substackcdn.com/image/fetch/$s_!emEU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 1272w, https://substackcdn.com/image/fetch/$s_!emEU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!emEU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png" width="1672" height="604" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:604,&quot;width&quot;:1672,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1170212,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b8f7484-dd31-4a5b-8b55-a1c5f86bcfd6_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!emEU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 424w, https://substackcdn.com/image/fetch/$s_!emEU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 848w, https://substackcdn.com/image/fetch/$s_!emEU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 1272w, https://substackcdn.com/image/fetch/$s_!emEU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e1b32be-77c0-43e9-9f98-ff0e9aa98177_1672x604.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This means the pricing system can&#8217;t only optimize for prediction accuracy. It has to manage expected value, model uncertainty, downside risk, market drift, and feedback from realized outcomes &#8212; simultaneously.</p><div><hr></div><h2><strong>Project Objective and Architecture</strong></h2><blockquote><p><em>How can a pricing model estimate resale value, quantify its uncertainty, make a risk-adjusted offer, and then learn from what actually happened in the market?</em></p></blockquote><p>The system has six main components</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fLG3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fLG3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 424w, https://substackcdn.com/image/fetch/$s_!fLG3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 848w, https://substackcdn.com/image/fetch/$s_!fLG3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 1272w, https://substackcdn.com/image/fetch/$s_!fLG3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fLG3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png" width="1456" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1157420,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fLG3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 424w, https://substackcdn.com/image/fetch/$s_!fLG3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 848w, https://substackcdn.com/image/fetch/$s_!fLG3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 1272w, https://substackcdn.com/image/fetch/$s_!fLG3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5829eafb-ae22-4702-9ffa-441fb6d7b996_1774x887.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The dataset is King County housing sales (May 2014 &#8211; May 2015, 21,613 homes) augmented with macroeconomic features: 30-year mortgage rates, Seattle Case-Shiller index, unemployment, housing supply, sentiment, housing starts, and CPI.</p><p><strong>Click here: <a href="https://github.com/Shreyav29/Risk-Aware-Pricing-Engine-with-Closed-Loop-Feedback-Pipeline/tree/main">Github Code</a></strong></p><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2><strong>Why the Time Split Matters</strong></h2><p>A random train/test split would inflate performance. In real pricing systems, you never price today&#8217;s homes using tomorrow&#8217;s data &#8212; you train on history and deploy into the future.</p><p>So, I used a strict chronological split: </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zCAh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zCAh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!zCAh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!zCAh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!zCAh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zCAh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png" width="1448" height="1086" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1086,&quot;width&quot;:1448,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:957679,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zCAh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!zCAh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!zCAh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!zCAh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6686483d-0ab8-4a76-96b5-de014a55de8a_1448x1086.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The market didn&#8217;t stand still across these windows. Price per square foot rose into the test period, the 30-year mortgage rate moved from 4.19% to 3.84%, and the Seattle Case-Shiller index shifted by 7.4%.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!t3G2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!t3G2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!t3G2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!t3G2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!t3G2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!t3G2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png" width="1448" height="1086" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1086,&quot;width&quot;:1448,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1064844,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!t3G2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!t3G2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!t3G2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!t3G2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F85c3c358-5f5a-452b-babb-f9f7619eb13d_1448x1086.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p><em>Price per square foot rises into the test period &#8212; exactly the drift a real pricing team would face. </em></p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2wao!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2wao!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!2wao!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!2wao!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!2wao!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2wao!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png" width="1448" height="1086" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/faaba495-3d51-4793-aad1-199abf979a49_1448x1086.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1086,&quot;width&quot;:1448,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1037063,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2wao!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!2wao!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!2wao!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!2wao!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffaaba495-3d51-4793-aad1-199abf979a49_1448x1086.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p><em>Macro indicators shift meaningfully across the sample window.</em></p></blockquote><p>This setup creates the exact problem pricing teams care about: a model trained on earlier sales risks becoming stale when the market moves. That tension motivates every subsequent design decision.</p><div><hr></div><h2><strong>Step 1: From Point Estimate to Probabilistic Valuation</strong></h2><p>A standard valuation model predicts one number. For a buy-offer decision, one number isn&#8217;t enough.</p><p>Consider two homes with the same median estimate:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!57Xb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!57Xb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 424w, https://substackcdn.com/image/fetch/$s_!57Xb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 848w, https://substackcdn.com/image/fetch/$s_!57Xb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 1272w, https://substackcdn.com/image/fetch/$s_!57Xb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!57Xb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png" width="1562" height="265" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:265,&quot;width&quot;:1562,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:447692,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1bd11ae6-ed9b-415a-b934-5219ab846f43_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!57Xb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 424w, https://substackcdn.com/image/fetch/$s_!57Xb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 848w, https://substackcdn.com/image/fetch/$s_!57Xb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 1272w, https://substackcdn.com/image/fetch/$s_!57Xb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F258f2d69-93fc-4935-9c1e-f2c30ae6f1bd_1562x265.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>To capture that difference, I trained a <strong>quantile regression AVM</strong> producing Q10 (downside), Q50 (fair value), and Q90 (upside) estimates for each home. The normalized uncertainty score is:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\text{uncertainty_score} = \\frac{Q_{90}^{\\text{calibrated}} - Q_{10}^{\\text{calibrated}}}{Q_{50}}&quot;,&quot;id&quot;:&quot;RYDMSZILLX&quot;}" data-component-name="LatexBlockToDOM"></div><p>The critical test: is this uncertainty score actually predictive of pricing error?</p><p>It is. Low-uncertainty homes had 7.71% average error. Medium-uncertainty homes: 11.66%. High-uncertainty homes: 16.55%</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ifGj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ifGj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 424w, https://substackcdn.com/image/fetch/$s_!ifGj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 848w, https://substackcdn.com/image/fetch/$s_!ifGj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 1272w, https://substackcdn.com/image/fetch/$s_!ifGj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ifGj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png" width="1120" height="720" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:720,&quot;width&quot;:1120,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:50599,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ifGj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 424w, https://substackcdn.com/image/fetch/$s_!ifGj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 848w, https://substackcdn.com/image/fetch/$s_!ifGj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 1272w, https://substackcdn.com/image/fetch/$s_!ifGj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb39f4957-c7df-4054-97dd-cbd08615d471_1120x720.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p><em>Wider prediction intervals reliably correspond to higher realized error. The uncertainty score is not decorative &#8212; it ranks pricing risk.</em></p></blockquote><p>Uncertainty is now actionable. If the model is less confident, the offer should reflect that.</p><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2><strong>Step 2: Calibrating Confidence (Making Uncertainty Honest)</strong></h2><p>The raw quantile model was useful but not trustworthy enough for pricing. A Q10&#8211;Q90 interval should cover roughly 80% of outcomes. The raw model covered only ~65% &#8212; it was overconfident.</p><p>Calibration addresses this by widening the interval without touching the Q50 estimate:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;Q_{50}^{\\text{cal}} = Q_{50}^{\\text{raw}}\n\nQ_{10}^{\\text{cal}} = Q_{50}^{\\text{raw}} - \\alpha \\cdot (Q_{50}^{\\text{raw}} - Q_{10}^{\\text{raw}})\n\nQ_{90}^{\\text{cal}} = Q_{50}^{\\text{raw}} + \\alpha \\cdot (Q_{90}^{\\text{raw}} - Q_{50}^{\\text{raw}})&quot;,&quot;id&quot;:&quot;HKJCSKVUXB&quot;}" data-component-name="LatexBlockToDOM"></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zBJB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zBJB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 424w, https://substackcdn.com/image/fetch/$s_!zBJB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 848w, https://substackcdn.com/image/fetch/$s_!zBJB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 1272w, https://substackcdn.com/image/fetch/$s_!zBJB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zBJB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png" width="766" height="487" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:487,&quot;width&quot;:766,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:377831,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb445566e-b40e-4ea7-a326-0f904066ad9d_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zBJB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 424w, https://substackcdn.com/image/fetch/$s_!zBJB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 848w, https://substackcdn.com/image/fetch/$s_!zBJB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 1272w, https://substackcdn.com/image/fetch/$s_!zBJB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd672fad6-0255-4d13-8cd8-687bdbd5cda6_766x487.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The factor (1.45 in this project) is selected on validation data. The key conceptual point:</p><blockquote><p><em>Calibration doesn&#8217;t make the prediction more accurate. It makes the confidence estimate more honest.</em></p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0fc6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0fc6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 424w, https://substackcdn.com/image/fetch/$s_!0fc6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 848w, https://substackcdn.com/image/fetch/$s_!0fc6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 1272w, https://substackcdn.com/image/fetch/$s_!0fc6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0fc6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png" width="1120" height="720" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:720,&quot;width&quot;:1120,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:41609,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!0fc6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 424w, https://substackcdn.com/image/fetch/$s_!0fc6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 848w, https://substackcdn.com/image/fetch/$s_!0fc6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 1272w, https://substackcdn.com/image/fetch/$s_!0fc6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e19b349-6293-4716-8e52-b87a06eec145_1120x720.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p><em>Calibrated intervals achieve coverage much closer to the intended 80% target.</em></p></blockquote><p>I also benchmarked width scaling against isotonic calibration. Width scaling won: it hit closer to 80% coverage, kept intervals narrower, preserved Q50, and is far easier to explain to a business audience. Isotonic calibration overshot the target and led to unnecessarily conservative offers.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ozNB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ozNB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 424w, https://substackcdn.com/image/fetch/$s_!ozNB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 848w, https://substackcdn.com/image/fetch/$s_!ozNB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 1272w, https://substackcdn.com/image/fetch/$s_!ozNB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ozNB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png" width="1456" height="596" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:596,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:67312,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ozNB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 424w, https://substackcdn.com/image/fetch/$s_!ozNB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 848w, https://substackcdn.com/image/fetch/$s_!ozNB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 1272w, https://substackcdn.com/image/fetch/$s_!ozNB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3245d8b-a77b-403a-be8f-12ac5438e119_1760x720.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p><em>Calibration methods trade off reliability, interval width, and downstream offer conservatism.</em></p></blockquote><div><hr></div><h2><strong>Step 3: Translating Uncertainty into a Buy Offer</strong></h2><p>With calibrated bands in hand, the buy offer formula is:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\text{buy offer} = Q_{50} \\cdot (1 - \\text{base spread} - \\text{uncertainty penalty})\n\n\n\n&quot;,&quot;id&quot;:&quot;RNCYDLKYVV&quot;}" data-component-name="LatexBlockToDOM"></div><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\n\\text{uncertainty penalty} = \\min(\\text{penalty strength} \\times \\text{uncertainty score},\\ \\text{max penalty})&quot;,&quot;id&quot;:&quot;VPQZEDVLXR&quot;}" data-component-name="LatexBlockToDOM"></div><p>Parameters: </p><ul><li><p>base spread = 5% </p></li><li><p>penalty strength = 0.15 </p></li><li><p>max uncertainty penalty = 10% </p><p></p><p>This produces a natural pricing policy: </p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-NyS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-NyS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 424w, https://substackcdn.com/image/fetch/$s_!-NyS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 848w, https://substackcdn.com/image/fetch/$s_!-NyS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 1272w, https://substackcdn.com/image/fetch/$s_!-NyS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-NyS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png" width="1672" height="708" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:708,&quot;width&quot;:1672,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1180646,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4001be4-bb29-4130-8efd-ec326bf104f7_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-NyS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 424w, https://substackcdn.com/image/fetch/$s_!-NyS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 848w, https://substackcdn.com/image/fetch/$s_!-NyS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 1272w, https://substackcdn.com/image/fetch/$s_!-NyS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa71471d1-4109-46c7-81cd-79fdfb8392b2_1672x708.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v5YT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v5YT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 424w, https://substackcdn.com/image/fetch/$s_!v5YT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 848w, https://substackcdn.com/image/fetch/$s_!v5YT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 1272w, https://substackcdn.com/image/fetch/$s_!v5YT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v5YT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png" width="1280" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1280,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:56704,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v5YT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 424w, https://substackcdn.com/image/fetch/$s_!v5YT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 848w, https://substackcdn.com/image/fetch/$s_!v5YT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 1272w, https://substackcdn.com/image/fetch/$s_!v5YT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8a786fa9-f1af-41cb-83be-239dad109b74_1280x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p><em>Base spread is constant; uncertainty penalty scales with model confidence. The system prices risk, not just value.</em></p></blockquote><p>This is where the project crosses from &#8220;ML model&#8221; to &#8220;pricing system.&#8221; The model output is no longer just a prediction &#8212; it&#8217;s the direct driver of a customer-facing decision.</p><div><hr></div><h2><strong>Step 4: Knowing When Not to Auto-Price</strong></h2><p>One of the most practically valuable parts of this project: <strong>built-in escalation logic</strong>.</p><p>A pricing system shouldn&#8217;t blindly trust the model for every asset. If the uncertainty penalty hits the 10% cap, the home is flagged as a manual-review candidate &#8212; a case where even the maximum automated discount isn&#8217;t sufficient protection.</p><p>Results from the test set:</p><ul><li><p><strong>567 homes</strong> hit the cap (13.1% of test set)</p></li><li><p>Average uncertainty score for capped homes: <strong>86.0%</strong> vs. <strong>39.0%</strong> for below-cap homes</p></li><li><p>Capped homes showed higher view and waterfront exposure &#8212; the model was correctly flagging unusual, harder-to-price cases</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!63C6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!63C6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 424w, https://substackcdn.com/image/fetch/$s_!63C6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 848w, https://substackcdn.com/image/fetch/$s_!63C6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 1272w, https://substackcdn.com/image/fetch/$s_!63C6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!63C6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png" width="1456" height="849" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:849,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:129908,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!63C6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 424w, https://substackcdn.com/image/fetch/$s_!63C6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 848w, https://substackcdn.com/image/fetch/$s_!63C6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 1272w, https://substackcdn.com/image/fetch/$s_!63C6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F909f8981-407b-4196-a1d2-a7a08b4256a6_1920x1120.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><blockquote><p><em>Homes hitting the cap have dramatically higher model uncertainty and are natural candidates for manual review or no-instant-offer workflows.</em></p></blockquote><p>The pattern generalizes: in lending, this becomes manual underwriting. In insurance, specialist review. In fraud, escalation. In marketplaces, operations review.</p><p>A well-designed system doesn&#8217;t just make decisions. It knows when a decision is too uncertain to automate.</p><div><hr></div><h2><strong>Step 5: Closing the Loop with a Sell-Side Feedback Multiplier</strong></h2><p>So far, the system manages property-level uncertainty. But there&#8217;s a second, harder problem: <strong>market-level bias</strong>.</p><p>Even a well-calibrated model can drift when the market moves. To address this, I added a lightweight feedback loop from observed resale outcomes back into future offers. The feedback rule: </p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{align*}\n\\text{sale ratio} &amp;= \\frac{\\text{actual resale price}}{Q_{50}} \\\\[10pt]\n\\text{rolling multiplier} &amp;= \\text{median}(\\text{sale ratio},\\ \\text{prior 4 weeks}) \\\\[10pt]\n\\text{feedback bands} &amp;= \\begin{pmatrix} Q_{10}^{\\text{cal}} \\\\ Q_{50}^{\\text{cal}} \\\\ Q_{90}^{\\text{cal}} \\end{pmatrix} \\times \\text{rolling multiplier}\n\\end{align*}&quot;,&quot;id&quot;:&quot;NPXERVVYGW&quot;}" data-component-name="LatexBlockToDOM"></div><p>Each week, the system uses only prior outcomes &#8212; no lookahead. This loop doesn&#8217;t retrain the model. It applies a fast, lightweight market-level correction on top of the existing property-level calibration. The architecture intentionally separates two concerns:</p><blockquote><p><em>Width calibration = property-level uncertainty reliability<br>Market multiplier = market-level bias correction</em></p></blockquote><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2><strong>What Happened in the Test Period?</strong></h2><p>During the held-out test period (March&#8211;May 2015), the market outperformed model expectations. The rolling multiplier moved above 1.0, raising future offers. This improved valuation accuracy and offer competitiveness</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mTjT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mTjT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!mTjT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!mTjT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!mTjT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mTjT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png" width="1448" height="1086" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1086,&quot;width&quot;:1448,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1275482,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mTjT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 424w, https://substackcdn.com/image/fetch/$s_!mTjT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 848w, https://substackcdn.com/image/fetch/$s_!mTjT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 1272w, https://substackcdn.com/image/fetch/$s_!mTjT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5097b46e-26ca-498e-8b0b-cb39cd0058cd_1448x1086.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is the core business tradeoff in any adaptive pricing system. </p><div class="pullquote"><p>Better market alignment &#8594; more competitive offers &#8594; higher conversion &#8594; lower margin.</p></div><p>The feedback loop doesn&#8217;t resolve that tradeoff; it makes it explicit and measurable. In production, the north-star objective would be:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\text{expected contribution} = P(\\text{seller accepts offer}) \\times \\text{expected net profit}&quot;,&quot;id&quot;:&quot;VKYPKIESGO&quot;}" data-component-name="LatexBlockToDOM"></div><p>The public dataset doesn&#8217;t include seller acceptance, so this project measures the risk and margin side &#8212; the conversion benefit is directionally argued but not directly measured.</p><div><hr></div><h2><strong>Step 6: Stress Testing Downside Scenarios</strong></h2><p>The actual test period was favorable. What happens when the market weakens?</p><p>I applied downside shocks to observed test prices and reran the feedback logic using only prior-week outcomes:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8Q40!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8Q40!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 424w, https://substackcdn.com/image/fetch/$s_!8Q40!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 848w, https://substackcdn.com/image/fetch/$s_!8Q40!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 1272w, https://substackcdn.com/image/fetch/$s_!8Q40!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8Q40!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png" width="1672" height="677" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:677,&quot;width&quot;:1672,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1141481,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdefe7e21-3956-496d-8165-c0566540f259_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8Q40!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 424w, https://substackcdn.com/image/fetch/$s_!8Q40!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 848w, https://substackcdn.com/image/fetch/$s_!8Q40!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 1272w, https://substackcdn.com/image/fetch/$s_!8Q40!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb44793e-1be8-439c-993d-020e962c2a6b_1672x677.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>At 15% downside, the feedback loop improved total net P&amp;L proxy by <strong>+$235.5M</strong> relative to the static baseline.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OXJA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OXJA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 424w, https://substackcdn.com/image/fetch/$s_!OXJA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 848w, https://substackcdn.com/image/fetch/$s_!OXJA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 1272w, https://substackcdn.com/image/fetch/$s_!OXJA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OXJA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png" width="1440" height="800" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:800,&quot;width&quot;:1440,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:109641,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!OXJA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 424w, https://substackcdn.com/image/fetch/$s_!OXJA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 848w, https://substackcdn.com/image/fetch/$s_!OXJA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 1272w, https://substackcdn.com/image/fetch/$s_!OXJA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37aff14b-d798-4a26-8ed1-6240ad0398d0_1440x800.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WqII!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WqII!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 424w, https://substackcdn.com/image/fetch/$s_!WqII!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 848w, https://substackcdn.com/image/fetch/$s_!WqII!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 1272w, https://substackcdn.com/image/fetch/$s_!WqII!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WqII!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png" width="1280" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1280,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:51358,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/198467557?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WqII!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 424w, https://substackcdn.com/image/fetch/$s_!WqII!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 848w, https://substackcdn.com/image/fetch/$s_!WqII!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 1272w, https://substackcdn.com/image/fetch/$s_!WqII!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff1e0ca3d-5939-4e74-98b2-8c020ab7ee71_1280x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The symmetry matters. That bidirectional response is what makes this a feedback system, not just a correction mechanism.</p><div class="pullquote"><p><em>Strong market &#8594; multiplier rises &#8594; offers improve &#8594; better conversion<br>Weak market &#8594; multiplier falls &#8594; offers retract &#8594; risk controlled</em></p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2><strong>How I Think About Metrics for a Pricing System</strong></h2><p>Prediction accuracy is necessary but not sufficient. I organize metrics into four layers:</p><p><strong>Model accuracy</strong> (How wrong is the fair-value estimate?)<br>MAE &#183; MAPE &#183; RMSE &#183; signed bias</p><p><strong>Uncertainty reliability</strong> (Can I trust the model&#8217;s confidence?)<br>Q10&#8211;Q90 coverage &#183; quantile calibration &#183; error stratified by uncertainty bucket</p><p><strong>Business value</strong> (Does the pricing policy create value?)<br>Average net P&amp;L proxy &#183; ROI proxy &#183; acceptance-adjusted contribution</p><p><strong>Guardrails</strong> (Is the system taking too much or too little risk?)<br>Overpay-rate proxy &#183; negative P&amp;L rate &#183; manual-review rate &#183; offer competitiveness</p><p>In this project I used average net P&amp;L proxy as the primary business metric. In production, I&#8217;d optimize acceptance-adjusted contribution profit &#8212; the product of conversion probability and margin.</p><div><hr></div><h2><strong>What Comes Next in a Production System</strong></h2><p><strong>A conversion model: </strong></p><p>The missing piece is <strong>P(seller accepts offer)</strong>. Adding it would shift the objective from margin maximization to expected contribution &#8212; explicitly trading off competitiveness and risk.</p><p><strong>Segment-level feedback:</strong></p><p>The current multiplier is market wide. A production system should test segmented multipliers by geography, price band, property type, and liquidity &#8212; accepting the tradeoff between stability and specificity.</p><p><strong>Granular cost modeling: </strong></p><p>Repair cost, holding duration, financing cost, concessions, and resale expenses should each be modeled separately rather than folded into a single spread assumption.</p><p><strong>Leading indicators:</strong></p><p>Resale outcomes arrive late. A faster feedback signal would incorporate listing views, saves, tours, days on market, and inventory levels &#8212; all of which move before transactions close.</p><p><strong>Continuous calibration monitoring</strong></p><p>Coverage should be tracked by market, price band, and cohort over time &#8212; not just measured once at model deployment.</p><div><hr></div><h2><strong>The Broader Pattern</strong></h2><p>This project started with home pricing. The underlying pattern is universal.</p><p>Any business making financial decisions from predictions &#8212; approving or rejecting, bidding or passing, discounting or holding price, buying or routing to review &#8212; faces the same problem:</p><p>A model answers <em>what is the predicted value?</em></p><div class="callout-block" data-callout="true"><p>A decision system also asks:</p><ul><li><p><em>How uncertain is that prediction?</em></p></li><li><p><em>How should uncertainty change the decision?</em></p></li><li><p><em>What actually happened after we acted?</em></p></li><li><p><em>How should future decisions adapt?</em></p></li></ul></div><p>That&#8217;s the difference between a model and a system. The gap between them is where most of the business value lives.</p><h3>View the code here: <a href="https://github.com/Shreyav29/Risk-Aware-Pricing-Engine-with-Closed-Loop-Feedback-Pipeline/tree/main">Github Repo Link</a></h3><div><hr></div><p>Found this post valuable? Show some love with a like &#10084;&#65039;</p><p><a href="https://www.linkedin.com/in/shreya-vontela/">Connect with me on LinkedIn</a> | <a href="https://shreyav29.github.io/">Visit my website</a> </p><div><hr></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading! If you&#8217;re passionate about the disruption of AI in Finance, subscribe to join the community and support my work</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Why Your RAG System Feels Slow — and What’s Missing ? ]]></title><description><![CDATA[Semantic caching is the missing layer that makes RAG systems fast, cheap, and production-ready]]></description><link>https://shreyavontela.substack.com/p/why-your-rag-system-feels-slow-and</link><guid isPermaLink="false">https://shreyavontela.substack.com/p/why-your-rag-system-feels-slow-and</guid><dc:creator><![CDATA[Shreya Vontela]]></dc:creator><pubDate>Tue, 05 May 2026 16:18:24 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/93dc8b64-ddd2-43df-9478-f57931870ef8_1731x909.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Let&#8217;s be honest for a second&#8230;.</h2><p>Every RAG demo looks amazing.</p><p>You type a question &#8594; it retrieves context &#8594; gives a smart answer.</p><p>Feels magical </p><p>But the moment you try to scale it?</p><ul><li><p>Latency starts creeping in</p></li><li><p>Costs quietly explode</p></li><li><p>And users&#8230; ask the same thing again and again</p><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div></li></ul><h2>What&#8217;s Actually Happening Under the Hood</h2><p>Every single query is doing this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SRAi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SRAi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 424w, https://substackcdn.com/image/fetch/$s_!SRAi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 848w, https://substackcdn.com/image/fetch/$s_!SRAi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 1272w, https://substackcdn.com/image/fetch/$s_!SRAi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SRAi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png" width="700" height="244" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e44023e0-c166-4c5d-a126-83e2644208eb_700x244.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:244,&quot;width&quot;:700,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:149382,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SRAi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 424w, https://substackcdn.com/image/fetch/$s_!SRAi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 848w, https://substackcdn.com/image/fetch/$s_!SRAi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 1272w, https://substackcdn.com/image/fetch/$s_!SRAi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe44023e0-c166-4c5d-a126-83e2644208eb_700x244.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Every query goes through the full pipeline&#8212;even if it&#8217;s been asked before.</figcaption></figure></div><h3>Humans don&#8217;t work like this</h3><p>If someone asks you:</p><blockquote><p>&#8220;What&#8217;s the interest rate for a loan modification?&#8221;</p></blockquote><p>&#8230;and then later:</p><blockquote><p>&#8220;How does the rate change during modification?&#8221;</p></blockquote><p>You don&#8217;t go:</p><blockquote><p>&#8220;Hold on, let me recompute everything from scratch.&#8221;</p></blockquote><p>You reuse what you already know.</p><div><hr></div><h2>That&#8217;s what Semantic Caching does!</h2><div class="callout-block" data-callout="true"><h3>What is Semantic Caching?</h3><p>Reuse answers for<strong> </strong><em><strong>similar meaning</strong></em><strong> </strong>queries</p><p>Not exact matches.<br>Not keyword matches.<br><strong>Meaning-level matches.</strong></p></div><div><hr></div><h2>Traditional vs Semantic Cache </h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!p8ef!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!p8ef!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!p8ef!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!p8ef!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!p8ef!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!p8ef!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png" width="724" height="482.8324175824176" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:724,&quot;bytes&quot;:1377368,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!p8ef!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!p8ef!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!p8ef!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!p8ef!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F23e9b3fc-c08c-4252-87b5-946372b4892f_1536x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><p>Exact matching is simple &#8212; but also very limiting.</p><p>In real systems, users rarely ask the same question the same way.</p><p>So instead of matching text, we match meaning &#8212; and route the query through a semantic cache before doing any expensive work.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KN43!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KN43!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 424w, https://substackcdn.com/image/fetch/$s_!KN43!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 848w, https://substackcdn.com/image/fetch/$s_!KN43!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 1272w, https://substackcdn.com/image/fetch/$s_!KN43!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KN43!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png" width="628" height="573" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:573,&quot;width&quot;:628,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:319894,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KN43!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 424w, https://substackcdn.com/image/fetch/$s_!KN43!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 848w, https://substackcdn.com/image/fetch/$s_!KN43!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 1272w, https://substackcdn.com/image/fetch/$s_!KN43!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F153c67e0-7924-4ef5-9f2e-150e901b359c_628x573.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">The cache intercepts queries before they reach expensive components.</figcaption></figure></div><div><hr></div><h2>The &#8220;aha&#8221; moment</h2><p>This layer sits before everything expensive.</p><p>Which means:</p><ul><li><p>No embedding</p></li><li><p>No retrieval</p></li><li><p>No LLM</p></li></ul><p>If there&#8217;s a hit, you&#8217;re done in <em><strong>milliseconds</strong></em>.</p><div><hr></div><h2>But how does it know the two queries are similar?</h2><p>Short answer: <strong>embeddings + similarity</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2Bv1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Bv1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 424w, https://substackcdn.com/image/fetch/$s_!2Bv1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 848w, https://substackcdn.com/image/fetch/$s_!2Bv1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 1272w, https://substackcdn.com/image/fetch/$s_!2Bv1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Bv1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png" width="607" height="345" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:345,&quot;width&quot;:607,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:172286,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2Bv1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 424w, https://substackcdn.com/image/fetch/$s_!2Bv1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 848w, https://substackcdn.com/image/fetch/$s_!2Bv1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 1272w, https://substackcdn.com/image/fetch/$s_!2Bv1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F17e04195-e675-410e-b52b-b8be93b93ce1_607x345.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Query 1 : &#8220;loan modification rate&#8221; and Query 2 : &#8220;interest rate during modification&#8221;  Both the queries map close in vector space &#8594; Treated as same intent </figcaption></figure></div><div><hr></div><div class="callout-block" data-callout="true"><h2>Why this matters? </h2><h4>1. Cost drops instantly</h4><p>LLM calls are expensive<br>&#8594; cache hits eliminate them</p><h4>2. Latency becomes fast-fast</h4><p>Cache hit &#8594; milliseconds<br>Full pipeline &#8594; seconds</p><h4>3. You can actually scale</h4><p>Without caching, RAG gets expensive <em>very fast</em></p></div><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2>Is that it? Did we solve the issue? <em>Not Yet! </em></h2><p>This is where real system design kicks in.</p><h3>1. The Threshold Problem</h3><p>Too strict:</p><ul><li><p>fewer cache hits &#8594; accurate but low reuse </p></li></ul><p>Too loose:</p><ul><li><p>wrong answers &#8594; fast but risky</p></li></ul><blockquote><p>This is not just a technical choice&#8212;it&#8217;s a product decision.</p></blockquote><h3>2. Context changes everything</h3><p>Same query &#8800; same answer</p><ul><li><p>analyst vs customer</p></li><li><p>different products</p></li><li><p>updated policies</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wQTx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wQTx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!wQTx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!wQTx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!wQTx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wQTx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1287065,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wQTx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!wQTx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!wQTx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!wQTx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84137b82-6cb9-4eb6-aa5b-bc32d114397d_1536x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ul><h2>3. Cache invalidation</h2><p>What happens when:</p><ul><li><p>data changes?</p></li><li><p>policies update?</p></li></ul><p>Typical fixes:</p><ul><li><p>TTL (expiry)</p></li><li><p>versioned embeddings</p></li><li><p>doc-based invalidation</p><div><hr></div></li></ul><h2>So, do we only cache answers?</h2><p>Nope. This is where things get interesting.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wPgH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wPgH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 424w, https://substackcdn.com/image/fetch/$s_!wPgH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 848w, https://substackcdn.com/image/fetch/$s_!wPgH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 1272w, https://substackcdn.com/image/fetch/$s_!wPgH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wPgH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png" width="605" height="188" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6121b961-afab-4851-81ad-987b2a05a015_605x188.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:188,&quot;width&quot;:605,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:105582,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wPgH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 424w, https://substackcdn.com/image/fetch/$s_!wPgH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 848w, https://substackcdn.com/image/fetch/$s_!wPgH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 1272w, https://substackcdn.com/image/fetch/$s_!wPgH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6121b961-afab-4851-81ad-987b2a05a015_605x188.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Sometimes caching intermediate steps gives even bigger wins.</figcaption></figure></div><h3>Example: Natural Language to SQL </h3><p>In my previous job, I built a Natural Language to SQL model which dealt with questions like: </p><p>User asks:</p><blockquote><p>&#8220;What&#8217;s the delinquency rate for loans in Texas?&#8221;</p></blockquote><p>Later someone asks:</p><blockquote><p>&#8220;Show delinquency trends in TX&#8221;</p></blockquote><p>Different wording. Same intent</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PGE3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PGE3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!PGE3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!PGE3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!PGE3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PGE3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1176503,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!PGE3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!PGE3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!PGE3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!PGE3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6987cc8d-17bf-4bef-9475-c9c218dc91c6_1536x1024.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">This is where systems go from &#8220;cool demo&#8221; &#8594; &#8220;production-ready&#8221;</figcaption></figure></div><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://shreyavontela.substack.com/subscribe?"><span>Subscribe now</span></a></p><div><hr></div><h2>Multi-Level Caching </h2><p>Advance systems don&#8217;t stop here. Once you add semantic caching, things evolve:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!65hK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!65hK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 424w, https://substackcdn.com/image/fetch/$s_!65hK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 848w, https://substackcdn.com/image/fetch/$s_!65hK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 1272w, https://substackcdn.com/image/fetch/$s_!65hK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!65hK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png" width="691" height="301" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:301,&quot;width&quot;:691,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:185987,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://shreyavontela.substack.com/i/196495787?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!65hK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 424w, https://substackcdn.com/image/fetch/$s_!65hK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 848w, https://substackcdn.com/image/fetch/$s_!65hK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 1272w, https://substackcdn.com/image/fetch/$s_!65hK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92cf780f-1c6f-4dd3-bbbf-e4c5bfec2a65_691x301.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Not all cache hits are equal&#8212;systems layer them. </figcaption></figure></div><blockquote><p>Once you add semantic caching, you stop optimizing the model &#8212; and start optimizing the system.</p></blockquote><h3>Query Rewriting</h3><p>Users ask the same question in many different ways. Query rewriting standardizes these variations into a consistent form before hitting the cache. This reduces noise in embeddings and increases the chances of a cache hit, making semantic caching more effective.</p><h3>Retrieval Caching</h3><p>Instead of caching final answers, you can cache the documents retrieved from the vector database. Since retrieval is often expensive and repeated, this lets you skip that step while still allowing the LLM to generate fresh responses when needed.</p><h3>Hybrid Systems</h3><p>Real systems combine multiple optimizations instead of relying on just one. They use semantic caching for repeated queries, rules for known patterns, and session memory for short-term context&#8212;ensuring the system does the least amount of work possible for each request. </p><div class="callout-block" data-callout="true"><p>Most people think: </p><p>                    <em><strong>RAG performance = better models.</strong></em></p><p>But in reality:</p><p><strong>                    </strong><em><strong>Efficiency layers matter just as much as intelligence layers</strong></em></p></div><div><hr></div><h2>If you&#8217;re building RAG systems&#8230;</h2><p>Ask yourself:</p><ul><li><p>How many queries are you recomputing?</p></li><li><p>What can you reuse?</p></li><li><p>Where are you wasting LLM calls?</p></li></ul><p>You might already have the answers&#8230;</p><p>You&#8217;re just not caching them yet</p><div><hr></div><p>Found this post valuable? Show some love with a like &#10084;&#65039;</p><p><a href="https://www.linkedin.com/in/shreya-vontela/">Connect with me on LinkedIn</a> | <a href="https://shreyav29.github.io/">Visit my website</a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://shreyavontela.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading! If you&#8217;re passionate about the disruption of AI in Finance, subscribe to join the community and support my work</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item></channel></rss>