<?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: Arnav Mittal</title>
    <description>The latest articles on DEV Community by Arnav Mittal (@arnavm10).</description>
    <link>https://dev.to/arnavm10</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%2F4248635%2F417849ea-ea53-4182-88bc-262fc1a32a98.jpg</url>
      <title>DEV Community: Arnav Mittal</title>
      <link>https://dev.to/arnavm10</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arnavm10"/>
    <language>en</language>
    <item>
      <title>HackPrinceton Fall 2026 was amazing!</title>
      <dc:creator>Arnav Mittal</dc:creator>
      <pubDate>Tue, 17 Nov 2026 00:09:09 +0000</pubDate>
      <link>https://dev.to/arnavm10/hackprinceton-fall-2026-was-amazing-4coi</link>
      <guid>https://dev.to/arnavm10/hackprinceton-fall-2026-was-amazing-4coi</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/arnavm10/two-curves-fit-the-data-what-should-we-measure-next-5clo" class="crayons-story__hidden-navigation-link"&gt;Two Curves Fit the Data. What Should We Measure Next?&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/arnavm10" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4248635%2F417849ea-ea53-4182-88bc-262fc1a32a98.jpg" alt="arnavm10 profile" class="crayons-avatar__image" width="96" height="96"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/arnavm10" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Arnav Mittal
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Arnav Mittal
                
                
              
              &lt;div id="story-author-preview-content-5052421" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/arnavm10" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4248635%2F417849ea-ea53-4182-88bc-262fc1a32a98.jpg" class="crayons-avatar__image" alt="" width="96" height="96"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Arnav Mittal&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/arnavm10/two-curves-fit-the-data-what-should-we-measure-next-5clo" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 17&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/arnavm10/two-curves-fit-the-data-what-should-we-measure-next-5clo" id="article-link-5052421"&gt;
          Two Curves Fit the Data. What Should We Measure Next?
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/mlhacks"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;mlhacks&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/devchallenge"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;devchallenge&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/hackathon"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;hackathon&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/opensource"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;opensource&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/arnavm10/two-curves-fit-the-data-what-should-we-measure-next-5clo" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt;&amp;nbsp;reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/arnavm10/two-curves-fit-the-data-what-should-we-measure-next-5clo#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              1&lt;span class="hidden s:inline"&gt;&amp;nbsp;comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;


</description>
      <category>hackathon</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Two Curves Fit the Data. What Should We Measure Next?</title>
      <dc:creator>Arnav Mittal</dc:creator>
      <pubDate>Tue, 17 Nov 2026 00:08:12 +0000</pubDate>
      <link>https://dev.to/arnavm10/two-curves-fit-the-data-what-should-we-measure-next-5clo</link>
      <guid>https://dev.to/arnavm10/two-curves-fit-the-data-what-should-we-measure-next-5clo</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/mlh-hackathon"&gt;MLH x DEV Writing Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;We gave Dr. Bean five concentration readings and a claim that the elimination rate was between 0.10 and 0.17 per hour. A curve inside that range fit the readings. So did a curve outside it.&lt;/p&gt;

&lt;p&gt;That second curve was what we wanted a researcher to see. If both curves agree with the measurements, what would you measure next to tell them apart?&lt;/p&gt;

&lt;p&gt;My team built Dr. Bean at HackPrinceton Fall ’26 to answer that question for supported scientific models. Our inspiration was Lean. We liked that a mathematical claim could travel with a proof someone else could check. For experimental data, we wanted the researcher to be able to see which measurements, model, and error bounds went into a conclusion, then rerun the calculation.&lt;/p&gt;

&lt;p&gt;AI made the problem feel more urgent. A summary can quietly become “this curve fits” into “the data establish this parameter.” In Dr. Bean, the researcher reviews the inputs and approves the proposed calculation. The software saves the result with the values and assumptions used to obtain it.&lt;/p&gt;

&lt;p&gt;I led the scientific engine and integration work. We published two standalone Python packages so other developers can use the math in their own scripts or notebooks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Counterdex&lt;/strong&gt; searches for candidate parameters, checks them with rational bounds, and produces evidence that can be replayed. It also checks whether a proposed measurement can distinguish two selected candidates. &lt;a href="https://pypi.org/project/counterdex/" rel="noopener noreferrer"&gt;Counterdex on PyPI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;counterdex-models&lt;/strong&gt; lets developers register their own models, fit them to observations, and explore how noise or detection thresholds change the comparison. It can rank a supplied set of measurement settings and run reproducible Monte Carlo simulations. &lt;a href="https://pypi.org/project/counterdex-models/" rel="noopener noreferrer"&gt;counterdex-models on PyPI&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/_Lhle0yMQVs" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;In the built-in synthetic concentration example, the claim is that the elimination rate lies in &lt;code&gt;[0.10, 0.17]&lt;/code&gt; per hour. Counterdex finds a value of &lt;code&gt;101/1016&lt;/code&gt;, about &lt;code&gt;0.0994&lt;/code&gt; per hour. That candidate fits all five readings within their reviewed allowances. Its existence is enough to show that the measurements do not force the claimed range.&lt;/p&gt;

&lt;p&gt;At eight hours, the two selected curves predict about &lt;strong&gt;3.27 and 3.93 mg/L&lt;/strong&gt;. With a hard measurement allowance of &lt;strong&gt;±0.20 mg/L&lt;/strong&gt;, their possible reading ranges are separated by about &lt;strong&gt;0.26 mg/L&lt;/strong&gt;. A reading taken at that time and precision could agree with at most one of the two candidates. The study shows the curves, and the evidence can be downloaded for replay. &lt;a href="https://github.com/Arnav-M10/DrBean-hp26/blob/main/packages/groundwork_adapter/docs/DECISION_EXAMPLE.md" rel="noopener noreferrer"&gt;Worked example and replay instructions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Arnav-M10/DrBean-hp26" rel="noopener noreferrer"&gt;Source code and local setup&lt;/a&gt; · &lt;a href="https://devpost.com/software/dr-bean" rel="noopener noreferrer"&gt;Project on Devpost&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Partner Technologies
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Google Gemini API.&lt;/strong&gt; Gemini reads research files and proposes interpretations with source passages. The difficult part was carrying the meaning of a number through every step. A standard deviation reported in a paper and a hard bound on a measurement answer different questions. We surface the source and the extracted values so the researcher can check both before submitting them to the scientific engine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LangChain Deep Agents and LangGraph.&lt;/strong&gt; We used Deep Agents’ built-in &lt;code&gt;write_todos&lt;/code&gt; tool to keep an investigation plan. We wrote five tools to prepare a proposal, run an approved calculation, read evidence, ask for clarification, and publish a report. A LangGraph interrupt pauses the run for approval, and a checkpoint in SQLite saves its progress. When the run resumes, the backend checks that the calculation still uses the scope the researcher approved.&lt;/p&gt;

&lt;p&gt;The main study interface uses a deterministic coordinator through the same Deep Agents graph. We also recorded a separate live run in which four Gemini requests took the workflow through planning, an approval pause, a Counterdex calculation, and a report. &lt;a href="https://github.com/Arnav-M10/DrBean-hp26/blob/main/evaluation/results/sprint/validator-2026-11-15/report.md" rel="noopener noreferrer"&gt;Live run record&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Grok Bot.&lt;/strong&gt; We scheduled one overnight browser QA run. It checked whether a new study opened empty, whether the concentration sample loaded, and whether the reset cleared it. Four checks passed. The fifth caught something the screenshots couldn’t show: the form looked empty after reset, but a screen reader would still hear a label describing the old sample and its parameter range. Grok saved the reproduction steps and screenshots, then paused the routine. &lt;a href="https://devpost.com/software/dr-bean" rel="noopener noreferrer"&gt;QA evidence in the Devpost gallery&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Hackathon Experience
&lt;/h2&gt;

&lt;p&gt;At Princeton, I worked with three teammates to bring the scientific engine, backend, and study interface together. One late surprise was that the landing page could look fine while &lt;strong&gt;Start a study&lt;/strong&gt; returned a 502. Vercel was serving the landing page, but the research backend was running on my Mac through a temporary Cloudflare tunnel. When the tunnel dropped, we had to restore it, update Vercel’s upstream address, and test the actual study flow again.&lt;/p&gt;

&lt;p&gt;I also asked researchers what made a follow-up measurement worthwhile in practice. Dr. Xiao explained how much time can go into aligning an ultrafast optical setup before a reading is possible. Rishika Porandla ’28 shared feedback on comparing models when noise and detection sensitivity matter. That feedback shaped the question we put on the next-measurement screen: given the settings and precision you can achieve, would another observation actually help you decide between these explanations?&lt;/p&gt;

</description>
      <category>mlhacks</category>
      <category>devchallenge</category>
      <category>hackathon</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
