<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by jegadeesh on Medium]]></title>
        <description><![CDATA[Stories by jegadeesh on Medium]]></description>
        <link>https://medium.com/@jegadeeshmsd?source=rss-c9dcc23dfbf1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jRUrTiCMclPbjw7N</url>
            <title>Stories by jegadeesh on Medium</title>
            <link>https://medium.com/@jegadeeshmsd?source=rss-c9dcc23dfbf1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:27:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jegadeeshmsd/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[If your model looks too good to be true, it’s haunted]]></title>
            <link>https://medium.com/@jegadeeshmsd/if-your-model-looks-too-good-to-be-true-its-haunted-395781f5c9b8?source=rss-c9dcc23dfbf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/395781f5c9b8</guid>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[kiro]]></category>
            <dc:creator><![CDATA[jegadeesh]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 11:09:41 GMT</pubDate>
            <atom:updated>2026-11-23T11:09:41.355Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How I built Hexperiment, a data-leakage checker for AI-written ML code, with Kiro</em></p><p>I wrote this post as part of the Kiroween 2026 hackathon.</p><h3>The score that fooled me</h3><p>In a college project, my model’s score looked great, and I still lost marks because of data leakage I had not noticed. The score gave me no warning. That is what makes leakage dangerous: the mistake looks like success.</p><p>Data leakage means a model saw the exam answers while it studied. It scores brilliantly in testing, then fails on real data. And a leak never makes the score worse. It makes it better.</p><p>That gets more dangerous now that we ask AI coding agents to “get the score up”. A leak is the fastest way up. It is also common in human work: Kapoor and Narayanan (<em>Patterns</em>, 2023) found leakage errors in 294 published papers across 17 scientific fields.</p><p>So for Kiroween I built <strong>Hexperiment</strong>: a Kiro power and a Python kit where an agent’s training result counts only when the kit’s verdict says APPROVED.</p><h3>The canary test</h3><p>The core idea is simple. The kit runs the training script twice: once normally, and once with only the <strong>test rows scrambled</strong>. Training is never supposed to look at the test rows. So if anything training produced changes when only the test rows change, training was peeking. That is a leak, and the run is REJECTED. A third, normal run rules out plain randomness.</p><p>Because the canary watches behavior instead of reading code, it does not care where the leak hides: in the script, a helper function or a library.</p><p>Next to the canary sit five data checks, each named after a ghost: The Doppelganger (duplicate rows across train and test), The Possession (one column that gives the answer away), The Prophet (training on the future), The Peeking Spirit (test rows reaching training) and The Shapeshifter (results that change from run to run).</p><h3>Two real datasets, two haunted scripts</h3><p>I planted leaks in two apps on public data and let Kiro repair them:</p><ul><li><strong>Hotel cancellations.</strong> The first run scored a perfect ROC AUC of 1.0000 and was REJECTED. A column called reservation_status gave the answer away, and a per-country cancellation rate had been built from every row&#39;s label, test rows included. Kiro&#39;s ghost-hunter agent fixed both in one round: APPROVED at 0.9090.</li><li><strong>Flight delays.</strong> The first run scored 0.7971 and was REJECTED: a random split on time-ordered flights let the model learn from the future. One round later it was APPROVED at an honest 0.6193.</li></ul><p>Both honest scores are lower. That is the point.</p><h3>How Kiro built it, and how Kiro runs it</h3><p><strong>Specs first.</strong> The project has five specs (core, Kiro layer, apps, gallery, benchmark): 45 requirements in EARS form and 98 tasks. Kiro built 91 of the tasks; the other 7 were checks I did by hand. The biggest surprise came before any code existed. The spec-writer agent pushed back on one of the requirements: shuffling the test values keeps a column’s mean, so a leak through a mean imputer could never be seen. The design changed to a “tilted resample”. Later, in the benchmark, the canary caught all six scaler and imputer leaks. Finding that after the build would have meant rebuilding the core check.</p><p><strong>Custom agents.</strong> Three build agents, each limited to its own files: a spec writer, a builder, and a read-only reviewer that ends every review with APPROVED or CHANGES REQUESTED. The product has a fourth agent, the ghost hunter, which has no shell at all.</p><p><strong>Hooks and the workflow (my favorite).</strong> A save hook runs a fast leak check every time a training script is saved. The exorcise workflow repeats one ghost-hunter step (audit, read the findings, fix, audit again) until the verdict says APPROVED, at most five rounds. This is my favorite Kiro feature, because the loop runs itself. I am not in the middle, copying error messages back and forth.</p><p><strong>MCP.</strong> The hexperiment-mcp server exposes the audit as tools (run_audit, get_verdict, explain_ghost and more). Routing the ghost hunter&#39;s audits through MCP let me remove its shell entirely. Its file writes also pass a preToolUse guard: in a live test, 12 attempts to write outside the app&#39;s Python files were refused 12 times.</p><p><strong>Steering.</strong> ml-integrity.md gives the agent eight rules for training code: split first, no features from the future, fixed seeds, never edit a verdict, never weaken a check.</p><p><strong>Property-based tests.</strong> Hypothesis tests check invariants on generated data, for example that the canary’s scramble guarantees hold on arbitrary data frames. The suite has about 3,600 tests.</p><p><strong>A power.</strong> power/hexperiment packages the MCP server and a skill, so another Kiro project can install the whole thing.</p><p>I used Kiro CLI for the headless build runs and Kiro IDE to watch the spec tasks tick off and to check the hooks and the demo.</p><h3>The moment I trusted the agents more</h3><p>Kiro’s read-only reviewer found a loophole in the leak check itself: a training script could send its training-set predictions only in the normal run, so the check passed without comparing anything. The builder closed it, then proved the fix by breaking the code on purpose and watching the tests fail. It did that kind of deliberate breaking about 20 times during the build.</p><p>That changed how I think about agents. An agent’s work is only as trustworthy as the evidence behind it.</p><h3>What spec-first changed for me</h3><p>Before Kiro, I prompted coding agents directly, then read their code and hoped it matched what I meant. With specs, the requirements became 98 ordered tasks, and Kiro wrote the code and the tests. My job moved to deciding and checking: I made the design calls, ran the full test suite myself before every commit, and did the owner checks by hand. I stopped writing the code, writing the tests, breaking down tasks and reviewing every line. I never stopped running the tests myself.</p><h3>Does it work? An honest benchmark</h3><p>I built a benchmark on the Kapoor and Narayanan leakage taxonomy: 13 leak mechanisms, 3 models, 78 scripts on synthetic data. 30 of the 39 leaky scripts were rejected, exactly the 30 predicted before the run, with no false alarms on the 39 clean twins. One result shows why the canary matters: a scaler fitted on all rows moved ROC AUC by less than 0.01, too little for any score comparison to notice, yet the canary caught all six such scripts.</p><p>The limits matter too. The data is synthetic, and the same project wrote both the checks and the test cases, so this shows the checks see the leaks they were built for, not how often leaks appear in real projects. Three mechanisms were missed, as predicted, and the README lists what the canary cannot see.</p><h3>Try it</h3><ul><li>Code (MIT): <a href="https://github.com/jegadeesh17/hexperiment">https://github.com/jegadeesh17/hexperiment</a></li><li>Gallery with both cases, code diffs and model cards: <a href="https://jegadeesh17.github.io/hexperiment/">https://jegadeesh17.github.io/hexperiment/</a></li></ul><p>Kiro wrote the code from my specs. I used Claude Code for scoping, review and verification; the README’s “How this was built” section has the details.</p><p><em>Written as part of the Kiroween 2026 hackathon. #Kiroween</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=395781f5c9b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Data Science Journey: An Honest Log of the GUVI HCL Program (Part 1)]]></title>
            <link>https://medium.com/@jegadeeshmsd/my-data-science-journey-an-honest-log-of-the-guvi-hcl-program-part-1-699b5ed85ceb?source=rss-c9dcc23dfbf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/699b5ed85ceb</guid>
            <dc:creator><![CDATA[jegadeesh]]></dc:creator>
            <pubDate>Mon, 30 Mar 2026 03:58:12 GMT</pubDate>
            <atom:updated>2026-03-30T03:58:12.979Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*Nk1vLSdezl8qrwcaoln44g.png" /></figure><p><strong>Disclaimer:</strong> <em>This post represents my personal point of view and my specific experience with the program. These observations are based on my unique background and learning requirements. Your experience may vary depending on your starting point and expectations.</em></p><h3>The Background: Why I’m Here</h3><p>I graduated from a Tier 1 institution in Chennai in September 2025 with a degree in Software Engineering. Like many freshers, I found myself at a crossroads. After exploring various career paths — including some non-tech roles where the compensation just didn’t align with the effort — I decided to double down on Data Science.</p><p>I knew I needed more than just pre-recorded videos. I was looking for a “live” environment, something interactive where mentors could push me to build deployment-level projects and get me truly job-ready. After researching several platforms like Scaler, UpGrad, and Newton School, I landed on the GUVI HCL course.</p><p>This series will be my “raw” log of that journey.</p><h3>Phase 0: The “Pre-Main-Boot” Experience</h3><p>Since starting around March 19th, I’ve been in what they call the “Pre-main-boot” phase. Here is my honest take on these first few weeks:</p><h3>1. The Pacing and Level</h3><p>Coming from a Tier 1 background, the classes feel <strong>very basic and generic</strong>. The content is currently at a very low level, which might be a struggle if you’re looking for immediate technical depth. Because many of my peers are from Tier 2 and Tier 3 colleges, the speed of learning is adjusted to a slower common denominator. I’ve found myself having to consciously adjust my own expectations to match this pace.</p><h3>2. Language and Instruction</h3><p>The instructor is clearly knowledgeable and explains concepts with great clarity. However, it is important to note that <strong>the instruction is in Tamil</strong>. While this might be a plus for many, it’s a specific detail to keep in mind depending on your preferred medium of professional learning.</p><h3>3. The Scheduling Hurdle</h3><p>This has been the most significant point of friction. To put it bluntly: <strong>the classes never go on schedule.</strong></p><ul><li>The “Pre-boot” phase, which was supposed to be a quick walkthrough, has stretched beyond a week.</li><li>There is a visible disconnect between the “internal schedule” and the one provided to students. Even the modules don’t seem to align.</li><li>The onboarding process, framed as “Pre-main-boot” training, seems to be causing delays that might push our actual start into the end of the month.</li></ul><h3>4. Lack of Pre-planning</h3><p>At the moment, there doesn’t feel like a rigid, pre-planned structure. It feels like things are moving at the program’s own pace and time, rather than a fixed professional calendar.</p><h3>Final Thoughts for Now</h3><p>It is still early days. While the scheduling and the “basic” nature of the start are frustrating for someone eager to dive into high-level deployment projects, I am staying committed to the process to see how the curriculum evolves once we move past onboarding.</p><p>I’ll be posting regular updates as I move through the modules. Stay tuned for Part 2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=699b5ed85ceb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Art of Compounding: Unlocking the Power of Time in Finance]]></title>
            <link>https://medium.com/@jegadeeshmsd/the-art-of-compounding-unlocking-the-power-of-time-in-finance-8bf775033a51?source=rss-c9dcc23dfbf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bf775033a51</guid>
            <category><![CDATA[compounding-effect]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[jegadeesh]]></dc:creator>
            <pubDate>Wed, 30 Oct 2024 07:06:00 GMT</pubDate>
            <atom:updated>2024-10-30T07:06:00.790Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5h8TvEMUUHq7B36Xj3LSTQ.png" /></figure><h3>1. Introduction to Compounding</h3><p>Compounding is a fundamental concept in finance, one that can significantly impact your financial future. At its core, compounding refers to the process of earning interest on both your initial investment and the interest that has already been earned. It’s like planting a tree that grows and bears fruit, which then produces seeds for more trees. Over time, your small seed can turn into an entire forest.</p><p>In India, where the importance of saving and investing is deeply rooted in our culture, understanding the power of compounding can be a game-changer. Albert Einstein once called compounding “the eighth wonder of the world.” Whether you’re planning for your children’s education, your retirement, or simply looking to grow your wealth, compounding can help you achieve your financial goals.</p><h3>2. The Mechanics of Compounding</h3><h3>How Compounding Works Mathematically</h3><p>To truly appreciate the power of compounding, let’s break down how it works with a simple formula:</p><p>A=P(1+rn)ntA = P(1 + \frac{r}{n})^{nt}A=P(1+nr)nt</p><p>Where:</p><ul><li>A is the amount of money accumulated after n years, including interest.</li><li>P is the principal amount (the initial money you invest).</li><li>r is the annual interest rate (as a decimal).</li><li>n is the number of times that interest is compounded per year.</li><li>t is the time the money is invested for in years.</li></ul><p>For instance, if you invest ₹1,00,000 at an annual interest rate of 6%, compounded annually for 10 years, the formula shows how your investment will grow over time.</p><h3>Simple Interest vs. Compound Interest</h3><p>To understand why compounding is so powerful, compare it to simple interest, where interest is earned only on the principal amount.</p><p>Example:</p><ul><li>Simple Interest: If you invest ₹1,00,000 at 6% simple interest for 10 years, you’ll earn ₹60,000 in interest, making a total of ₹1,60,000.</li><li>Compound Interest: With the same ₹1,00,000 invested at 6% compound interest, after 10 years, your investment will grow to about ₹1,79,000, thanks to the interest earning interest.</li></ul><h3>3. The Importance of Time in Compounding</h3><p>Time is the most crucial factor when it comes to compounding. The longer you stay invested, the more your money will grow, even if you start with a small amount.</p><h3>Starting Early: The Secret to Wealth Growth</h3><p>Consider two individuals, Raj and Priya. Raj starts investing ₹5,000 per month at the age of 25, while Priya starts at 35. Both invest until they are 60 years old and earn the same annual return of 8%.</p><ul><li>Raj’s Total Investment: ₹21,00,000</li><li>Priya’s Total Investment: ₹15,00,000</li></ul><p>Despite investing the same amount monthly, Raj ends up with nearly double the amount Priya has by age 60, simply because he started 10 years earlier. This highlights the concept of “time value of money,” where starting early gives your money more time to grow.</p><h3>4. Compounding in Different Contexts</h3><h3>Financial Investments</h3><p>In India, compounding plays a vital role in investments like stocks, mutual funds, and fixed deposits. When you invest in these assets, the returns can be reinvested, leading to exponential growth over time.</p><p>Example: Rakesh Jhunjhunwala, one of India’s most successful investors, often credited the power of compounding for his wealth. By consistently reinvesting his profits and allowing them to grow over decades, he accumulated a massive fortune.</p><h3>Savings Accounts</h3><p>Indian banks offer savings accounts where your money can grow through compounding. Although interest rates are modest, compounding ensures that your savings gradually increase.</p><p>Example: If you deposit ₹1,00,000 in a savings account with an annual interest rate of 4%, compounded quarterly, in 10 years, your balance will grow to approximately ₹1,48,000, even if you don’t make any additional deposits.</p><h3>Retirement Accounts</h3><p>Compounding is essential for retirement planning in India. Accounts like the Employees’ Provident Fund (EPF) or Public Provident Fund (PPF) allow your savings to grow tax-free until you withdraw them, often after retirement. Starting contributions early can lead to substantial retirement savings.</p><p>Example: If you contribute ₹5,000 per month to a PPF account starting at age 30, with an average interest rate of 7%, by the time you’re 60, you’ll have more than ₹58 lakh. This demonstrates the importance of starting early and being consistent with your savings.</p><h3>5. Real-World Applications of Compounding</h3><h3>Successful Investors</h3><p>Many Indian investors have harnessed the power of compounding to build wealth. For instance, Rakesh Jhunjhunwala began investing in the stock market at a young age and allowed his investments to compound over decades, leading to tremendous wealth accumulation.</p><h3>Business Reinvestment</h3><p>Indian companies often use compounding by reinvesting their profits into the business. For example, Reliance Industries has consistently reinvested its profits into new ventures, leading to compounded growth in revenues and profits over the years.</p><h3>Continuous Compounding in Financial Modeling</h3><p>In some advanced financial models, continuous compounding is used to calculate growth. While this is a more complex concept, it shows how powerful compounding can be when interest is added continuously.</p><h3>6. The Psychological Aspect of Compounding</h3><p>While compounding is simple in theory, it requires discipline and patience to truly benefit from it. The key is to adopt a long-term mindset and avoid common mistakes like trying to time the market or making impulsive financial decisions.</p><h3>Patience and Long-Term Thinking</h3><p>In the context of the Indian market, patience is key. It’s tempting to react to short-term market volatility, but staying invested for the long term typically yields the best results.</p><h3>Avoiding Pitfalls</h3><p>Common pitfalls include withdrawing investments prematurely or not starting early enough. To fully harness the power of compounding, it’s important to stay focused on your long-term goals and start as soon as possible.</p><h3>7. Strategies to Harness the Power of Compounding</h3><h3>Start Early and Regularly</h3><p>The earlier you start investing, the more time your money has to grow. Even small amounts can lead to significant wealth over time.</p><h3>Reinvest Dividends and Interest</h3><p>Instead of spending the dividends or interest earned from investments, reinvest them to take full advantage of compounding.</p><h3>Choose Strong Investments</h3><p>In India, look for investments with a history of strong returns and consistent growth, such as certain stocks or mutual funds, to enhance the compounding effect.</p><h3>8. Conclusion</h3><p>Compounding is a powerful tool for building wealth in India. By understanding and applying its principles, you can significantly grow your investments over time. Start early, be patient, and make disciplined financial decisions to harness the full potential of compounding in your financial planning.</p><h3>9. Additional Resources</h3><p>For those interested in learning more, consider reading “The Intelligent Investor” by Benjamin Graham for investment strategies, or Indian-focused books like “Rich Dad Poor Dad” by Robert Kiyosaki, which is popular among Indian readers for its financial wisdom.</p><p>For those interested in learning more, consider reading “The Intelligent Investor” by Benjamin Graham for investment strategies, or Indian-focused books like “Rich Dad Poor Dad” by Robert Kiyosaki, which is popular among Indian readers for its financial wisdom.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bf775033a51" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>