<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Varun Bamhane</title>
    <description>The latest articles on Forem by Varun Bamhane (@varun_bamhane_c8f9233c005).</description>
    <link>https://forem.com/varun_bamhane_c8f9233c005</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3835584%2Fd223b3b6-08bb-43ed-af63-532efdd399eb.jpg</url>
      <title>Forem: Varun Bamhane</title>
      <link>https://forem.com/varun_bamhane_c8f9233c005</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/varun_bamhane_c8f9233c005"/>
    <language>en</language>
    <item>
      <title>AXION HACKATHON PROJECT</title>
      <dc:creator>Varun Bamhane</dc:creator>
      <pubDate>Fri, 20 Mar 2026 14:09:12 +0000</pubDate>
      <link>https://forem.com/varun_bamhane_c8f9233c005/axion-hackathon-project-4na5</link>
      <guid>https://forem.com/varun_bamhane_c8f9233c005/axion-hackathon-project-4na5</guid>
      <description>&lt;p&gt;Why Your AI Coding Tool Should Feel Like a Friend, Not an Examiner&lt;/p&gt;

&lt;p&gt;I want to tell you about the worst feeling in programming education.&lt;br&gt;
You spend 45 minutes on a problem. You finally submit. The platform flashes red. "Wrong answer." No explanation of what you misunderstood. No memory of the 10 times you tried before. No encouragement. Just — wrong.&lt;br&gt;
This is how most coding platforms make you feel. Like you are failing an exam. Every single time.&lt;br&gt;
When our team built TraceX, we made one core decision that shaped everything else: this platform should feel like a friend who happens to be a great programmer — not an examiner.&lt;/p&gt;

&lt;p&gt;The UX Philosophy Behind TraceX&lt;br&gt;
Before I wrote a single line of prompt engineering, we decided on a set of principles:&lt;br&gt;
No pressure language. We replaced "Error detected" with "Opportunity found." We replaced "Wrong" with "Here is what your code is thinking." We removed difficulty ratings, timers, and scores entirely.&lt;br&gt;
Encouraging copy everywhere. The sidebar says "learning every day 🌱" under your name. The challenge page says "No rush — think it through." The feedback page says "every mistake is just a lesson in disguise."&lt;br&gt;
Memory as the core feature. The most important thing a human mentor does is remember you. So we built the entire product around Hindsight memory — a persistent layer that stores every mistake and recalls it in future sessions.&lt;br&gt;
This is not just aesthetic. Research consistently shows that stress and anxiety reduce learning effectiveness. A student who feels safe makes more attempts, takes more risks, and learns faster.&lt;/p&gt;

&lt;p&gt;The Prompt Engineering That Makes It Personal&lt;br&gt;
My job on the team was AI prompts and content. The goal was to make Groq's responses feel warm, specific, and genuinely helpful — not like a cold error message.&lt;br&gt;
The key was injecting Hindsight memory directly into the prompt:&lt;br&gt;
javascriptconst memoryContext = pastMistakes?.length&lt;br&gt;
  ? &lt;code&gt;HINDSIGHT MEMORY — Past mistakes by this student:\n${pastMistakes.join('\n')}\n\n&lt;/code&gt;&lt;br&gt;
  : '';&lt;/p&gt;

&lt;p&gt;const prompt = `${memoryContext}&lt;br&gt;
You are TraceX, a warm and encouraging AI coding mentor.&lt;br&gt;
Analyze this ${language} code for ${topic}.&lt;/p&gt;

&lt;p&gt;Respond in exactly this format:&lt;/p&gt;

&lt;p&gt;[ANALYSIS]&lt;br&gt;
What is wrong. Be specific but kind. 2-3 sentences.&lt;/p&gt;

&lt;p&gt;[BETTER APPROACH]&lt;br&gt;
How to improve. Explain the correct logic warmly. 2-3 sentences.&lt;/p&gt;

&lt;p&gt;[CORRECTED CODE]&lt;br&gt;
The fixed version.&lt;/p&gt;

&lt;p&gt;[HINDSIGHT WARNING]&lt;br&gt;
If past mistakes show a pattern, call it out gently but clearly.&lt;br&gt;
`;&lt;br&gt;
The structure matters. By forcing the LLM to respond in specific sections, we ensure the feedback is always clear and actionable — never a confusing wall of text.&lt;/p&gt;

&lt;p&gt;The YouTube Theory Feature&lt;br&gt;
This is the feature I am most proud of.&lt;br&gt;
The insight was simple: sometimes a student does not just have a bug. They have a gap in their understanding. Fixing the code without fixing the concept means they will make the same mistake again next week.&lt;br&gt;
So we built a theory detection layer. After feedback is shown, TraceX asks: "Feeling unsure about the concept? Here is a great video that might help."&lt;br&gt;
We curated the best YouTube videos for each topic:&lt;br&gt;
javascriptexport const theoryLinks = {&lt;br&gt;
  'binary-search': {&lt;br&gt;
    title: 'Binary Search — Full Explanation',&lt;br&gt;
    url: '&lt;a href="https://www.youtube.com/watch?v=P3YID7liBug" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=P3YID7liBug&lt;/a&gt;',&lt;br&gt;
    channel: 'NeetCode',&lt;br&gt;
    concepts: [&lt;br&gt;
      'Always check: left = mid + 1, right = mid - 1',&lt;br&gt;
      'Loop condition should be left &amp;lt;= right',&lt;br&gt;
      'mid = left + (right - left) / 2 to avoid overflow',&lt;br&gt;
    ],&lt;br&gt;
  },&lt;br&gt;
  // ... more topics&lt;br&gt;
};&lt;br&gt;
The concepts array is shown as quick reminders alongside every challenge. So even if the student does not watch the video, they see the key points they need to remember.&lt;/p&gt;

&lt;p&gt;The Challenge Content&lt;br&gt;
Every challenge in TraceX is designed around a specific error pattern. Not random DSA problems — targeted exercises that force the student to confront and fix the exact mistake they just made.&lt;br&gt;
The binary search challenge has an off-by-one error built in. The linked list challenge has a missing null check. The recursion challenge has a wrong base case.&lt;br&gt;
This is deliberate. The goal is not to test you. The goal is to make you practice fixing the specific thing that is holding you back.&lt;/p&gt;

&lt;p&gt;What Real Personalized Learning Looks Like&lt;br&gt;
The before and after of using TraceX tells the story better than anything else.&lt;br&gt;
Before Hindsight memory (Session 1):&lt;/p&gt;

&lt;p&gt;"Your binary search has an off-by-one error in the boundary condition."&lt;/p&gt;

&lt;p&gt;After Hindsight memory (Session 4):&lt;/p&gt;

&lt;p&gt;"You have made this boundary error in binary search 3 times now. Each time, your right pointer is set to arr.length instead of arr.length - 1. This is a consistent pattern in your code. Focus specifically on this before moving to other topics."&lt;/p&gt;

&lt;p&gt;Same code. Completely different experience. Because now the AI knows you.&lt;br&gt;
That is what real personalized learning looks like. And it is only possible because of Hindsight.&lt;/p&gt;

&lt;p&gt;Build Something That Remembers&lt;br&gt;
If you are building any AI product that interacts with users repeatedly — whether it is a tutor, a coach, a customer service agent, or anything else — the single most impactful thing you can add is persistent memory.&lt;br&gt;
Hindsight makes this surprisingly simple. Two function calls. Retain and recall. And suddenly your AI goes from a goldfish to a mentor.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Anupam-codes7/TraceX" rel="noopener noreferrer"&gt;https://github.com/Anupam-codes7/TraceX&lt;/a&gt;&lt;br&gt;
Hindsight SDK: &lt;a href="https://github.com/vectorize-io/hindsight" rel="noopener noreferrer"&gt;https://github.com/vectorize-io/hindsight&lt;/a&gt;&lt;br&gt;
Hindsight Docs: &lt;a href="https://hindsight.vectorize.io/" rel="noopener noreferrer"&gt;https://hindsight.vectorize.io/&lt;/a&gt;&lt;br&gt;
Agent Memory: &lt;a href="https://vectorize.io/features/agent-memory" rel="noopener noreferrer"&gt;https://vectorize.io/features/agent-memory&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The best learning happens when you feel safe to make mistakes. TraceX was built on that belief. And Hindsight made it possible.&lt;/p&gt;

&lt;p&gt;All 3 articles are ready to publish. Paste each one on Dev.to or Medium, add one screenshot of the app, publish as public, and copy the URL for your LinkedIn post comments&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>hackathon</category>
    </item>
  </channel>
</rss>
