<?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>DEV Community: Aman Kumar</title>
    <description>The latest articles on DEV Community by Aman Kumar (@aman_kumar_2513c1a602a040).</description>
    <link>https://dev.to/aman_kumar_2513c1a602a040</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4271739%2F6bdd0f9d-dc3a-4d98-8108-3b4640d002df.png</url>
      <title>DEV Community: Aman Kumar</title>
      <link>https://dev.to/aman_kumar_2513c1a602a040</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aman_kumar_2513c1a602a040"/>
    <language>en</language>
    <item>
      <title>We Pre-Registered an AI Maintainer Brief Benchmark. Plain LIFO Beat Gemini (0.56 vs 0.54), So We Killed It.</title>
      <dc:creator>Aman Kumar</dc:creator>
      <pubDate>Sun, 29 Nov 2026 05:44:34 +0000</pubDate>
      <link>https://dev.to/aman_kumar_2513c1a602a040/we-pre-registered-an-ai-maintainer-brief-benchmark-plain-lifo-beat-gemini-056-vs-054-so-we-396h</link>
      <guid>https://dev.to/aman_kumar_2513c1a602a040/we-pre-registered-an-ai-maintainer-brief-benchmark-plain-lifo-beat-gemini-056-vs-054-so-we-396h</guid>
      <description>&lt;p&gt;Before building a standalone "AI Maintainer Brief" product (&lt;code&gt;Agent 1&lt;/code&gt; in our &lt;strong&gt;Open-Source Agent Series&lt;/strong&gt;), we pre-registered a benchmark, locked our datasets with SHA-256 checksums, and ran a contamination-free historical replay across 10 active open-source repositories.&lt;/p&gt;

&lt;p&gt;The result was an unambiguous &lt;strong&gt;&lt;code&gt;CLEAR LOSS (NO-GO / PIVOT)&lt;/code&gt;&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Plain &lt;code&gt;LIFO&lt;/code&gt; (most recently updated items):&lt;/strong&gt; &lt;code&gt;0.5629&lt;/code&gt; Normalized Tier A Recall@10 (&lt;code&gt;197 / 350&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tuned deterministic &lt;code&gt;S2_adapted&lt;/code&gt; (&lt;code&gt;RepoKeeper&lt;/code&gt; heuristic, &lt;code&gt;$0.00&lt;/code&gt;):&lt;/strong&gt; &lt;strong&gt;&lt;code&gt;0.6057&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;212 / 350&lt;/code&gt;, &lt;code&gt;NDCG@10 = 0.5157&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Primary LLM &lt;code&gt;S4_llm&lt;/code&gt; (&lt;code&gt;gemini-3.5-flash-lite&lt;/code&gt;, locked prompt &lt;code&gt;v2_pr_turn_weighted&lt;/code&gt;):&lt;/strong&gt; &lt;code&gt;0.5429&lt;/code&gt; (&lt;code&gt;190 / 350&lt;/code&gt;, &lt;code&gt;NDCG@10 = 0.4999&lt;/code&gt;) — &lt;strong&gt;underperforming plain recency (&lt;code&gt;LIFO&lt;/code&gt;) and losing by &lt;code&gt;-6.29&lt;/code&gt; percentage points to &lt;code&gt;S2_adapted&lt;/code&gt;&lt;/strong&gt; (2,000-replicate clustered bootstrap 95% CI: &lt;code&gt;[-0.1278, -0.0021]&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secondary non-gating LLM &lt;code&gt;S4_llm_mercury3&lt;/code&gt; (&lt;code&gt;mercury-3&lt;/code&gt;, &lt;code&gt;reasoning_effort="low"&lt;/code&gt;):&lt;/strong&gt; &lt;code&gt;0.6057&lt;/code&gt; (&lt;code&gt;212 / 350&lt;/code&gt;, &lt;code&gt;NDCG@10 = 0.5199&lt;/code&gt;) — &lt;strong&gt;only tied&lt;/strong&gt; the deterministic baseline (&lt;code&gt;95% CI [-0.0537, +0.0453]&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Neither tested LLM beat a simple, zero-cost deterministic baseline. So under our pre-registered kill rule, we killed the standalone &lt;code&gt;Maintainer Brief&lt;/code&gt; build after 3 days (&lt;code&gt;~$1.42&lt;/code&gt; in API spend) and pivoted cleanly to &lt;strong&gt;Agent 2&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Links &amp;amp; Reproducibility
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repository &amp;amp; &lt;code&gt;v1.0.1&lt;/code&gt; Release:&lt;/strong&gt; &lt;a href="https://github.com/Amankumar006/repo-lighthouse/releases/tag/v1.0.1" rel="noopener noreferrer"&gt;https://github.com/Amankumar006/repo-lighthouse/releases/tag/v1.0.1&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full Final Feasibility Report:&lt;/strong&gt; &lt;a href="https://github.com/Amankumar006/repo-lighthouse/blob/main/benchmarks/results/phase2_eval/final_feasibility_report.md" rel="noopener noreferrer"&gt;https://github.com/Amankumar006/repo-lighthouse/blob/main/benchmarks/results/phase2_eval/final_feasibility_report.md&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source Agent Series &amp;amp; Experiment Tracker:&lt;/strong&gt; &lt;a href="https://github.com/Amankumar006/repo-lighthouse/blob/main/EXPERIMENT_TRACKER.md" rel="noopener noreferrer"&gt;https://github.com/Amankumar006/repo-lighthouse/blob/main/EXPERIMENT_TRACKER.md&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pre-Registered Protocol (&lt;code&gt;§§1–9&lt;/code&gt;, Amendments 1–7):&lt;/strong&gt; &lt;a href="https://github.com/Amankumar006/repo-lighthouse/blob/main/docs/protocol_locked.md" rel="noopener noreferrer"&gt;https://github.com/Amankumar006/repo-lighthouse/blob/main/docs/protocol_locked.md&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clean-Room Agent 2 Landscape Audit:&lt;/strong&gt; &lt;a href="https://github.com/Amankumar006/repo-lighthouse/blob/main/docs/research/agent2_landscape_audit.md" rel="noopener noreferrer"&gt;https://github.com/Amankumar006/repo-lighthouse/blob/main/docs/research/agent2_landscape_audit.md&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Trap #1: Catching Our Own Synthetic Benchmark Circularity
&lt;/h2&gt;

&lt;p&gt;In Phase 1, we froze November 24 snapshots for &lt;code&gt;Delgan/loguru&lt;/code&gt;, &lt;code&gt;fastapi/typer&lt;/code&gt;, and &lt;code&gt;pallets/flask&lt;/code&gt; (&lt;code&gt;143&lt;/code&gt; sampled items). Our early heuristic baselines scored &lt;code&gt;1.0000&lt;/code&gt; precision.&lt;/p&gt;

&lt;p&gt;Then we audited our own ground-truth generator (&lt;code&gt;scripts/prepare_ground_truth.py&lt;/code&gt;) and disclosed &lt;strong&gt;Amendment 2&lt;/strong&gt;: the synthetic "Rater 1" and "Rater 2" labels were generated programmatically using the exact same signals (failing CI, bug labels, idle days) that our baseline rules looked for (inter-heuristic Cohen's $\kappa = 0.4887 / 0.5217$).&lt;/p&gt;

&lt;p&gt;Rather than ship a benchmark built on circular labels, we paused &lt;code&gt;S4&lt;/code&gt; development, permanently demoted the 143-item dataset to a &lt;strong&gt;Synthetic Engineering Regression Suite&lt;/strong&gt;, and pivoted to &lt;strong&gt;Point-in-Time Historical Outcome Replay (Amendment 3)&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  How the Contamination-Free Replay Worked
&lt;/h2&gt;

&lt;p&gt;To eliminate training-cutoff contamination and synthetic label bias, we locked:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;10 active OSS repositories&lt;/strong&gt; across Python, TypeScript/JS, Go, and Rust (&lt;code&gt;Delgan/loguru&lt;/code&gt;, &lt;code&gt;fastapi/typer&lt;/code&gt;, &lt;code&gt;pallets/flask&lt;/code&gt;, &lt;code&gt;Textualize/rich&lt;/code&gt;, &lt;code&gt;honojs/hono&lt;/code&gt;, &lt;code&gt;remotion-dev/remotion&lt;/code&gt;, &lt;code&gt;eslint/eslint&lt;/code&gt;, &lt;code&gt;caddyserver/caddy&lt;/code&gt;, &lt;code&gt;junegunn/fzf&lt;/code&gt;, &lt;code&gt;ratatui/ratatui&lt;/code&gt;), screened strictly on &lt;code&gt;T_dev&lt;/code&gt; (&lt;code&gt;Jan 15 – Mar 17, 2026&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;6 strictly post-cutoff held-out windows (&lt;code&gt;T_eval_1..6&lt;/code&gt;, May 15 – Oct 17, 2026):&lt;/strong&gt; Every evaluation snapshot occurs &lt;code&gt;&amp;gt;= 45&lt;/code&gt; days after the March 2026 model cutoff (&lt;code&gt;12,579&lt;/code&gt; open items reconstructed point-in-time via GraphQL &lt;code&gt;timelineItems&lt;/code&gt;, &lt;code&gt;userContentEdits&lt;/code&gt;, force-push &lt;code&gt;beforeCommit&lt;/code&gt; SHA resolution, and commit &lt;code&gt;check-runs&lt;/code&gt;, yielding &lt;strong&gt;&lt;code&gt;759&lt;/code&gt; clean Tier A maintainer interventions&lt;/strong&gt;, &lt;code&gt;350&lt;/code&gt; normalized &lt;code&gt;min(10, |A|)&lt;/code&gt; slots, and &lt;code&gt;1.17%&lt;/code&gt; Tier A taint share).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Equal shared digest &amp;amp; tuning budget:&lt;/strong&gt; Every system (&lt;code&gt;FIFO&lt;/code&gt;, &lt;code&gt;LIFO&lt;/code&gt;, &lt;code&gt;S0&lt;/code&gt;, &lt;code&gt;S0_templated&lt;/code&gt;, &lt;code&gt;S2_adapted&lt;/code&gt;, &lt;code&gt;S4_deterministic&lt;/code&gt;, &lt;code&gt;S4_llm&lt;/code&gt;, &lt;code&gt;S4_llm_mercury3&lt;/code&gt;) received the identical &lt;code&gt;&amp;lt;= 120k&lt;/code&gt;-token deterministic input digest and tuned on the same &lt;code&gt;20&lt;/code&gt; &lt;code&gt;T_dev&lt;/code&gt; snapshots.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hard safety gates:&lt;/strong&gt; &lt;strong&gt;G1&lt;/strong&gt; (&lt;code&gt;0&lt;/code&gt; GitHub writes) and &lt;strong&gt;G4&lt;/strong&gt; (&lt;code&gt;6/6&lt;/code&gt; prompt-injection defense fixtures) &lt;strong&gt;PASS&lt;/strong&gt;. Gates &lt;strong&gt;G2&lt;/strong&gt; (&lt;code&gt;UCC&lt;/code&gt;) and &lt;strong&gt;G3&lt;/strong&gt; (&lt;code&gt;EA_audit&lt;/code&gt;) remain &lt;strong&gt;&lt;code&gt;UNASSESSED&lt;/code&gt;&lt;/strong&gt; because mechanical structured-field verification cannot replace an independent human prose audit (though the &lt;code&gt;CLEAR LOSS&lt;/code&gt; outcome does not depend on them).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;(Pre-&lt;code&gt;T_eval&lt;/code&gt; model switches from &lt;code&gt;gemini-3.8-flash&lt;/code&gt; -&amp;gt; &lt;code&gt;gemini-3.6-flash&lt;/code&gt; -&amp;gt; &lt;code&gt;gemini-3.5-flash-lite&lt;/code&gt; and the &lt;code&gt;v2_pr_turn_weighted&lt;/code&gt; prompt lock were documented strictly before &lt;code&gt;T_eval&lt;/code&gt; execution in Amendments 4–7.)&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Held-Out &lt;code&gt;T_eval&lt;/code&gt; Results (Pooled 30-Day Horizon)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;System&lt;/th&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;&lt;code&gt;R_norm, Tier A@10&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;Hits / 350&lt;/th&gt;
&lt;th&gt;&lt;code&gt;R_raw@10&lt;/code&gt;&lt;/th&gt;
&lt;th&gt;&lt;code&gt;NDCG@10&lt;/code&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;S2_adapted&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Primary Comparator (&lt;code&gt;B*&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;0.6057&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;212 / 350&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;0.2793&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.5157&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;S4_llm_mercury3&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Non-gating diagnostic (&lt;code&gt;mercury-3&lt;/code&gt;, &lt;code&gt;low&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;0.6057&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;212 / 350&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;0.2793&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;0.5199&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;S4_deterministic&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Ablation (14 tuned features)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.6000&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;210 / 350&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.2767&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.5145&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;LIFO&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Plain recency baseline&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.5629&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;197 / 350&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.2596&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.4486&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;S0&lt;/code&gt; / &lt;code&gt;S0_templated&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Tuned heuristic &amp;amp; prose ablation&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.5629&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;197 / 350&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.2596&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.4666&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;S4_llm&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Primary (&lt;code&gt;gemini-3.5-flash-lite&lt;/code&gt;, &lt;code&gt;v2&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;0.5429&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;190 / 350&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.2503&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.4999&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;FIFO&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Oldest-item floor&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0629&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;22 / 350&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0290&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0498&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Important Construct-Validity Caveat (Amendment 3 §8)
&lt;/h2&gt;

&lt;p&gt;Historical outcome replay measures whether a system &lt;strong&gt;predicts which currently open items maintainers will act on next&lt;/strong&gt; within &lt;code&gt;(T0, T0 + 30d]&lt;/code&gt;—&lt;strong&gt;not&lt;/strong&gt; whether items objectively needed attention. If an AI brief surfaces genuinely important neglected bugs untouched for 30 days, Outcome Recall@10 scores it &lt;strong&gt;&lt;code&gt;0&lt;/code&gt;&lt;/strong&gt; (indeed, &lt;code&gt;28.8%&lt;/code&gt; of &lt;code&gt;S4_llm&lt;/code&gt; misses were items dormant &lt;code&gt;&amp;gt;30&lt;/code&gt; days vs. &lt;code&gt;12.1%&lt;/code&gt; for &lt;code&gt;S2_adapted&lt;/code&gt;). What the evidence proves cleanly is narrower and still decisive: &lt;strong&gt;across both tested LLMs, neither beat a tuned deterministic rule set (&lt;code&gt;S2_adapted&lt;/code&gt;, &lt;code&gt;$0.00&lt;/code&gt;, zero &lt;code&gt;503&lt;/code&gt; retries) on near-term maintainer triage.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What Happens Next: Agent 2
&lt;/h2&gt;

&lt;p&gt;Killing Agent 1 in 3 days instead of forcing a weak wrapper to production preserved both engineering focus and honest baselines. Following our clean-room audit (&lt;a href="https://github.com/Amankumar006/repo-lighthouse/blob/main/docs/research/agent2_landscape_audit.md" rel="noopener noreferrer"&gt;&lt;code&gt;docs/research/agent2_landscape_audit.md&lt;/code&gt;&lt;/a&gt;), we are moving to &lt;strong&gt;Agent 2&lt;/strong&gt;—either:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Placebo-Baseline &amp;amp; Point-in-Time Feasibility Gate CLI&lt;/strong&gt; (generalizing &lt;code&gt;repo-lighthouse&lt;/code&gt;'s dumb-baseline + point-in-time + clustered-bootstrap kill harness for any AI agent/skill), or&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prose-Only Breaking-Change Call-Site Verifier&lt;/strong&gt; (mapping release-note behavioral breaks strictly to consumer AST call sites).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you build AI developer tools, add plain &lt;code&gt;LIFO&lt;/code&gt;, regex/AST heuristics, and pre-registered kill criteria to your evaluation suite before writing the product.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>ai</category>
      <category>llm</category>
      <category>benchmarking</category>
    </item>
  </channel>
</rss>
