<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rodrigo Mrd on Medium]]></title>
        <description><![CDATA[Stories by Rodrigo Mrd on Medium]]></description>
        <link>https://medium.com/@rodrigomrd?source=rss-29e720722dee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ctDX0rGRMumjrMbC</url>
            <title>Stories by Rodrigo Mrd on Medium</title>
            <link>https://medium.com/@rodrigomrd?source=rss-29e720722dee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:54:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rodrigomrd/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Explosão da Complexidade: Como a IA Destruiu o Teto da Análise de Dados]]></title>
            <link>https://medium.com/@rodrigomrd/a-explos%C3%A3o-da-complexidade-como-a-ia-destruiu-o-teto-da-an%C3%A1lise-de-dados-d2b49be45228?source=rss-29e720722dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2b49be45228</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[jupyter-notebook]]></category>
            <dc:creator><![CDATA[Rodrigo Mrd]]></dc:creator>
            <pubDate>Sun, 14 Jun 2026 16:49:58 GMT</pubDate>
            <atom:updated>2026-06-14T17:27:33.534Z</atom:updated>
            <content:encoded><![CDATA[<p>Recentemente, liderei uma investigação profunda de dados que gerou exatamente <strong>604 arquivos</strong>. Entre eles, havia 80 scripts em Python, 73 queries SQL isoladas, 210 gráficos visuais gerados automaticamente e 209 arquivos CSV de auditoria de suporte. Toda essa arquitetura foi estruturada para resolver um único desafio crítico de negócio.</p><p>Na era pré-IA, executar um projeto dessa escala exigiria um trimestre inteiro, um time robusto de analistas dedicados e um orçamento massivo de engenharia. Hoje, isso representa o entregável padrão de um único profissional de dados trabalhando em parceria com assistentes de IA generativa.</p><p>A matriz central da ciência de dados foi fundamentalmente reescrita. Não estamos mais limitados pelo tempo físico que leva para escrever código, limpar dataframes ou brigar com bibliotecas de visualização. O piso da execução caiu para zero e, por causa disso, o teto da complexidade do que uma análise pode — e deve — ser simplesmente explodiu.</p><p>Se o seu time de dados ainda está entregando resumos executivos com um punhado de gráficos rasos, você está subutilizando severamente a tecnologia à sua disposição. A escala da interrogação de dados mudou permanentemente.</p><h3>A Física da Interrogação Profunda</h3><p>Antes da IA, criar uma única visualização de dados complexa — alinhar eixos manualmente, ajustar distribuições de plotagem, formatar textos — consumia facilmente 45 minutos de desenvolvimento manual e tedioso. Como gerar evidência era fisicamente caro, as análises humanas eram naturalmente rasas. Um analista escrevia uma query básica, validava três hipóteses rápidas, plotava dois gráficos e encerrava o dia.</p><p>Hoje, a IA cospe códigos de plotagem e transformação impecáveis em menos de três segundos. Como o custo físico de gerar evidências agora é zero, o foco muda inteiramente da <strong>velocidade de execução</strong> para o <strong>rigor do julgamento</strong>. De repente, tornou-se prático construir investigações em múltiplos estágios sequenciais.</p><p>Para capturar dinâmicas reais de risco e produto, uma investigação não pode parar em correlações superficiais. No nosso projeto recente, isolar o sinal preciso de perda exigiu uma cadeia lógica de <strong>32 etapas sequenciais e atômicas</strong>. Tivemos que descascar sistematicamente as camadas da carteira por meio de diretórios separados e independentes:</p><pre>ANALISE_REPASSE/<br>├── 1_metricas_gerais_carteira/     # Calibragem do baseline macroscópico da carteira <br>├── 9_decomposicao_repasse/         # Separando erros operacionais de perdas de crédito reais<br>├── 12_toj_mix/                     # Isolando o risco de distorção no tempo de casa (TOJ)<br>├── 15_decomposicao_bad/            # Desacoplando o risco do CPF da saúde financeira da empresa<br>├── 23_cura_linhagem_ccb/           # Corrigindo distorções metodológicas de linhagem de contratos<br>└── 31_metricas_corrigidas/         # Revalidando insights contra fontes saneadas</pre><p>Este nível de profundidade é matemática e operacionalmente impossível de executar dentro de um Jupyter Notebook tradicional. Se você tentar enfiar um pipeline de engenharia de 32 etapas em um único rascunho bagunçado de células de notebook, o arquivo corrompe, a janela de contexto da IA quebra e você obtém uma salada de dados ilegível. Análises profundas exigem uma infraestrutura altamente modular.</p><h3>A Queda da Confiança Cega</h3><p>Essa mudança massiva na escala analítica traz um efeito colateral organizacional profundo: <strong>ela destrói a era da confiança cega</strong>.</p><p>Historicamente, executivos e diretores foram forçados a operar com base na fé. Um analista passava semanas isolado com os dados e emergia com uma linda apresentação corporativa em PowerPoint. Como líder, você tinha que confiar que eles estruturaram os joins corretamente, filtraram as contas de teste internas e não introduziram viés de sobrevivência nas safras. Auditar o trabalho significava decifrar um rascunho caótico de código humano — uma tarefa tão dolorosa que raramente acontecia.</p><p>Mas quando uma análise escala para centenas de arquivos e dezenas de etapas interconectadas, a confiança cega se torna um risco operacional catastrófico. Você não pode apostar milhões de reais em um pipeline que você não consegue auditar.</p><p>Felizmente, a mesma estrutura que permite essa explosão de complexidade também resolve o problema de governança. Ao abandonar o formato de notebook por um <strong>Padrão de Diretórios Autocontidos</strong>, cada etapa analítica torna-se totalmente transparente e auditável por máquina.</p><p>Pegue um diretório como o 15_decomposicao_bad/: a query SQL vive de forma independente em um arquivo .sql puro, pronto para revisão por pares. O script de execução lê de cima para baixo, de forma 100% determinante. As visualizações e os dados CSV brutos de rastreamento são salvos como outputs diretos do código.</p><p>Como a lógica é modular e em texto puro, uma IA generativa pode ingerir a etapa ativa e redigir um relatório técnico impecável (como um relatorio_v2.md) em menos de um minuto. O analista não escreve a documentação de memória no final do projeto — a trilha de auditoria é um efeito colateral automatizado de fazer o trabalho do jeito certo.</p><h3>O Novo Padrão Analítico</h3><p>A linha de base da liderança de dados mudou. Os gestores não precisam mais olhar para os slides de um analista e adivinhar se a lógica subjacente faz sentido. Quando a análise se comporta como software estruturado, a liderança pode usar a IA para auditar toda a linhagem operacional. Você pode cruzar as queries da etapa 23, rodar validações contrafactuais na etapa 15 ou mudar o motor de origem rodando um único script de automação de shell.</p><p>A agilidade não pertence mais ao analista que consegue abrir um notebook bagunçado e gerar um código temporário mais rápido. A agilidade pertence à organização que consegue construir ambientes de texto estruturados e multicamadas onde o julgamento humano é amplificado — e validado — pela velocidade artificial.</p><p>O teto subiu. Pare de aceitar rascunhos rasos. É hora de adaptar sua infraestrutura à real escala da inteligência de dados moderna.</p><p><strong>Rodrigo Vieira Miranda</strong> — Risk Modelling &amp; Data Science · <a href="https://linkedin.com/in/rodrigovmiranda">linkedin.com/in/rodrigovmiranda</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2b49be45228" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Good Analysis Was Always Possible. Now It’s Practical.]]></title>
            <link>https://medium.com/@rodrigomrd/good-analysis-was-always-possible-now-its-practical-d784754884c3?source=rss-29e720722dee------2</link>
            <guid isPermaLink="false">https://medium.com/p/d784754884c3</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Rodrigo Mrd]]></dc:creator>
            <pubDate>Thu, 28 May 2026 17:35:55 GMT</pubDate>
            <atom:updated>2026-05-28T22:24:42.785Z</atom:updated>
            <content:encoded><![CDATA[<h3>A framework for AI-assisted data analysis, after 18 months in production.</h3><p>The standards for <em>good</em> data analysis have been clear for decades. State your hypotheses up front. Document every step. Maintain a full audit trail. Show your work. Deliver findings in a format decision-makers can act on. None of this is controversial.</p><p>So why do so few teams actually do it?</p><p>Because the right way was always expensive. Rigorous documentation, systematic testing, and traceable decisions required either large teams or analysts willing to spend more time writing than analyzing. The result, almost universally, was a compromise: do the analysis, hope you remember what you tried, write the report at the end from memory, and lose details along the way.</p><p>For the past 18 months I’ve been developing an analytical workflow that uses AI to eliminate that compromise. Not by speeding up the analysis itself — the hard part of analysis is still human — but by making the <em>infrastructure around it</em>cheap enough to do right.</p><p>This article is what I’ve learned.</p><h3>The reframe: AI didn’t change the standard, it changed the cost</h3><p>When people talk about AI and analytics, the conversation usually focuses on AI doing the analysis. That misses the bigger opportunity.</p><p>The bottleneck in most analytical work isn’t the analysis itself. It’s everything <em>around</em> it: setting up reproducible code, writing the SQL correctly, structuring outputs, maintaining context across multiple investigations, drafting reports, formatting deliverables for leadership. These tasks consume more time than the actual thinking, and they’re the ones that get cut when deadlines tighten.</p><p>AI is exceptionally good at exactly this layer. The result: practices that used to be “nice to have, if you have the bandwidth” become default. Documentation that used to take a week becomes a side effect of doing the work. Reports that used to consume the final third of a project come together in hours.</p><p>The standard for good analysis didn’t change. The price did.</p><h3>The framework, in five pieces</h3><h3>1. One folder per analysis</h3><p>Every distinct analytical question lives in its own numbered folder. Inside: a Python script, the SQL queries it runs, and an outputs/ directory the script populates automatically. No notebooks, no shared scratch files, no orphaned code.</p><p>This forces every analysis to be self-contained and reproducible. Anyone — including the AI in a future conversation, including future-you — can rerun the analysis with one command and get the same result.</p><p>The structure isn’t aesthetics. It’s what makes analyses composable. And it’s what makes Jupyter notebooks the wrong tool for AI-assisted work: notebooks are stateful and slow to edit programmatically. Plain .py files and .sql files give the AI surgical precision.</p><h3>2. projeto.md — hypotheses before data</h3><p>At the start of any project, a single markdown file defines: what we’re trying to answer, what we believe is true, what we explicitly are <em>not</em> testing, who the stakeholders are, and what success looks like.</p><p>This document changes rarely. It’s the constitution of the project.</p><p>The discipline here is critical. Writing down a hypothesis before touching data makes it much harder to retrofit conclusions later. It also gives the AI the context it needs to be useful — vague prompts produce vague analyses.</p><h3>3. timeline.md — the project&#39;s living memory</h3><p>The timeline is the chronological log of every analysis: what was tested, what came back, what we decided, what comes next. It’s updated <em>as the project unfolds</em>, not at the end.</p><p>This is the most underrated piece of the framework.</p><p>Without it, projects drift. Lessons from analysis 3 get forgotten by the time you start analysis 7. Pivots happen quietly and stop being visible. Decisions made on the fly become hard to defend a quarter later.</p><p>With it, the analyst always knows where they are in the project’s logic. And — critically — the final report writes itself. The timeline is already the rough draft of the final document.</p><h3>4. Living context documents</h3><p>A separate file explains the business domain to the AI: products, tables, metrics, rules, common pitfalls, terminology. This is the secret to AI being useful over time rather than just useful once.</p><p>The AI reads this document at the start of every conversation. The richer it gets, the better the work it produces. After several projects, you have an institutional knowledge base that pays compounding dividends.</p><p>The key practice: at the end of each project, ask the AI to update this document with what was learned. New column quirks, new business rules, common gotchas. The document grows; the team’s leverage grows with it.</p><h3>5. The deliverable pipeline</h3><p>When the analysis is complete, the chain is straightforward:</p><pre>timeline.md → relatorio.md → .docx → PowerPoint</pre><ul><li>The timeline is fed to the AI to produce a detailed report in markdown — covering every analysis, every pivot, every limitation, every decision.</li><li>The markdown report becomes a Word document with one pandoccommand. Leadership can comment on it directly.</li><li>The same markdown report becomes context for a PowerPoint deck. The AI structures the narrative, picks the key numbers, proposes the slide order.</li></ul><p>Every deliverable downstream of the analysis is now a transformation, not a from-scratch effort.</p><h3>What this looks like in practice</h3><p>Abstract frameworks are easy to describe and hard to evaluate. Here’s a concrete example of how the pieces work together.</p><p><strong>The project</strong>: a product team suspects that low engagement in the first 30 days is driving churn. They want to know whether improving onboarding would reduce 90-day churn meaningfully.</p><p><strong>projeto.md at kick-off</strong> captures the hypothesis explicitly: <em>&quot;Customers who do not reach a defined activation milestone within 30 days of signup churn at a higher rate. Improving early onboarding will reduce 90-day churn.&quot;</em> It also states what we&#39;re not testing — pricing, support quality, competitive dynamics — and defines success: a clear, actionable recommendation the product team can take into their next planning cycle.</p><p><strong>The first three analyses</strong> confirm that early non-activation correlates with churn. The timeline.md records this, along with a note: <em>&quot;Correlation holds, but activation rate has been improving for 6 months with no corresponding churn reduction. Investigate lag or confounding.&quot;</em></p><p>That note — written in ten seconds while the results are fresh — turns out to matter. A lot.</p><p><strong>Analysis 4</strong> surfaces the pivot: early activation predicts short-term engagement, but it doesn’t predict 90-day churn. What does predict it is the number of active integrations at day 60. Customers who connect two or more external tools churn at roughly half the rate of those who don’t, regardless of their onboarding behavior.</p><p>Without the timeline.md, this pivot happens silently. The analyst moves on; the original hypothesis is quietly abandoned; no one quite remembers why the onboarding recommendation was dropped. Leadership gets a conclusion without the reasoning.</p><p>With the timeline.md, the pivot is visible. The record shows what was tried, what was found, and why the team changed direction. When someone asks — in the meeting, or six months later — the answer is a document, not a memory.</p><p><strong>The deliverable</strong>: the recommendation shifts from “invest in onboarding” to “invest in integration activation.” The relatorio.md generated from the timeline covers every analysis, every number, every dead end. One pandoccommand produces the Word document for leadership review. The reasoning is fully reconstructable.</p><p>That’s the framework doing its job. Not making the analysis faster — the pivot still required judgment — but making the reasoning durable.</p><h3>What this does to the analyst</h3><p>The most surprising result hasn’t been speed. It’s been discipline.</p><p>When you know the AI will document every pivot, every dead end, every assumption — there’s no temptation to hide them. The full picture stays on the table. Bad hypotheses are recorded as bad hypotheses, not erased.</p><p>The analyst’s job stops being half-execution, half-thinking. It becomes mostly thinking: what should we ask, what should we trust, when should we pivot, when have we hit diminishing returns.</p><p>That’s a better job. And it produces better answers.</p><h3>What this does for leadership</h3><p>Leaders reviewing analytical work face a recurring problem: they’re presented with conclusions, not reasoning. They have to either trust the analyst or interrogate them deeply. Neither scales.</p><p>With this framework, the reasoning is fully visible. The timeline shows what was tried. The report shows what was found and why. The decision trail is reconstructable months or years later.</p><p>That’s not just a quality improvement. It’s a governance improvement.</p><h3>Why I think this matters</h3><p>This isn’t a productivity hack. It’s a shift in what kind of analytical work is economically feasible for small teams — or for individuals.</p><p>What used to require an entire team — rigorous documentation, systematic testing, traceable decisions, polished deliverables — a single analyst can now do consistently and well. And the analyst doesn’t lose any of the parts of the job that actually require judgment.</p><p>That math used to be impossible. Now it isn’t.</p><p>I expect frameworks like this — or variations of it — to become standard practice in data and risk teams over the next few years. Not because AI is impressive, but because the cost of doing analysis <em>the right way</em> finally dropped below the cost of doing it the wrong way.</p><p>The teams that adopt this early will have better outputs, faster cycles, and an audit trail that the teams still doing things the old way will struggle to match.</p><p>If you lead a team that turns analysis into decisions, I’d encourage you to experiment with these patterns. Start with one project. Force the discipline of projeto.md and timeline.md. See what happens.</p><p>I’ll be sharing the template repository publicly soon. Happy to compare notes with anyone working in the same direction.</p><p><a href="https://www.linkedin.com/in/rodrigovmiranda/">https://www.linkedin.com/in/rodrigovmiranda/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d784754884c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>