<?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[OnData.blog]]></title><description><![CDATA[Measuring data, models and LLMs before trusting them. I write about data architecture, engineering and statistics.]]></description><link>https://www.ondata.blog</link><image><url>https://substackcdn.com/image/fetch/$s_!j5YC!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3e0389b0-dba1-4721-b4ac-756c56e4ceee_1024x1024.png</url><title>OnData.blog</title><link>https://www.ondata.blog</link></image><generator>Substack</generator><lastBuildDate>Tue, 24 Nov 2026 18:10:15 GMT</lastBuildDate><atom:link href="https://www.ondata.blog/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Pawel Plaszczak]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[pawelplaszczak@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[pawelplaszczak@substack.com]]></itunes:email><itunes:name><![CDATA[Pawel Plaszczak]]></itunes:name></itunes:owner><itunes:author><![CDATA[Pawel Plaszczak]]></itunes:author><googleplay:owner><![CDATA[pawelplaszczak@substack.com]]></googleplay:owner><googleplay:email><![CDATA[pawelplaszczak@substack.com]]></googleplay:email><googleplay:author><![CDATA[Pawel Plaszczak]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Weak Supervision: TF-IDF Beat My Embeddings... Then I Found the Leak.]]></title><description><![CDATA[Evaluating retrieval without ground truth: a free benchmark, a second opinion from an LLM judge, and the data leak that fooled me for two weeks.]]></description><link>https://www.ondata.blog/p/evaluating-retrieval-without-ground-truth</link><guid isPermaLink="false">https://www.ondata.blog/p/evaluating-retrieval-without-ground-truth</guid><dc:creator><![CDATA[Pawel Plaszczak]]></dc:creator><pubDate>Tue, 24 Nov 2026 09:02:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!dskW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I am building a similarity search engine that tells me whether two Substack or Medium stories are related. I went through hundreds of iterations, polishing and improving it. Each new version of my software is better than last week&#8217;s.</p><p>Wait.</p><p>Is it, really?</p><p>I realize I could not objectively measure the improvement. So I built <strong>a method for ranking the similarity engines</strong>. Using a simple trick, <strong>it works without need of human-generated ground truth labels</strong>. How is this possible? That&#8217;s the first part of this story. You can reuse the idea, too.</p><p>I tested it, and the first results were absurd: TF-IDF, a keyword method from 1972, beat the modern sentence-transformer models. It took me two weeks to find out why, and that&#8217;s the second part of this story.</p><p>Then, once I fixed it&#8230; you shall see. Read on.</p><h2>Who wrote similar?</h2><p>Last spring I wrote about a tool I built to answer a question every writer has: <a href="https://medium.com/@pp_85623/who-wrote-similar-52110fc58950">who wrote something similar?</a> In short: Medium and Substack are both poor at identifying kindred authors, so I built my own finder. It scrapes blog posts, turns them into embedding vectors using a local sentence-transformer model, and ranks candidates by good old cosine similarity (<em>to use the tool, see the bottom of the story</em>).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ocJX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ocJX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 424w, https://substackcdn.com/image/fetch/$s_!ocJX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 848w, https://substackcdn.com/image/fetch/$s_!ocJX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 1272w, https://substackcdn.com/image/fetch/$s_!ocJX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ocJX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png" width="1456" height="1416" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1416,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!ocJX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 424w, https://substackcdn.com/image/fetch/$s_!ocJX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 848w, https://substackcdn.com/image/fetch/$s_!ocJX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 1272w, https://substackcdn.com/image/fetch/$s_!ocJX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56a26699-f3fd-4e17-9618-aebcdac41271_1600x1556.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Two-dimensional map of the Substack posts I worked with: big blobs are blogs, smaller dots are their articles.</figcaption></figure></div><p>Since then the spider has discovered and scored a few thousand blogs, and the ranking algorithm evolved several times. The next step was moving the embeddings into a proper vector database and a RAG pipeline, which opens several opportunities for more intelligent discovery (more on where that led in <a href="https://www.ondata.blog/p/i-tried-to-replace-claude-with-jev-174">I Tried to Replace Claude With Jev, and Kept Both</a>).</p><p>That is where I stopped, because of a question I could not answer. I looked back: every version of this tool felt better than the last. The evolution so far was:</p><ol><li><p>simple Google keyword search</p></li><li><p>TF-IDF, an old lexical method that reads all the words and phrases of a text, but gives most weight to the rare words specific to it</p></li><li><p>a sentence-transformer with MiniLM embeddings (<a href="https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2">all-MiniLM-L6-v2</a>): a small, fast, distilled model with 384 dimensions and 6 layers</p></li><li><p>a sentence-transformer with mpnet embeddings (<a href="https://huggingface.co/sentence-transformers/all-mpnet-base-v2">all-mpnet-base-v2</a>): a medium-depth model with 768 dimensions and 12 layers</p></li></ol><p>Each time I looked at the results and thought: yes, better. But &#8220;felt better&#8221; is not a measurement. Before moving to a more complex architecture, I need metrics: a stable way to tell me whether the results improve or degrade.</p><h2>A subtle link</h2><p>What should a good rating tell? For instance, it should identify subtleties that link two stories and objectively rate them as similar, even if they use very different vocab. Here is an example of what I mean by a subtle link between two stories (sticking to the area I research most: travel blogs).</p><p>A poetic piece, <a href="https://nomadicmind.substack.com/p/the-third-column-of-sicilia">The Third Column of Sicilia</a>, published on the Nomadic Mind travel blog, speaks of the Mediterranean legend of Colapesce, interwoven with the meetings and conversations the author has in Sicily. Implicitly, the story explores a deeper subject: a traveller&#8217;s dilemma, whether to keep exploring or to anchor in one place.</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yV3j!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 424w, https://substackcdn.com/image/fetch/$s_!yV3j!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 848w, https://substackcdn.com/image/fetch/$s_!yV3j!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 1272w, https://substackcdn.com/image/fetch/$s_!yV3j!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!yV3j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png" width="826" height="181" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:181,&quot;width&quot;:826,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!yV3j!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 424w, https://substackcdn.com/image/fetch/$s_!yV3j!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 848w, https://substackcdn.com/image/fetch/$s_!yV3j!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 1272w, https://substackcdn.com/image/fetch/$s_!yV3j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcef5e7da-b2f2-482e-bc75-72eb3ab00cbb_826x181.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>A different blog, Post-Nomad, has a story, <a href="https://www.russellmaxsimon.com/p/over-indexing-on-freedom">Why you should stay in place</a>, in which the author, looking back on his own experience, challenges the popular digital nomad paradigm, arguing against a lifestyle of no commitment.</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dFaz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 424w, https://substackcdn.com/image/fetch/$s_!dFaz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 848w, https://substackcdn.com/image/fetch/$s_!dFaz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 1272w, https://substackcdn.com/image/fetch/$s_!dFaz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!dFaz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png" width="985" height="211" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:211,&quot;width&quot;:985,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!dFaz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 424w, https://substackcdn.com/image/fetch/$s_!dFaz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 848w, https://substackcdn.com/image/fetch/$s_!dFaz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 1272w, https://substackcdn.com/image/fetch/$s_!dFaz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4a5e292-4115-4814-9d50-8814c3ef3502_985x211.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>Both stories explore the same problem, from two very different angles. Compare them with TF-IDF and the method fails spectacularly: they share almost no vocabulary, so the algorithm ranks them as unrelated. But they are related, and quite strongly, by the core question both authors try to answer. That relation lies in the deeper layers of meaning. Even a human reader will see it only after a careful reading; quickly scanning the two stories, you won&#8217;t get it.</p><p>This example defines the challenge of this project: I want a similarity search that detects such subtle connections. To understand that my similarity search improves, I want a &#8220;measuring stick&#8221;. How to build it?</p><h2>No labels, please</h2><p>To check whether the machine ranks correctly you need to know what correct is, which means labels, provided by humans. People are hopeless at absolute scores, but reliable at comparisons. So a typical ranking harness is built out of triples: an anchor post, a positive (a post that should be ranked similar), and a negative (one that should be ranked less similar). Those triples need to be labelled by a human. The standard alternatives (precision@k, nDCG, a Bradley-Terry ranking) all need human verdicts too.</p><p>Makes sense. Except that someone, probably me, would have to read a few hundred posts and patiently label them into triples&#8230; Way too lazy for that.</p><p>Should I employ LLM-as-judge, instead of a human ranker? This I considered but decided to avoid if possible. A judge model is a box I cannot version, cannot fully test, and cannot debug. Its answers are not deterministic and it drifts when the vendor updates it. Maybe I am old-fashioned, but I do not like to replace everything with an LLM if I do not have to. Can we do better, meaning simpler?</p><p><strong>Then I stumbled across a trick that avoids labelling anything.</strong> Take a post from blog X, a second post from the same blog X, and a third from a random blog Y. The two posts from X should be closer to each other than to the stranger, because they have the same author. The author will naturally write stories similar to each other, created by the same brain, same experience, same world view, and same human emotions. No human judgment needed: the label comes from a fact already in the data, namely who wrote it (machine learning calls this weak supervision). Could this method work?</p><p>I was initially suspicious. A simple counterexample: if Jack wrote a story about Kuala Lumpur and another about Paris, and Sandra wrote about Paris too, the two Parisian stories could be closer. But at large scale, the statistics might hold anyway. Jack&#8217;s personality is revealed by his recurring topics, style, humour, interests. With one pair of stories we may fail, but across 100 of Jack&#8217;s stories and 100 of Sandra&#8217;s, the links between the two authors should stay shallow, while the deeper connections form two tight-knit clusters.</p><p>So I decided to give it a try.</p><p>Being old school, I like to visualise data before moving on. I froze 101 blogs, 1,571 posts, and projected every post into two dimensions. Each blog is a star: a hub at the average position of its posts, with a thin line to each one. Colour is the blog&#8217;s coherence: how tightly its posts cluster around its centre.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!z5aL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!z5aL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 424w, https://substackcdn.com/image/fetch/$s_!z5aL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 848w, https://substackcdn.com/image/fetch/$s_!z5aL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 1272w, https://substackcdn.com/image/fetch/$s_!z5aL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!z5aL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png" width="1456" height="1429" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1429,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!z5aL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 424w, https://substackcdn.com/image/fetch/$s_!z5aL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 848w, https://substackcdn.com/image/fetch/$s_!z5aL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 1272w, https://substackcdn.com/image/fetch/$s_!z5aL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff7684de4-e60a-4c53-90d3-875c5230b54d_1600x1570.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">101 blogs, 1,571 posts. Dark blogs stick to one topic, so their stories are strongly similar to each other; light blogs wander. Zoomed in below.</figcaption></figure></div><p>You see at a glance which blogs are disciplined and which wander (<em>btw, all blogs are published in English except the blob in the upper right corner which is far because it is in Spanish</em>). My worry was partly confirmed, but I understood better. Some blogs are coherent (an example marked with a green marker on the zoom below); others produce mutually dissimilar stories which, on the projection, sit closer to other blogs than to their own (an example marked with a red marker).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Nrx0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Nrx0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 424w, https://substackcdn.com/image/fetch/$s_!Nrx0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 848w, https://substackcdn.com/image/fetch/$s_!Nrx0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 1272w, https://substackcdn.com/image/fetch/$s_!Nrx0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Nrx0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png" width="822" height="466" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:466,&quot;width&quot;:822,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:392339,&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://www.ondata.blog/i/226112825?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.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_!Nrx0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 424w, https://substackcdn.com/image/fetch/$s_!Nrx0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 848w, https://substackcdn.com/image/fetch/$s_!Nrx0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 1272w, https://substackcdn.com/image/fetch/$s_!Nrx0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f092eea-f59f-4e7e-9a23-bcd4e5804721_822x466.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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 previous image, zoomed. Green marker: a cluster of stories from a topically coherent blog; red marker: a cluster of stories that belong to different blogs</figcaption></figure></div><p>In general though, I found the visualization quite promising. It showed that the data wasn&#8217;t a horrible mess: just the opposite, several blogs seemed thematically coherent. Not all of them, but that&#8217;s okay: with a sample large enough, the result should average out.</p><p><strong>I decided to proceed with the ultimate similarity ranker built on the simplified principle: &#8220;same author writes similar stories&#8221;. </strong>I saw it wasn&#8217;t perfect, but it was potentially good enough, required no human labeller to produce the ground truth and, unlike LLM-as-judge, its decisions could be tracked to the source and debugged.</p><p>I also computed a coherence number for every blog. This was my way to decide which stories were &#8220;easy positives&#8221;, where similarity was potentially easy to establish, and which were &#8220;hard positives&#8221;, because they belonged to authors who wrote on a variety of topics.</p><h2>First attempt: full failure</h2><p>So I deployed this benchmark to rank the similarity search algorithms my project had used so far. Along the way I fixed one obvious bug: sentence-transformers read only the first 256 to 384 tokens of a text (roughly 200 to 290 words), while my median post has 1,013 words. So I split each post into overlapping chunks of about 150 words, embedded each chunk, and averaged the vectors. (Newer long-context embedding models, such as BGE-M3 or nomic-embed with 8,192 tokens, would read a whole post at once; they are next on my list.) Here are the results:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eJcK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eJcK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 424w, https://substackcdn.com/image/fetch/$s_!eJcK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 848w, https://substackcdn.com/image/fetch/$s_!eJcK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 1272w, https://substackcdn.com/image/fetch/$s_!eJcK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!eJcK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png" width="573" height="256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:256,&quot;width&quot;:573,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!eJcK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 424w, https://substackcdn.com/image/fetch/$s_!eJcK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 848w, https://substackcdn.com/image/fetch/$s_!eJcK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 1272w, https://substackcdn.com/image/fetch/$s_!eJcK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dbe4aee-5eb7-471b-a993-b9a8f19a8302_573x256.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Chunking in place, and TF-IDF still on top.</figcaption></figure></div><p>It did not make sense. My newest methods were ranked weakest. Mpnet, the stronger and larger model, sat below TF-IDF, the barebones method from 1972.</p><h2>A second opinion: the LLM judge agrees</h2><p>I did not understand. I put all of it aside and tested a different ranking method: the LLM judge I had hoped to avoid (compare: Ragas or DeepEval). To save on tokens, I asked the judge only about the triples where two methods disagreed. A cheap model (Gemini Flash) reads the articles and answers the question: which of these two would resonate with the same reader? Here are the results.</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QPm7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 424w, https://substackcdn.com/image/fetch/$s_!QPm7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 848w, https://substackcdn.com/image/fetch/$s_!QPm7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 1272w, https://substackcdn.com/image/fetch/$s_!QPm7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!QPm7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png" width="886" height="160" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:160,&quot;width&quot;:886,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!QPm7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 424w, https://substackcdn.com/image/fetch/$s_!QPm7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 848w, https://substackcdn.com/image/fetch/$s_!QPm7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 1272w, https://substackcdn.com/image/fetch/$s_!QPm7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa270d46d-3d92-4135-8505-73b48cbe70f2_886x160.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div><figcaption class="image-caption">The LLM judge sides with TF-IDF.</figcaption></figure></div><p>Now I was really surprised. Again, the keyword method from 1972 was beating the semantic architecture my whole project is built on, and the beating survived an independent second opinion.</p><h2>Breakthrough: the data leak</h2><p>Then, at six on Friday evening, when I was ready to call it a day, the revelation came. How come every method scores around 90% accuracy on a task I expected to be hard? </p><p>Was I feeding the algorithms something that gave away the answer?</p><p>I was.</p><p>The text being scored, scraped from Substack, was polluted with implicit metadata: subscribe buttons rendered as text, &#8220;Thanks for reading So-and-so&#8221;, author bylines with dates and paid or free tags, paywall tails, app promos. Every one of those carries the blog&#8217;s or the author&#8217;s name, post after post. How many blogs were polluted? Most of them:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QWDE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QWDE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 424w, https://substackcdn.com/image/fetch/$s_!QWDE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 848w, https://substackcdn.com/image/fetch/$s_!QWDE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 1272w, https://substackcdn.com/image/fetch/$s_!QWDE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!QWDE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png" width="621" height="267" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:267,&quot;width&quot;:621,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!QWDE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 424w, https://substackcdn.com/image/fetch/$s_!QWDE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 848w, https://substackcdn.com/image/fetch/$s_!QWDE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 1272w, https://substackcdn.com/image/fetch/$s_!QWDE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14967a7b-b8d0-4763-8d5c-bd3dfa252c9f_621x267.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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 leak, measured on 1,571 posts.</figcaption></figure></div><p><strong>More than three posts in four carried subscription boilerplate. Two blogs in three gave away their own identity in most of their posts.</strong></p><p>So the methods were not comparing nuanced writing, but the authors&#8217; footer templates. And that is perfect food for TF-IDF, which counts words&#8230; </p><p>In simple terms: all the methods compared two articles by the cosine similarity of their vectors, but TF-IDF was cheating, using a convenient shortcut: the same blog name, repeated in both posts.</p><p>I cleaned the set, masking the direct blog identities in the text, and ran it again. Now we&#8217;re talking:</p><pre><code><code>Accuracy on same-blog triples, leaky vs clean text

                    full set          hardest quarter
method              leaky   clean     leaky   clean
TF-IDF              94.3%   81.3%     93.5%   60.4%
MiniLM              90.7%   85.9%     87.4%   73.4%
MiniLM, unchunked   88.2%   85.4%     85.5%   76.0%
mpnet               90.3%   87.6%     85.1%   75.5%
mpnet, unchunked    89.2%   87.9%     83.0%   77.7%

2,280 triples. 95% confidence intervals on clean
text: about &#177;1.5 points (full set), &#177;4 (hardest)</code></code></pre><p>The ranking inverts. On clean text, every embedding model beats TF-IDF, on the full set and on the hardest quarter (<em>the blogs that are internally least topic-coherent, marked with light color in the initial UMAP diagram</em>), and McNemar&#8217;s test says it is not noise (p &lt; 0.0001 for each). On the hardest quarter TF-IDF collapses from first to last, from 93.5% to 60.4%. This matters for hybrid search, the default in today's RAG stacks, which blends a keyword score (BM25, a close cousin of TF-IDF) with embeddings. </p><p>What is somewhat surprising is that chunking improved neither mpnet nor MiniLM (chunked vs unchunked mpnet: p = 0.77 on the full set, p = 0.14 on the hardest quarter). I have a few theories for this, still to be researched. My main suspect: averaging the chunks blurs the author's voice. Things to try: late chunking or contextual retrieval, as they keep the context in each chunk.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">OnData.blog - subscribe to support my writing.</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><h2>What I learned, and what could still be wrong</h2><p><strong>The measuring stick works.</strong> That was the whole point of the exercise: a way to rank the algorithms that search for similar blog posts, without human or AI-generated labels. It is still barebones, but it works. The core idea: <strong>stories from the same author should be ranked similar, and that&#8217;s our ground truth - but those stories must first be carefully stripped of their metadata.</strong></p><p><strong>The progression of my similarity search methodology is real.</strong> The new models find deeper similarities significantly better than the old TF-IDF. And now I can introduce all the goodness of the RAG architecture, knowing that I will be able to measure whether it pushes me forward or backward.</p><p><strong>The LLM judge is not needed. Neither is a human labeller.</strong> Like I wanted. </p><p>Now the lessons. If you evaluate a search, RAG or recommendation system:</p><ul><li><p>Look at the text your models actually see, not the text you think they see. Scraped content carries footers, bylines and boilerplate that can give the answer away. It is the retrieval version of benchmark contamination, the leak that makes LLMs look smarter on tests than they are.</p></li><li><p>When an old baseline beats your modern model, suspect a leak before you celebrate or despair.</p></li><li><p>Compare methods on the same questions with cruel statistics such as McNemar&#8217;s, not by their averages. This, again, saves you from celebrating too quickly.</p></li></ul><p>Now the caveat. The conclusions could still revert. Because look what I did: I was unhappy with a result, I went looking, and I found a method that showed what I wanted to see. <strong>That is dangerously close to p-hacking.</strong> To rule it out, the result has to survive data it has never seen: blogs scraped after the cleaning rules were written, and a small, human-labelled sample of hard triples.</p><p><strong>And the original goal is still far.</strong> The subtle link between the Colapesce story and the Post-Nomad piece I opened with is well beyond the methods I&#8217;ve implemented. The next ideas are a cross-encoder reranker, which reads both stories together, and ColBERT-style late interaction, which compares them word by word instead of as one averaged vector. That gives me direction and motivation to continue the adventure.</p><p>If you have built an evaluation for a semantic search, how did you get your ground truth? Tell me in the comments.</p><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/p/evaluating-retrieval-without-ground-truth?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Know someone comparing embedding models or running an LLM judge? Send them this.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/p/evaluating-retrieval-without-ground-truth?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.ondata.blog/p/evaluating-retrieval-without-ground-truth?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p>PS. <strong>To use the tool:</strong> A minimal, stripped-down version of the code is at <a href="https://github.com/altanova/who-wrote-similar">github.com/altanova/who-wrote-similar</a>. It does not have most of the stuff I built; the main tool has grown complex and is not available publicly. I am thinking of organizing a small cohort of beta testers who could get early access and tell me what they think. If you want to be part of this team, contact me in private.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dskW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dskW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dskW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dskW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dskW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!dskW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!dskW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dskW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dskW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dskW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf9db55a-2215-4659-9d0d-6a2b66856194_1600x1200.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">A Sicilian cave, from one of the travel stories in this similarity search study. By the author&#8217;s permission.</figcaption></figure></div><p><em>First published on Medium.</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">On Data, weekly. Liked it? Subscribe.</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[Mistaken by a Factor of 10,000]]></title><description><![CDATA[Linear charts hide long-tailed data. See how a matplotlib log scale histogram, median and p99 latency reveal what the mean misses, with a Python code you can reuse.]]></description><link>https://www.ondata.blog/p/mistaken-by-a-factor-of-10000</link><guid isPermaLink="false">https://www.ondata.blog/p/mistaken-by-a-factor-of-10000</guid><dc:creator><![CDATA[Pawel Plaszczak]]></dc:creator><pubDate>Tue, 17 Nov 2026 10:14:49 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!r2bM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Long-tailed data is everywhere. It&#8217;s super common: salaries, customer lifetime values, durations of failures. If your histogram shows a rapid hump that then slowly decreases toward the right (Chart 1 below), that&#8217;s your long tail. Whenever you see a long-tailed histogram, use my quick life-saving hack:  redraw it on a logarithmic scale, and you will see miracles. Otherwise you risk completely misinterpreting the chart, like I did.</p><p><br>This long-tailed data has a hidden property: it is &#8220;lognormal&#8221;. Not always, but often. Lognormal data is tricky, because the features of the histogram remain invisible on a linear scale. Draw it the wrong way and you will misread it badly, not by a few percent but by orders of magnitude. In this story I show what happened to me in a real project: during quick exploratory data analysis (EDA), my estimate was off by a factor of ten thousand. What would prevent it? Plotting the histogram on a logarithmic scale. </p><p><strong>If you run EDA on durations, costs or latencies, this is for you.</strong></p><p>The story is a Jupyter notebook. If you are not interested in the code, skip the grey boxes and read the charts. </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">OnData.blog - subscribe to support my writing.</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><h2>The problem with lognormal data</h2><p>When your data is lognormal, it needs a logarithmic scale. To see why, let us generate a lognormal data set and draw it in a plain histogram (without logarithmic scale).</p><pre><code><code>import pandas as pd, numpy as np
import matplotlib.pyplot as plt, seaborn as sns
import loghist   # my small helper module, linked at the end

np.random.seed(2021)</code></code></pre><pre><code><code>x = np.random.lognormal(mean=10.0, sigma=0.8, size=100000)
fig, ax = plt.subplots(1, 1, figsize=(12, 3))
ax.hist(x=x, bins=100, range=(0, 200000))
ax.axvline(x=11000, color='red', linestyle='dashed', label='where the eye puts it (mode)')
ax.axvline(x=x.mean(), color='black', linestyle='dashed', label='mean')
ax.legend(); plt.show()</code></code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!JAOo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!JAOo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 424w, https://substackcdn.com/image/fetch/$s_!JAOo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 848w, https://substackcdn.com/image/fetch/$s_!JAOo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 1272w, https://substackcdn.com/image/fetch/$s_!JAOo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!JAOo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png" width="1456" height="407" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:407,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:40849,&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://www.ondata.blog/i/224526444?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.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_!JAOo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 424w, https://substackcdn.com/image/fetch/$s_!JAOo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 848w, https://substackcdn.com/image/fetch/$s_!JAOo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 1272w, https://substackcdn.com/image/fetch/$s_!JAOo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ec00fab-36e1-4cc9-902a-d6f0425c9652_1994x557.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Chart 1: A lognormal sample. The eye picks the peak (red); the mean (black) is almost three times further right.</figcaption></figure></div><p>The histogram is right-skewed: a spike on the left and a very long tail to the right. Many real data sets look like this. Salaries do. So do the lifetimes of help-desk incidents, which I worked with for years: most incidents are resolved quickly, but a minority lives long, and because those long lifetimes differ so much from each other, they do not form a second spike. They form the tail.</p><p>And here is the problem. What is the average value of this population? Inexperienced readers point at the peak, around 11,000. The real mean is about 30,000. The tail looks visually insignificant, so we intuitively discount it. This time we were &#8220;only&#8221; wrong by a factor of three. <strong>Now for a more radical example.</strong></p><h2>Now it gets interesting</h2><p>Below I generate three populations of 10,000 points each and mix them into one set. I am doing this to recreate the characteristics of a real data set that I experienced in production. The data represents the duration of hardware failures, in minutes: 30,000 failures in total; each lasting a few seconds to a few years. We will plot those durations to see how long a typical failure lasts. First, let&#8217;s create the synthetic data.</p><pre><code><code>df1 = pd.DataFrame({'data': np.random.lognormal(mean=3.0, sigma=1.3, size=10000), 'group': '1 short'})
df2 = pd.DataFrame({'data': np.random.lognormal(mean=8.0, sigma=1.2, size=10000), 'group': '2 medium'})
df3 = pd.DataFrame({'data': np.random.lognormal(mean=13.0, sigma=1.0, size=10000), 'group': '3 long'})
df = pd.concat([df1, df2, df3])
df['seconds'] = df.data * 60</code></code></pre><p>Let us look at it on a linear scale, in eight views spanning from one minute to one year. (<em>The function hist8t is my small utility plotting just what you see below: the same histogram in eight resolutions, using matplotlib. For its definition, see the GitHub link, bottom of the story.</em>)</p><pre><code><code>loghist.hist8t(df, 'data', unit='minute')</code></code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V6tm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V6tm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 424w, https://substackcdn.com/image/fetch/$s_!V6tm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 848w, https://substackcdn.com/image/fetch/$s_!V6tm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 1272w, https://substackcdn.com/image/fetch/$s_!V6tm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!V6tm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png" width="1456" height="648" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:648,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:178524,&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://www.ondata.blog/i/224526444?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.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_!V6tm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 424w, https://substackcdn.com/image/fetch/$s_!V6tm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 848w, https://substackcdn.com/image/fetch/$s_!V6tm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 1272w, https://substackcdn.com/image/fetch/$s_!V6tm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb246aa1-13fc-4211-a8fe-98773f651906_3971x1768.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Chart 2: The same 30,000 failure durations in eight linear views, from one minute to one year.</figcaption></figure></div><p>So, forget that you know how the data was generated. Focus on the charts and tell me what you see. When I saw the chart, I said: nothing special. A typical lognormal chart: a lot of short events, and a long tail toward the right.</p><p>So, how long does a failure last, on average? I would look at the second chart on the left (&#8220;range: 1 hour, bin: 1 minute&#8221;) and visually estimate what we saw earlier in Chart 1. <strong>Twenty or thirty minutes</strong>, I&#8217;d say. </p><p>Let us check:</p><pre><code><code>df.data.mean()
&gt;&gt;&gt; 251659.08</code></code></pre><p>Surprise. <strong>The mean is about 250,000 minutes: 175 days. Our estimate was wrong by a factor of roughly 10,000.</strong></p><p>How could we be so wrong? Nothing happened except the choice of chart, which was misleading. Here is the same data on a logarithmic scale:</p><pre><code><code>fig, ax = plt.subplots(1, 1, figsize=(12, 3.5))
loghist.lhist(axis=ax, df=df, field='seconds', xticks='time', markers=False)
ax.axvline(x=df.seconds.mean(), color='red', linestyle='dashed', label='mean')
ax.axvline(x=df.seconds.median(), color='black', linestyle='dashed', label='median')
ax.legend(); plt.show()</code></code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VoYt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VoYt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 424w, https://substackcdn.com/image/fetch/$s_!VoYt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 848w, https://substackcdn.com/image/fetch/$s_!VoYt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 1272w, https://substackcdn.com/image/fetch/$s_!VoYt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!VoYt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png" width="1456" height="467" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:467,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:38490,&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://www.ondata.blog/i/224526444?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.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_!VoYt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 424w, https://substackcdn.com/image/fetch/$s_!VoYt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 848w, https://substackcdn.com/image/fetch/$s_!VoYt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 1272w, https://substackcdn.com/image/fetch/$s_!VoYt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16af070f-3a5f-41eb-aaa4-9a5a81b3d1ac_1977x634.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Chart 3: The same data on a log scale: three populations appear. Red: the mean, 175 days. Black: the median, 2 days.</figcaption></figure></div><p>The data looks completely different. The population is trimodal: it consists of three distinct groups. In practical terms (remembering that the data represents hardware failures), it looks like there are three kinds of failures: ones that last around 20 minutes, ones that last around two days, and ones that last around ten months. On the linear charts, the second and third groups were practically invisible; only the logarithmic scale will show them. And the mean, far to the right, now makes sense: <strong>it is dragged there by the third group.</strong></p><h2>The loghist module</h2><p>This is why, a few years back, I wrote <code>loghist</code>, a small Python utility module for drawing data with long tails. You saw its two main functions above: <code>hist8t</code> draws linear views at eight time scales, and <code>lhist</code> draws a histogram on a log axis, with time labels if you want. Both can also stack groups in different colors. Here are the three populations stacked, first on a linear scale, then on a log scale.</p><p>First, let&#8217;s draw the data on a linear scale:</p><pre><code><code>loghist.hist8t_stacked(df, 'data', group_field='group', unit='minute')</code></code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YIrb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YIrb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 424w, https://substackcdn.com/image/fetch/$s_!YIrb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 848w, https://substackcdn.com/image/fetch/$s_!YIrb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 1272w, https://substackcdn.com/image/fetch/$s_!YIrb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!YIrb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png" width="1456" height="648" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:648,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:179168,&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://www.ondata.blog/i/224526444?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.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_!YIrb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 424w, https://substackcdn.com/image/fetch/$s_!YIrb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 848w, https://substackcdn.com/image/fetch/$s_!YIrb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 1272w, https://substackcdn.com/image/fetch/$s_!YIrb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc79610cd-0710-4c90-b1a0-f7b497ecc238_3971x1768.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Chart 4: Stacked by group, linear scale: still looks like noise.</figcaption></figure></div><p>Now, the same data, log scale:</p><pre><code><code>fig, ax = plt.subplots(1, 1, figsize=(12, 3.5))
loghist.lhist(axis=ax, df=df, field='seconds', group_field='group',
              bin_density=8, xticks='time', markers=False)
plt.show()</code></code></pre><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mlvf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mlvf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 424w, https://substackcdn.com/image/fetch/$s_!Mlvf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 848w, https://substackcdn.com/image/fetch/$s_!Mlvf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 1272w, https://substackcdn.com/image/fetch/$s_!Mlvf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mlvf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png" width="1456" height="458" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/feb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:458,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:50146,&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://www.ondata.blog/i/224526444?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.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_!Mlvf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 424w, https://substackcdn.com/image/fetch/$s_!Mlvf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 848w, https://substackcdn.com/image/fetch/$s_!Mlvf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 1272w, https://substackcdn.com/image/fetch/$s_!Mlvf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffeb6a68c-c65f-4e50-8f84-90a172737f38_1990x626.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Chart 5: Stacked by group, log scale: three populations, partly overlapping.</figcaption></figure></div><p>On the linear scale the data looks like uninteresting garbage. On the log scale it tells a clear story, and you can see where the three populations overlap.</p><h2>Mean, median, or the wrong question</h2><p>The mean is a poor summary of a skewed distribution; the median is more robust. More broadly, a population like this cannot be described by any single number, so &#8220;what is the average?&#8221; may be the wrong question.</p><p>The log scale helps here too. Look again at the black line on the log chart (Chart 3): the median, about two days, sits right where an untrained reader of that chart would put &#8220;the middle&#8221;. <strong>On a log scale, intuition and statistics agree again</strong>.</p><p>So which number should you report? Here are the candidate statistics for our 30,000 failures:</p><pre><code><code>q = df.data.quantile([0.5, 0.9, 0.95, 0.99])
summary = pd.Series({'mean': df.data.mean(), 'median (p50)': q[0.5],
                     'p90': q[0.9], 'p95': q[0.95], 'p99': q[0.99]})
(summary / 60 / 24).round(1).rename('days')
&gt;&gt;&gt;
mean            174.8
median (p50)      2.1
p90             533.3
p95             870.2
p99            2075.6</code></code></pre><p>Each answers a different question:</p><ul><li><p><strong>Median</strong>: what does a typical case look like? Two days.</p></li><li><p><strong>90th, 95th or 99th percentile</strong>: how bad does it get for the unlucky few? This is the number for SLAs and capacity planning.</p></li><li><p>You can also focus on business measures, like the <strong>total cost of ownership</strong> of a process. Once you convert all those failures to dollars, the total bill will tell the true story.</p></li></ul><h2>Where you will meet this today</h2><p>Help-desk tickets and hardware failures are where I first met this shape. Today it sits under some of the most expensive numbers in data architecture. Two examples out of many:</p><ul><li><p><strong>LLM latency and cost per request.</strong> Most calls are short. A few, such as long contexts, retries and agent loops that take many steps, are very long. Average latency hides the p99 that users actually complain about, and an average cost per call hides the handful of runs that dominate the bill.</p></li><li><p><strong>Query run times and cloud bills.</strong> Data warehouse or Spark queries have the same long tail. A cost forecast built on the typical query will be wrong; the tail defines the invoice.</p><p></p></li></ul><p><strong>The lesson: </strong>if your data has a long right tail, plot it on a log scale before you summarize it, and choose the summary number by the question you need to answer.</p><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/p/mistaken-by-a-factor-of-10000?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Know someone who reports average latency or average cost? Send them this.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/p/mistaken-by-a-factor-of-10000?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.ondata.blog/p/mistaken-by-a-factor-of-10000?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><h2>The code</h2><p>The <a href="https://github.com/altanova/stuff/blob/main/modules/loghist.py">loghist module</a> is free to use and improve; it is illustrative rather than production code. </p><p><em>Revisited: first published on WordPress, 2021</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">On Data, weekly.</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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!r2bM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r2bM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!r2bM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!r2bM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!r2bM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!r2bM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2183749,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/224526444?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!r2bM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!r2bM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!r2bM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!r2bM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7d83523-55f9-47fd-ae07-fb325419cc80_4032x3024.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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><em>This image, which I used as the story&#8217;s cover, shows the very old wine bottles photographed in the wine cellar of Cricova: the enormous underground labyrinth of 120 kilometers of tunnels full of wine, wine and more wine bottles. That&#8217;s near Chi&#537;in&#259;u, Moldova. Must-see.</em></p>]]></content:encoded></item><item><title><![CDATA[OnData top picks of the week (9-14 Nov 2026)]]></title><description><![CDATA[Jev and decision models, LLM forecasting, Next-Concept Modeling, the future of data engineering, text-to-SQL, agentic coding and weather trading]]></description><link>https://www.ondata.blog/p/ondata-top-picks-of-the-week-9-14</link><guid isPermaLink="false">https://www.ondata.blog/p/ondata-top-picks-of-the-week-9-14</guid><dc:creator><![CDATA[Pawel Plaszczak]]></dc:creator><pubDate>Sun, 15 Nov 2026 18:51:57 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ybLu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Here are the best Substack stories I read last week. My criteria are:</p><ol><li><p>The author said or did something unique</p></li><li><p>Good structure and simple vocab. I read once, and I understood</p></li><li><p>I filter out: AI-generated, listicles, sponsored, paid</p></li></ol><p>I also give more points to authors with a smaller audience. Enjoy.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">OnData.blog - once per week.</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><h3>1. Decision models and forecasting</h3><h4>The limits of LLM earnings forecasting - by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Alistair Smallwood&quot;,&quot;id&quot;:170176561,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f83c22d5-3b81-4270-b8eb-84edb1a922b2_1170x1172.png&quot;,&quot;uuid&quot;:&quot;cdb4f24f-60ca-40ea-9fd8-252d1a87222c&quot;}" data-component-name="MentionToDOM"></span> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://theagenticanalyst.substack.com/p/the-limits-of-llm-earnings-forecasting" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vQYt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!vQYt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!vQYt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!vQYt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vQYt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:185260,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://theagenticanalyst.substack.com/p/the-limits-of-llm-earnings-forecasting&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.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_!vQYt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!vQYt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!vQYt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!vQYt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ad0c214-40e9-4e6e-b7e0-fc26b9d53d20_1200x630.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Alistair reports on 25 tests of how well an LLM can forecast quarterly revenue, tested on 500+ companies. What I really liked was how much space he gave to ideas that didn&#8217;t work. This is what makes an honest story. I had to slow down at places to understand the reported numbers. All in all, in some tests Claude&#8217;s forecasts were similar in accuracy to a human analyst, and in selected domains slightly better - as someone outside the field, I would find that remarkable. Great job Alistair.</p><p><em>Keywords: LLM forecasting, earnings forecasting, revenue prediction, Claude, financial analysis</em></p><h4>Cutting agentic AI costs with Jev - by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Kaylyn Van Norstrand&quot;,&quot;id&quot;:463947434,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!NYXF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F515c60e7-8495-4f6b-831b-8d68abc35e81_1080x1080.png&quot;,&quot;uuid&quot;:&quot;2c93b019-0d34-4f2a-8372-b9b36d42a289&quot;}" data-component-name="MentionToDOM"></span> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://fieldnotes.navapbc.com/p/jev-agentic-ai-cheaper-faster" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cTJ5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!cTJ5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!cTJ5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!cTJ5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!cTJ5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b2c5772f-dc06-49db-988f-b0643915368f_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:196684,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://fieldnotes.navapbc.com/p/jev-agentic-ai-cheaper-faster&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.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_!cTJ5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!cTJ5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!cTJ5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!cTJ5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb2c5772f-dc06-49db-988f-b0643915368f_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Having finished <a href="https://www.ondata.blog/p/i-tried-to-replace-claude-with-jev-174">my Jev story</a>, I looked around who wrote something similar, and found this. Kaylyn&#8217;s team from Nava Labs developed a form filling assistant with Vercel&#8217;s Eve agentic framework, with a simple goal: help ordinary users fill bureaucratic forms. They now added Jev, which efficiently maps the data available to the fields, and identifies gaps where data is missing. Much cheaper than an LLM. Conceptually, similar to my own ideas: &#8220;cascading&#8221; from cheap models to expensive ones. This article was easy to read, properly introduced the topic without jargon and guided me through the solution.</p><p><em>Keywords: Jev, decision models, agentic AI, LLM cost reduction, form filling, Vercel Eve</em></p><h4>The Road Not Taken - by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Konrad Banachewicz&quot;,&quot;id&quot;:1501070,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/03f7b5cd-64c6-430f-bd75-c4eb5574e0f9_3840x2160.jpeg&quot;,&quot;uuid&quot;:&quot;fb82c6df-596f-479b-bc42-a40379b4d408&quot;}" data-component-name="MentionToDOM"></span> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://konradb.substack.com/p/the-road-not-taken" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ybvI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!ybvI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!ybvI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!ybvI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ybvI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:432466,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://konradb.substack.com/p/the-road-not-taken&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.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_!ybvI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!ybvI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!ybvI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!ybvI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa3ef9b-4064-4f3e-8e61-e0643b13d638_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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 story also builds a cascading pipeline where cheap decisions come early, and limit the scope of expensive processing which comes later. Using a simple decision switch, Konrad tried to identify a forecasting method optimal for a given case (&#8220;routing&#8221;), instead of using one method for everything. Like in my case, the resulting pipeline is more cost-effective. PS. I think the title is awesome, too. Well done, Konrad.</p><p><em>Keywords: time series forecasting, model routing, agentic forecasting, cascading pipeline</em></p><h3>2. Data people in the AI era</h3><h4>Trying to &#8220;kill&#8221; data engineering - by <strong><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Slawomir Tulski&quot;,&quot;id&quot;:395789477,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4354c080-78a8-47b8-86dd-1af2d2950c93_562x562.jpeg&quot;,&quot;uuid&quot;:&quot;2041bb71-66df-49a4-b659-f331c7f5c37c&quot;}" data-component-name="MentionToDOM"></span></strong> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://thedarksideofdata.substack.com/p/weve-been-trying-to-kill-data-engineering" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8B4I!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!8B4I!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!8B4I!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!8B4I!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!8B4I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:468687,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://thedarksideofdata.substack.com/p/weve-been-trying-to-kill-data-engineering&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.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_!8B4I!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!8B4I!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!8B4I!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!8B4I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa5f1ab0d-a341-43a8-a043-beb20b5430e5_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Slawomir is naming quite precisely what is felt across the IT industry these days:</p><blockquote><p>&#8220;I think that, under the hood, most folks care about one thing: will they be able to make a living in the future? It&#8217;s not about the role in its current shape. It&#8217;s the fear [that] our skills are no longer relevant&#8221;</p></blockquote><p>The word &#8220;fear&#8221; is central, and specific to the IT crowd. In other industry sectors, less present. They&#8217;ve always had it difficult. Whether you were a mason, an accountant or a marketing guy, you&#8217;ve seen demand for your job would grow and shrink several times over the past twenty years, following the natural economy cycles. The IT folks did not ever experience that, so now they panic like the world was over... One more reason to recommend this story is the list of sources diligently listed at its very end. </p><p><em>Keywords: data engineering, future of data jobs, GenAI and IT careers</em></p><h4>Spring, not winter - by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Yali Sassoon&quot;,&quot;id&quot;:16653519,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/7f9049d8-1671-4019-875e-707fb30a6327_6000x4000.jpeg&quot;,&quot;uuid&quot;:&quot;a0f15150-c7b8-4ec7-9049-5f9059587528&quot;}" data-component-name="MentionToDOM"></span> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://datacreation.substack.com/p/spring-not-winter" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jfUg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!jfUg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!jfUg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!jfUg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!jfUg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:360390,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://datacreation.substack.com/p/spring-not-winter&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.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_!jfUg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!jfUg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!jfUg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!jfUg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F75a9b21e-5e20-44b8-b9d4-a0c032353a90_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Read this interesting polemics from <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Yali Sassoon&quot;,&quot;id&quot;:16653519,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/7f9049d8-1671-4019-875e-707fb30a6327_6000x4000.jpeg&quot;,&quot;uuid&quot;:&quot;8a85dcff-f975-444c-834a-9b146bb24714&quot;}" data-component-name="MentionToDOM"></span> from Snowplow, responding to <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Joe Reis&quot;,&quot;id&quot;:3531217,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e4716b1-c223-41e3-b943-def0291bf217_1175x783.jpeg&quot;,&quot;uuid&quot;:&quot;5d076d75-325c-470c-a2fe-c91e0ae6fa26&quot;}" data-component-name="MentionToDOM"></span>&#8217;s story on the &#8220;interregnum&#8221; (the state in which the data industry has found itself). Yali&#8217;s point is the new avenue for the data experts has already been defined. The new job is helping agents learn.</p><p><em>Keywords: data engineering, AI agents, Snowplow, data industry interregnum</em></p><h3>3. Agents and models at work</h3><h4>Model Surgery - by <strong><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Arun S&quot;,&quot;id&quot;:410611,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F98855ab1-2c9f-4b89-b40e-c57338281360_1024x1024.jpeg&quot;,&quot;uuid&quot;:&quot;e2b5ed8b-20b9-450f-a8fa-a9f2f6f26a59&quot;}" data-component-name="MentionToDOM"></span></strong> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://deepgains.substack.com/p/model-surgery-can-an-ai-directly" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XvGY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!XvGY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!XvGY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!XvGY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!XvGY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:226304,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://deepgains.substack.com/p/model-surgery-can-an-ai-directly&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.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_!XvGY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!XvGY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!XvGY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!XvGY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F070a1ed1-eacf-4872-a29e-07492217af1c_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Arun&#8217;s story must have cost days, if not weeks of work. He repeated, with limited resources, the experiment from MIT CSAIL paper: &#8220;Sparks of Weight-Space Programming&#8221; (Takehi, Teoh, Zhang and Khattab) - in which the authors asked one model to manually improve another model, by simply adjusting its weights. This is quite innovative, because normally this is not how you adjust weights - you do it by training. This prompted me to extrapolate the author&#8217;s conclusions to something more generic and philosophical: can a model improve itself (by managing its own weights)? Or, can a model create a more powerful model, with similar techniques? </p><p><em>Keywords: weight-space programming, model editing, machine unlearning, MIT CSAIL</em></p><h4>I have a mission for you, dear agent - by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;timo dechau &#128377;&#128736;&quot;,&quot;id&quot;:29441309,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1fca99-7129-4137-809c-76ce712d4011_900x886.png&quot;,&quot;uuid&quot;:&quot;9e9b9b7b-0eda-43ee-8702-11dce7296619&quot;}" data-component-name="MentionToDOM"></span> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://hipsterdatastack.substack.com/p/i-have-a-mission-for-you-dear-agent" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oV5C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!oV5C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!oV5C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!oV5C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!oV5C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/818677f0-70c2-487e-8170-946e30d7c276_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:314117,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://hipsterdatastack.substack.com/p/i-have-a-mission-for-you-dear-agent&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.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_!oV5C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!oV5C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!oV5C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!oV5C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F818677f0-70c2-487e-8170-946e30d7c276_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Timo shares something many of us are looking at: a structured, objective-driven approach to managing an agentic programming framework. I learned a lot from Timo, because I have been doing the same but in a less advanced and systematic way: forcing the agent to write the plan, commit often, document, and outsource to cheaper agents, etc. In the comment, I also shared something more philosophical&#8230; Timo, a programmer, with this project became a PM of a cohort of agents. Going forward, if this is the future of programming (and I think it is), I am simply curious whether people who liked coding, will still like to be in this role...</p><p><em>Keywords: agentic programming, AI coding agents, analytics engineering, agent workflow</em></p><h4>Next-Concept Modeling - by <strong><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Ben Dickson&quot;,&quot;id&quot;:7916325,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/196396f9-73b5-4051-bc4e-093c29aeb8a7_689x841.png&quot;,&quot;uuid&quot;:&quot;b458c98f-0eee-4b56-90e5-07cc9c17b6a9&quot;}" data-component-name="MentionToDOM"></span></strong> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://bdtechtalks.substack.com/p/next-concept-modeling-shows-that" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V4dG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!V4dG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!V4dG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!V4dG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!V4dG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:342030,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://bdtechtalks.substack.com/p/next-concept-modeling-shows-that&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.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_!V4dG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!V4dG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!V4dG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!V4dG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5b764ec5-e210-4517-9a49-ec925f2081c0_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Ben is bringing to our attention the NCM architecture published on 9th October by a Stanford team (the story has a link to the arXiv paper). They&#8217;ve challenged the core idea of LLMs as we know them today: they generate one word at a time. This causes known hiccups, such as the model&#8217;s inability to correct itself, which is only partially fixed by Chain-of-Thought. NCM works differently: it works simultaneously on batches of text, which it would progressively refine in its entirety (if I understand it correctly). In doing so, it is much faster and more effective. </p><p><em>Keywords: Next-Concept Modeling (NCM), next-token prediction, LLM architecture, chain-of-thought</em></p><h4>Foundation models vs. a tuned LightGBM - by <strong><span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Nikos Kafritsas&quot;,&quot;id&quot;:167905535,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/95b7b42e-3dac-4d06-a08d-c123b32dfe58_400x400.png&quot;,&quot;uuid&quot;:&quot;89400d83-9243-47f3-9778-d92590f97682&quot;}" data-component-name="MentionToDOM"></span></strong> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://aihorizonforecast.substack.com/p/can-foundation-models-beat-a-tuned" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ba4s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!Ba4s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!Ba4s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!Ba4s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ba4s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:325244,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://aihorizonforecast.substack.com/p/can-foundation-models-beat-a-tuned&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.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_!Ba4s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!Ba4s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!Ba4s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!Ba4s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20b791a2-ace5-40d4-8b9c-8d9b301a0b20_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Nikos tested that foundation models, which are by definition generic, can predict so well that they outperform traditional ML models specifically trained for the task. The author here tried to predict energy prices in Germany, one day in advance. Kumo-large and other foundation models did this better than LightGBM, which would be traditionally used for this kind of problem (MAE lower by 21%). Good story, logical and easy to read.</p><p><em>Keywords: foundation models, time series forecasting, LightGBM, electricity price forecasting</em></p><h3>4. To end on a high note</h3><h4>$200 to $95k trading the weather - by <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Philip Lesniak&quot;,&quot;id&quot;:404397221,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1d77fb4d-9ef3-4eea-870c-14f5f7a34f4a_3216x3216.jpeg&quot;,&quot;uuid&quot;:&quot;5f5f26fd-58c2-4d11-8191-dde9f516c03e&quot;}" data-component-name="MentionToDOM"></span> </h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://philiplesniak.substack.com/p/how-i-took-200-95k-trading-the-weather" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xcfy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!xcfy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!xcfy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!xcfy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!xcfy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:228156,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://philiplesniak.substack.com/p/how-i-took-200-95k-trading-the-weather&quot;,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.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_!xcfy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 424w, https://substackcdn.com/image/fetch/$s_!xcfy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 848w, https://substackcdn.com/image/fetch/$s_!xcfy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 1272w, https://substackcdn.com/image/fetch/$s_!xcfy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feaa15ee5-02ae-488a-9a43-fdddc35f2e96_1200x630.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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 story is funny and unique. Philip explains how he made quick money trading weather markets. The underlying idea was super simple: compare your own predicted temperature distributions with the market-implied ones, looking at really basic stuff - CDFs, means, and sigmas, and exploit the differences. Then, building and training the models behind it required considerably more sophisticated techniques, but still - he used commonly available models. He's publishing it now that this particular trading opportunity has disappeared, so all of us, readers, read this and think - I could have thought of that!</p><p><em>Keywords: weather markets, prediction markets, trading, temperature forecasting, statistics</em></p><h3>Bottom line</h3><p>That&#8217;s about it for this week. If you are one of the authors, thank you, and feel free to share this list. If you read a story this week that I should not miss, drop me a comment. The next one comes next weekend&#8230; maybe. Time permitting.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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://www.ondata.blog/subscribe?"><span>Subscribe now</span></a></p><p>Other than that, on Friday afternoon, I saw this meme below and immediately thought of the story of <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;timo dechau &#128377;&#128736;&quot;,&quot;id&quot;:29441309,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b1fca99-7129-4137-809c-76ce712d4011_900x886.png&quot;,&quot;uuid&quot;:&quot;70b86dd5-01ae-4db9-bed8-4c1100dd4d97&quot;}" data-component-name="MentionToDOM"></span> above. Then I tried the prompt. ChatGPT took it seriously and started implementing Uber. I killed it, but you can try, especially if you want to impress your sister.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ybLu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ybLu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ybLu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ybLu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ybLu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ybLu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg" width="904" height="904" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:904,&quot;width&quot;:904,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:149831,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/225053364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ybLu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 424w, https://substackcdn.com/image/fetch/$s_!ybLu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 848w, https://substackcdn.com/image/fetch/$s_!ybLu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!ybLu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4d22d6e3-5b63-4ccc-b74e-f784bdcdd657_904x904.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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 class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/p/ondata-top-picks-of-the-week-9-14?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.ondata.blog/p/ondata-top-picks-of-the-week-9-14?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p>]]></content:encoded></item><item><title><![CDATA[I Tried to Replace Claude With Jev, and Kept Both]]></title><description><![CDATA[System One Decision Model + semantic embeddings: better content discovery, less LLM tokens]]></description><link>https://www.ondata.blog/p/i-tried-to-replace-claude-with-jev-174</link><guid isPermaLink="false">https://www.ondata.blog/p/i-tried-to-replace-claude-with-jev-174</guid><dc:creator><![CDATA[Pawel Plaszczak]]></dc:creator><pubDate>Tue, 10 Nov 2026 10:56:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!T0qu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I build tools for writers. Every day, my agentic pipeline scans a few thousand Substack stories and decides which ones deserve attention. Claude, used as the final LLM-as-judge, is costly: some $3 per batch of 70 stories.</p><p>This is why I looked at Jev: a decision model that cannot produce text, but can make decisions, and it : $0.042 per million tokens. Could Jev replace Claude? Read below.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">Subscribe to OnData.blog</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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2ELN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2ELN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 424w, https://substackcdn.com/image/fetch/$s_!2ELN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 848w, https://substackcdn.com/image/fetch/$s_!2ELN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 1272w, https://substackcdn.com/image/fetch/$s_!2ELN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2ELN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png" width="1050" height="514" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cac96d38-9882-4431-a396-2c0d9decc904_1050x514.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:514,&quot;width&quot;:1050,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2ELN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 424w, https://substackcdn.com/image/fetch/$s_!2ELN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 848w, https://substackcdn.com/image/fetch/$s_!2ELN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 1272w, https://substackcdn.com/image/fetch/$s_!2ELN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcac96d38-9882-4431-a396-2c0d9decc904_1050x514.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>My pipeline, before and after learning to use Jev</p><h2>What my pipeline does</h2><p>I&#8217;ve been working on analytical tools for authors who publish on Substack and Medium. While Medium promotes posts automatically, relying mostly on its discovery algorithm, Substack is more relationship-driven: writers are expected, and encouraged, to engage with each other. So my tools help authors find other, kindred authors to engage with. You will find some details on the mechanics of my scripts in my older stories: <a href="https://medium.com/@pp_85623/who-wrote-similar-52110fc58950">&#8220;Who wrote similar?&#8221;</a> and <a href="https://medium.com/data-and-beyond/evaluating-retrieval-without-ground-truth-sentence-transformer-llm-as-judge-and-data-leak-fc3177ce6d6b">&#8220;Evaluating Retrieval Without Ground Truth&#8221;</a>. Since then, the toolset has grown into a number of agentic pipelines working daily over a large database of blogs.</p><p>The idea is simple. Take the author&#8217;s recent story, search Substack for stories with an intriguing similarity to it, and propose them to the author, who may then decide to engage with the other authors. Teaming up with another, kindred author can have mutual benefits: commenting or recommending each other has more value if the interests of both audiences overlap. So the script crawls the blogosphere and identifies candidate stories, ranked by cosine similarity and a few other factors.</p><p>But cosine similarity is a &#8220;shallow&#8221; metric. It captures shared words and themes, but not well the deep, underlying ideas. Here is an example. One of the blogs the pipeline serves is Nomadic Mind, a travel blog. Its series &#8220;<a href="https://nomadicmind.substack.com/p/where-europe-still-dances-the-other?r=31fxoh&amp;utm_campaign=post-expanded-share&amp;utm_medium=web">Where Europe Still Dances</a>&#8221; explores the experience of the traditional French dance balls. On the other end of the blogosphere, another author wrote &#8220;<a href="https://allaboutpsychology.substack.com/p/why-making-music-together-feels-so">Why Making Music Together Feels So Good</a>&#8221; &#8212; explaining the concept of <em>participatory music making</em>, featuring a Chilean teacher performing Depeche Mode for his class. Both stories are kindred, similar in spirit. Their underlying theme is the joy of participating in music together. But the cosine ranker missed that deeper connection and ranked the similarity low. The vocabulary of both stories doesn&#8217;t really overlap, and France is so far from Chile&#8230;so the cosine similarity fails.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OWfB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OWfB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 424w, https://substackcdn.com/image/fetch/$s_!OWfB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 848w, https://substackcdn.com/image/fetch/$s_!OWfB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!OWfB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!OWfB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg" width="1050" height="700" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:700,&quot;width&quot;:1050,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!OWfB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 424w, https://substackcdn.com/image/fetch/$s_!OWfB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 848w, https://substackcdn.com/image/fetch/$s_!OWfB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!OWfB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde437528-f61e-43c1-9b5d-11c17fde8463_1050x700.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">from Nomadic Mind&#8217;s &#8220;Where Europe Still Dances&#8221; (by permission)</figcaption></figure></div><h2>My architecture so far</h2><p>This is why the cosine ranker, a bit dumb, is only a preliminary ranking. My pipeline, until now, was:</p><ol><li><p><strong>scoring</strong>: cosine similarity of embeddings</p></li><li><p><strong>vetting</strong>: a cheap model, Gemini 2.5 Flash or Claude Haiku, filters out unwanted topics</p></li><li><p><strong>triage</strong>: Claude, expensive, acting as an LLM-as-judge, making the final decision, often overturning the initial judgement.</p></li></ol><p>On the test run, 492 articles were scored. The vetting filtered out most of them, and the remaining 61 went to Claude. Claude triaged them, rejected most and eventually selected 18 fair and 9 highly promising candidates for an engagement. The prototype pipeline works well.</p><p>Except it costs $3.02 per run, most of which are Claude tokens.</p><p>My pipeline sits on Databricks, ready to be parallelized as multitenant Spark jobs, run for many users at once, simultaneously, and regularly. There is nothing blocking it technically, except the prohibitive cost of tokens. Too high &#8212; by two orders of magnitude.</p><p>This is when decision models caught my attention.</p><h2>Jev, a model that cannot write</h2><p>While an LLM produces text, a decision model produces, you guessed it, a decision. Conceptually, it&#8217;s like a good old classifier: &#8220;Look at this picture. Is it a human? Is it a bicycle?&#8221; But it&#8217;s better: modern decision models are built on transformer architectures, so they accept text as input. Still, the output is not text.</p><p><a href="https://typesafe.ai/blog/introducing-system-one-models-and-jev">Jev</a> comes from TypeSafe AI, a San Francisco lab founded by Diogo Almeida, a former OpenAI researcher. On 15 September 2026 it was released and marketed as &#8220;System One Model&#8221;, after System 1, the fast thinking in Daniel Kahneman&#8217;s famous book <em>Thinking, Fast and Slow</em>. All of a sudden everyone was talking about it. Vercel added Jev to its AI Gateway on the second day, and <a href="https://www.infoq.com/news/2026/10/typesafe-ai-jev-released/">reported</a> that nearly 13% of its paid teams tried it within 24 hours. Welcome to the world where things happen faster than we&#8217;ve been used to&#8230;</p><p>Also OpenRouter added Jev to its collection. OpenRouter is a public gateway that provides a uniform interface to many models. So I used Jev through OpenRouter.</p><p>How does Jev work in practice? It is simple. In a JSON document, you ask Jev a question, with some context (text). The questions can be of three types:</p><ul><li><p><strong>Choice:</strong> &#8220;Is this email intended for sales, invoicing or complaints?&#8221;</p></li><li><p><strong>Score:</strong> &#8220;Rate this student between 0 and 100&#8221;</p></li><li><p><strong>Noul:</strong> &#8220;Provide probability that a statement is true.&#8221;</p></li></ul><p>Here below is an example request I was sending, shortened. In the first question (choice), I am asking to classify the story. In the second (noul), I am asking if the story is politically biased.</p><pre><code>{
  &#8220;model&#8221;: &#8220;typesafe/jev-1.14&#8221;,
  &#8220;state&#8221;: &#8220;Title: ...\nSubtitle: ...\nBlog: ...\n\n(the first 3,000 characters of the article)&#8221;,
  &#8220;questions&#8221;: {
    &#8220;topic&#8221;: {
      &#8220;type&#8221;: &#8220;choice&#8221;,
      &#8220;instructions&#8221;: &#8220;What is the main topic of the post?&#8221;,
      &#8220;criteria&#8221;: {
        &#8220;travel_places_cultures_abroad&#8221;: &#8220;Travel, specific places, other cultures, or living abroad&#8221;,
        &#8220;partly&#8221;: &#8220;Touches on travel or places but mainly about something else&#8221;,
        &#8220;other&#8221;: &#8220;Not about travel, places, cultures or living abroad&#8221;
      }
    },
    &#8220;political&#8221;: {
      &#8220;type&#8221;: &#8220;noul&#8221;,
      &#8220;instructions&#8221;: &#8220;The post takes one political side as unquestioned fact, uses derogatory labels for political opponents, or is written for one political camp. A post that discusses politics, policy or political events analytically does not count.&#8221;
    }
  }
}</code></pre><p>And here is the answer:</p><pre><code>{
  &#8220;topic&#8221;: { &#8220;choice&#8221;: &#8220;partly&#8221;,
             &#8220;probabilities&#8221;: { &#8220;travel_places_cultures_abroad&#8221;: 0.02, &#8220;partly&#8221;: 0.90, &#8220;other&#8221;: 0.08 } },
  &#8220;political&#8221;: { &#8220;noul&#8221;: 0.92 },
  &#8220;usage&#8221;: { &#8220;input_tokens&#8221;: 1249, &#8220;cost&#8221;: 0.000052 }
}</code></pre><p>This approach has tremendous advantages. First, it is fast and cheap: the call above cost five thousandths of a cent. Secondly, it radically simplifies the architecture. Many guardrails become unnecessary: since text is not part of the output, it cannot be toxic, harmful or adversarial. Also, prompt hacking has a smaller effect. An attacker can, at most, influence or bias the output categories.</p><p>TypeSafe even claims that Jev &#8220;can&#8217;t hallucinate&#8221;. I don&#8217;t know about that. Jev&#8217;s architecture has not been published. As Armin Ronacher <a href="https://techcrunch.com/2026/09/18/a-new-kind-of-ai-model-from-a-chatgpt-inventor-is-thrilling-developers/">put it</a>, the design &#8220;delegates the hallucination problem a little bit to the user&#8221;.</p><p>I realized quickly Jev could solve two problems at once: reduce cost and simplify architecture. Could it also improve the results?</p><h2>Jev judged bias better than the LLM</h2><p>Now, I need to explain why I need the vetting phase.</p><p>In the process of identifying kindred stories, I learned that embedding similarity paints only part of the picture. Especially in the American blogosphere, there are two particularly nasty types of texts that pass unnoticed through the embedding sieve: politically biased and religiously biased ones. They use similar wording and similar themes to the target story, yet they are far from &#8220;kindred&#8221;.</p><p>Take France. Nomadic Mind has a story called &#8220;<a href="https://nomadicmind.substack.com/p/paris-propriety-and-urban-rebellion">Paris: Propriety and Urban Rebellion</a>&#8221;, in which its author boards a train to a clandestine anarchist meeting in a Parisian suburb. Its tone is playful, tongue-in-cheek. The embeddings ranker did not get the humor and rated the story closest to &#8220;What&#8217;s Really Going on in France?&#8221;, written by Nick Griffin, the former leader of the British National Party, blaming the recent riots on the far left. One story is sarcastic, the other is political, but they were rated alike for similar vocabulary. The similarity ranking was initially driven by 384-dimensional embeddings of MiniLM over Chroma. Increasing the dimensionality to 768 (replacing MiniLM with all-mpnet-base-v2) did not help either. Possibly, scaling further to deeper models with 3K dimensions would change something, but that is outside my options.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!quiU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!quiU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 424w, https://substackcdn.com/image/fetch/$s_!quiU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 848w, https://substackcdn.com/image/fetch/$s_!quiU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!quiU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!quiU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg" width="1050" height="788" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:788,&quot;width&quot;:1050,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!quiU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 424w, https://substackcdn.com/image/fetch/$s_!quiU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 848w, https://substackcdn.com/image/fetch/$s_!quiU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!quiU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04e6a040-c4ed-4fec-baa0-53993092f1d3_1050x788.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">From Nomadic Mind&#8217;s Paris story (by permission)</figcaption></figure></div><p>Religion bias works the same way. Nomadic Mind has a story from West Africa, where its author listens to people who believe in the devil of the forest. The story landed close to various obscure conspiracy theories explaining how the magical operations of freemasonry hidden lodges lead to control of the Global Elite. Both stories speak of the devils, but the authors are very unlikely to want to engage mutually: the first author looks at the phenomenon as folklore, the other one honestly believes in the paranormal and takes religious stance.</p><p>This is where the vetting comes in. In the second phase of the pipeline, I used a cheap model, Gemini or Haiku to filter out various unwanted features of the candidate stories. Among them, importantly, I wanted the <strong>politically and religiously biased texts out</strong>.</p><h2>Could the vetting model be replaced by Jev?</h2><p>I sent the same 492 articles to Jev asking it to do the same job. To my disappointment, it flagged only 16 articles as political, and 5 as religious (as opposed to Gemini, which earlier had filtered out over 100 for bias). I thought Jev was wrong, so I reviewed what was happening, and it turned out that the initial sieve had been wrong! Gemini (or Claude Haiku) classified stories as &#8220;political&#8221; when they just spoke about politics. Jev was sharper for the price: it distinguished political topic from political bias. It wasn&#8217;t perfect, but it was better: when I manually ranked stories for political bias, it agreed with me 21 out of 24 times.</p><p>All in all however, the effect on my most important parameter (cost in dollars) was bizarre: even though Jev was generally more effective, we ended up filtering fewer stories, not more. Not good! Our goal was to filter early as much as possible, so that the LLM phase would focus on fewer stories and be cheaper. Instead, it got pricier. So I looked at the more interesting part: <strong>could Jev replace the LLM in the third phase (triage)?</strong></p><h2>Jev for triage</h2><p>Triage (phase 3) was the most expensive phase. The model, LLM-as-judge receives only the best stories as input, and makes the ultimate verdict: which story is most similar to ours, and which author is worth engaging with. Here, we need an expensive model (today, Claude Opus). Cutting the cost of this phase would have the highest effect.</p><p>I first tried to bluntly replace the LLM-as-Judge by Jev. This failed. Claude understood the context and nuance better. On the sample of 52 stories a human ranked top, Claude agreed with 40, while Jev agreed with 17. But this gave me an idea. Seventeen, which comes almost free, is already something. Could I use Jev to better rank stories, so Claude could just read the top of the list and burn fewer tokens?</p><p>So far, I only used Jev to filter out political and religious bias. Wrong. He could do more.</p><p>Here, I used Jev&#8217;s Noul-type query. The goal was to understand whether a candidate article had an interesting angle relative to the author&#8217;s story. So I asked Jev a simple question: &#8220;Would the author of story A be interested in commenting on article B?&#8221; A Noul yes/no answer carried probability, which I later interpreted as score. (<em>technical note: it could be more natural to use Jev&#8217;s native Score-type query, but somehow I was unsuccessful in it. The requests were blocked, probably at OpenRouter&#8217;s API level. Whatever. Probability of True was good enough.</em>)</p><p>Jev&#8217;s scores were promising, but not great. It ranked somewhat better than embeddings, but not well enough to replace Claude. Initially, the numbers looked poor, confirmed by the visualization below. Both rankers correlated poorly with each other, and also with human judgement. If they did, the blue dots on the diagram below should sit in the top right corner, where they are not.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4pTc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4pTc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 424w, https://substackcdn.com/image/fetch/$s_!4pTc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 848w, https://substackcdn.com/image/fetch/$s_!4pTc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 1272w, https://substackcdn.com/image/fetch/$s_!4pTc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!4pTc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png" width="1050" height="692" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:692,&quot;width&quot;:1050,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!4pTc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 424w, https://substackcdn.com/image/fetch/$s_!4pTc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 848w, https://substackcdn.com/image/fetch/$s_!4pTc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 1272w, https://substackcdn.com/image/fetch/$s_!4pTc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8919b8e9-6f6e-4b4e-bfd3-1850c28dbadc_1050x692.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">How Jev and Embeddings ranked the stories which were best (by an impartial human ranker)</figcaption></figure></div><h2>Two rankers, two kinds of kinship</h2><p>But a seasoned data scientist learns to distrust numbers. I dived deeper and saw something intriguing: the two rankers ranked different kinds of articles high.</p><p>The embeddings found kinship in vocabulary, but this included location and subject. &#8220;The women banished as witches in West Africa&#8221; scored 0.80 against <a href="https://nomadicmind.substack.com/p/how-the-witch-saved-aishas-baby-47a">&#8220;How the Witch Saved Aisha&#8217;s Baby&#8221;</a>, Nomadic Mind&#8217;s story also set in West Africa. Jev instead found kinship in ideas. He correctly decided that an Irish music session in a Dublin pub was related to a sagra (village festival) in Puglia, southern Italy.</p><p>Once I understood this, the solution was straightforward.</p><p>I tweaked some things, and hacked an algorithm that blended both rankers (score fusion) &#8212; copying the idea of machine learning models ensemble: &#8220;can a set of weak classifiers create, as an ensemble, a powerful classifier?&#8221; Yes it can:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7zFd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7zFd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 424w, https://substackcdn.com/image/fetch/$s_!7zFd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 848w, https://substackcdn.com/image/fetch/$s_!7zFd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 1272w, https://substackcdn.com/image/fetch/$s_!7zFd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!7zFd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png" width="1050" height="398" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f072f5e6-5348-4c23-8749-c35f48294521_1050x398.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:398,&quot;width&quot;:1050,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!7zFd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 424w, https://substackcdn.com/image/fetch/$s_!7zFd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 848w, https://substackcdn.com/image/fetch/$s_!7zFd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 1272w, https://substackcdn.com/image/fetch/$s_!7zFd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff072f5e6-5348-4c23-8749-c35f48294521_1050x398.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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>Blended ranker is better than both Jev and Embeddings alone</p><h2>The new architecture</h2><p>So we have built the final architecture:</p><ol><li><p><strong>Discovery.</strong> The script finds candidate stories, as before</p></li><li><p><strong>Vetting.</strong> Jev filters out biased posts and other unwanted categories</p></li><li><p><strong>Ranker.</strong> The embeddings and Jev, blended, tell Claude what to read first</p></li><li><p><strong>LLM-as-judge, only on the top of the list.</strong> Claude is still there, but he reads only very few articles, so he is much cheaper.</p></li></ol><p><strong>Performance?</strong> Twice as good as before. At the top of the list, Claude used to find 11 of the 52 best stories. Now he finds 24.</p><div class="captioned-button-wrap" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/p/i-tried-to-replace-claude-with-jev-174?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="CaptionedButtonToDOM"><div class="preamble"><p class="cta-caption">Know someone paying too much for LLM-as-judge? Send them this.</p></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/p/i-tried-to-replace-claude-with-jev-174?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.ondata.blog/p/i-tried-to-replace-claude-with-jev-174?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p></div><p><strong>Cost?</strong> $3.02 dropped to $1.39. Claude no longer loads a list of 60 to 90 articles into its context, but reads only the very best candidates and stops. This is still too expensive, but it defines an avenue for further tuning and cost saving. I have a number of ideas how. Hint: Jev&#8217;s part of today&#8217;s $1.39 cost is $0.02 (yes, two cents)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!994n!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!994n!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 424w, https://substackcdn.com/image/fetch/$s_!994n!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 848w, https://substackcdn.com/image/fetch/$s_!994n!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 1272w, https://substackcdn.com/image/fetch/$s_!994n!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!994n!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png" width="1050" height="324" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:324,&quot;width&quot;:1050,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!994n!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 424w, https://substackcdn.com/image/fetch/$s_!994n!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 848w, https://substackcdn.com/image/fetch/$s_!994n!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 1272w, https://substackcdn.com/image/fetch/$s_!994n!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9853a43-fffc-42c2-a8d2-dde912ad9f4f_1050x324.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">total cost of a run: before, after, and Jev alone</figcaption></figure></div><p></p><p><strong>Architecture?</strong> It is not only simplified (less worry on LLM guardrails), but also it became ready to scale over Databricks, enabling multitenancy over massively parallel runs that scale not only technically, but also financially.</p><h2>Are decision models (like Jev) a game changer?</h2><p>Yes. For bounded questions, I believe they are. And, as this project shows, many problems can be redefined as such.</p><p>Jev could not replace Claude as the judge. But on bias, it was better than cheap LLM, and as a ranker it let Claude read much less. Per article, it was 130 to 180 times cheaper. The cheap layer already costs almost nothing: what remains is Claude&#8217;s reading. Jev writes no text, so fewer things can go wrong and output processing is simpler, although its answers can still be wrong. This fits a pattern that is becoming common in AI engineering: a cascade, or model routing, where cheap &#8220;System One&#8221; models make the fast decisions, and an expensive LLM is called only sparingly.</p><p>Jev is not alone. Since it launched, several alternatives appeared. For instance, Remigiusz Kinas published <a href="https://huggingface.co/Remek/basal-1.0-1.5B">Basal</a>, a small model (1.5 billion parameters), fine-tuned from the Polish model Bielik, and free under the Apache 2.0 license. In its author&#8217;s benchmark, it beats Jev. Then came Cloudflare&#8217;s Clef, OpenAI&#8217;s Decisions API, and Fastino&#8217;s GLiNER2.5-Decide. I tested only Jev, not because I found it superior, but because I wanted to test the concept: decision model instead of LLM-as-judge.</p><p>Decision models such as these, together with sentence-transformers and a vector database such as my Chroma, are the base for the cheap layer. Then, the LLM-as-judge reads only what is worth reading.</p><p>Thank you for reading. Do share your take.<br><em>An earlier version appeared in Data Science Collective on Medium, October 2026.</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">This is the inaugural OnData.blog post on Substack. I will publish weekly. Subscribe.</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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!T0qu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!T0qu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 424w, https://substackcdn.com/image/fetch/$s_!T0qu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 848w, https://substackcdn.com/image/fetch/$s_!T0qu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!T0qu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!T0qu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg" width="1050" height="788" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:788,&quot;width&quot;:1050,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!T0qu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 424w, https://substackcdn.com/image/fetch/$s_!T0qu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 848w, https://substackcdn.com/image/fetch/$s_!T0qu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!T0qu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9688aef8-b8a6-45c1-a8ad-b0ecbb2b84b3_1050x788.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Taking a break from tuning Jev, I walked the autumn woods near my home and took this picture. Isn&#8217;t autumn pretty?</figcaption></figure></div><p></p>]]></content:encoded></item><item><title><![CDATA[OnData.blog is back]]></title><description><![CDATA[Data architecture, data engineering, statistics - now on Substack]]></description><link>https://www.ondata.blog/p/ondatablog-is-back</link><guid isPermaLink="false">https://www.ondata.blog/p/ondatablog-is-back</guid><dc:creator><![CDATA[Pawel Plaszczak]]></dc:creator><pubDate>Tue, 03 Nov 2026 23:32:32 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!1Oo1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1Oo1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1Oo1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1Oo1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1Oo1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1Oo1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1Oo1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:6934843,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/223396745?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1Oo1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1Oo1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1Oo1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1Oo1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3692fabc-4e38-42cd-acdf-c14a11b92a30_4032x3024.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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">Me, trying to resurrect a defunct power turbine I found in the rainforest. Swiss-made, but it didn&#8217;t budge.</figcaption></figure></div><p>Welcome! </p><p>I am freelance data architect (<a href="https://www.ondata.blog/about">more</a>) who writes about data analytics, statistics, machine learning and data lakes. In my writing, almost everything follows one habit: <strong>measure the data, the model or the tool before you trust it.</strong> The stories come from real projects, with real numbers, and often explore the mistakes I made. </p><p>In 2005 I wrote a book. In 2016 I started OnData.blog, first on Wordpress and then Medium. Over time it grew to sixty-or-so stories. Now I&#8217;ve moved the blog to new platform: Substack. </p><p>Older articles have been organized thematically <a href="https://www.ondata.blog/p/by-topic">here</a>. The main themes are:</p><ol><li><p>LLMs, machine learning and model evaluation</p></li><li><p>Statistics for real business questions</p></li><li><p>Data engineering and data architecture</p></li><li><p>Opinion: general IT</p></li><li><p>Reading data correctly: visualization and data literacy</p></li><li><p>Earlier work: Book, Standards and Press</p></li></ol><h3>What comes next</h3><p>To be informed about new stories, subscribe. For professional consultancy, teaching and speaking opportunities write to me at pp [at] altanova.pl or connect at <a href="https://www.linkedin.com/in/plaszczak/">LinkedIn</a>.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.ondata.blog/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">Subscribe to OnData.blog</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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CAa0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CAa0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 424w, https://substackcdn.com/image/fetch/$s_!CAa0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 848w, https://substackcdn.com/image/fetch/$s_!CAa0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!CAa0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!CAa0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg" width="1200" height="630" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:630,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:152739,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.ondata.blog/i/223396745?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CAa0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 424w, https://substackcdn.com/image/fetch/$s_!CAa0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 848w, https://substackcdn.com/image/fetch/$s_!CAa0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!CAa0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff95ffb84-922d-41f3-8021-fe4db72ee42c_1200x630.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" 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" class="icon-noB79L"><g><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 class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><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 icon-noB79L"><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 image was the theme of OnData.blog before it moved to Substack: an enormous pine tree, many hundreds of years old, photographed from below while I lay on the ground. Then I coloured selected branches with an image-segmentation algorithm. When I&#8217;m not crunching data, I love taking pictures, and they will be part of this blog.</figcaption></figure></div>]]></content:encoded></item></channel></rss>