<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Tech Cafe - experiment</title>
    <subtitle>Dev adventures, epic bugs, tiny wins, and the occasional meltdown.</subtitle>
    <link rel="self" type="application/atom+xml" href="https://golden-fox.tech/tags/experiment/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://golden-fox.tech"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-08-26T00:00:00+00:00</updated>
    <id>https://golden-fox.tech/tags/experiment/atom.xml</id>
    <entry xml:lang="en">
        <title>Git Archaeologist</title>
        <published>2026-08-26T00:00:00+00:00</published>
        <updated>2026-08-26T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              Aakriti Agarwal
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://golden-fox.tech/projects/git-archaeologist/"/>
        <id>https://golden-fox.tech/projects/git-archaeologist/</id>
        
        <content type="html" xml:base="https://golden-fox.tech/projects/git-archaeologist/">&lt;p&gt;Git has some really useful tools for digging through history. &lt;code&gt;git log -S&lt;&#x2F;code&gt;, &lt;code&gt;git blame&lt;&#x2F;code&gt; and &lt;code&gt;git bisect&lt;&#x2F;code&gt; can answer very specific questions, but I wanted to see if an AI model could answer the more complicated ones where the answer is spread across lots of commits.&lt;&#x2F;p&gt;
&lt;p&gt;So I built a small test harness with 10 questions against a real repository. I checked the answers against Git itself and included 3 questions about things that never happened to see if the model would just make something up.&lt;&#x2F;p&gt;
&lt;p&gt;It got all 10 right, including the 3 negative controls, and cited 103 commit SHAs with 102 pointing to real commits. The downside was speed. For questions Git could answer directly, the model was between 150 and 4,000 times slower.&lt;&#x2F;p&gt;
&lt;p&gt;I also found a pretty big limitation. The full history of the repo was around 4 million tokens, which was too large to fit in the model’s context window even after stripping out a lot of unnecessary files.&lt;&#x2F;p&gt;
&lt;p&gt;It was a fun experiment and a good reminder that “just put the whole Git history into the context” does not scale as far as it sounds.&lt;&#x2F;p&gt;
&lt;p&gt;&lt;strong&gt;Built with:&lt;&#x2F;strong&gt; Python, Git, OpenRouter&lt;&#x2F;p&gt;
&lt;p&gt;Repo is private for now.&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
