// Variant: Software Engineer (SDE) — sde.mathur.dev
// First-draft copy re-angled toward systems/platform engineering.
// Refine against the SDE-targeted resume PDF when it lands.
(window.RESUME_CONTENT = window.RESUME_CONTENT || {}).sde = {
  meta: {
    role: 'sde',
    docTitle: 'Arpit Dev Mathur — Software Engineer',
    resumePdf: 'assets/resume-sde.pdf'
  },

  hero: {
    eyebrow: 'Software Engineer · San Francisco',
    tagline: (
      <>
        I build software at the layer where it has to be <em>correct</em> — six years on
        Windows core platform at Microsoft, now building retrieval and evaluation systems for
        production LLMs at Asurion, and finishing an M.S. in Data Science &amp; AI at the
        University of San Francisco.
      </>
    )
  },

  about: {
    lead: "I'm a systems engineer who now also builds AI.",
    paragraphs: [
      <>I spent six years at Microsoft on Windows core platform — a static analyzer run across
        the OS codebase, the WPF port to .NET Core (a million&#8209;plus lines), and a rollback
        framework used during live OS regressions.</>,
      <>I went back to school to go deeper on ML and now work on production LLM systems — but
        the instincts are the ones core&#8209;platform work teaches: correctness, scale, and what
        happens when something breaks in the field.</>,
      <>Off&#8209;screen: hikes, weightlifting, growing plants.</>
    ]
  },

  roles: [
    {
      when: { start: 'Oct 2025', end: 'Present', now: true },
      title: 'AI Engineer',
      company: 'Asurion',
      loc: 'San Francisco, CA',
      projects: [
        {
          bullets: [
            <><b>Built a retrieval system (RAG)</b> for customer&#8209;service queries end to end — query paraphrasing, embedding generation, re&#8209;ranking, and LLM answer synthesis. (Contract.)</>,
            <><b>Designed an evaluation harness</b> that benchmarks embeddings, retrievers, and re&#8209;rankers against relevance and answer&#8209;quality metrics — making model selection a repeatable, data&#8209;driven process.</>,
            <><b>Shipped an image&#8209;processing service</b> for the production chatbot: asynchronous LLM calls extract context from user images and inject it into the conversation flow.</>
          ]
        }
      ]
    },
    {
      when: { start: 'Aug 2016', end: 'Dec 2022' },
      title: 'Software Engineer',
      company: 'Microsoft',
      loc: 'Redmond, WA',
      projects: [
        {
          name: 'Retrodict',
          kicker: 'Static analysis',
          bullets: [
            <>Developed a <b>static code analyzer</b> identifying unsafe code patterns across the Windows OS codebase.</>,
            <>Analyzed <b>100s of Windows binaries</b>, surfacing findings in a triage&#8209;friendly SARIF format.</>,
            <>Resolved <b>100+ security issues</b>, saving an estimated <b>$1M+</b> in bounty payouts and remediation cost.</>
          ]
        },
        {
          name: 'Windows Presentation Foundation',
          kicker: '.NET Core port',
          bullets: [
            <>Migrated WPF to <b>.NET Core</b>, porting <b>over a million lines of code</b> and making WPF apps OS&#8209;agnostic — saving app developers time on every Windows upgrade.</>
          ]
        },
        {
          name: 'Known Issue Rollback (KIR)',
          kicker: 'Live mitigation',
          bullets: [
            <>Built a <b>Velocity&#8209;based rollback framework</b> enabling selective Windows rollbacks <b>without</b> a full update cycle when regressions appeared.</>,
            <>Designed the <b>Azure backend</b> for remote group&#8209;policy modification — reducing customer impact during critical regressions by over a month.</>
          ]
        }
      ]
    },
    {
      when: { start: 'May 2015', end: 'Aug 2015' },
      title: 'Software Engineer Intern',
      company: 'Microsoft',
      loc: 'Redmond, WA',
      projects: [
        {
          name: 'Cortana — voice mail',
          kicker: 'Intern project',
          bullets: [
            <>Prototyped and shipped <b>voice&#8209;activated email</b> in Cortana — end&#8209;to&#8209;end hands&#8209;free dictation and send.</>,
            <>Added proactive launch: Cortana would read incoming mail from a chosen sender list and offer to reply or mark unread.</>
          ]
        }
      ]
    }
  ],

  // SDE: lead with Languages, then ML, then infra.
  skills: [
    {
      cat: 'Languages',
      items: [
        { name: 'Python', primary: true },
        { name: 'C#', primary: true },
        { name: 'C++', primary: true },
        { name: 'SQL' }
      ]
    },
    {
      cat: 'AI / ML',
      items: [
        { name: 'LLMs', primary: true },
        { name: 'RAG', primary: true },
        { name: 'Embeddings' },
        { name: 'Re-Ranking' },
        { name: 'Evaluation Pipelines' },
        { name: 'Vector Databases' },
        { name: 'PyTorch' },
        { name: 'NumPy' },
        { name: 'Pandas' },
        { name: 'Scikit-Learn' }
      ]
    },
    {
      cat: 'Cloud & Infra',
      items: [
        { name: 'Azure', primary: true },
        { name: 'AWS' },
        { name: 'GCP' },
        { name: 'Docker' },
        { name: 'Flask' }
      ]
    },
    {
      cat: 'Data',
      items: [
        { name: 'PySpark' },
        { name: 'Spark' },
        { name: 'ETL' },
        { name: 'MongoDB' }
      ]
    }
  ]
};
