<?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 Eulalie Formery on Medium]]></title>
        <description><![CDATA[Stories by Eulalie Formery on Medium]]></description>
        <link>https://medium.com/@eulalie.formery_8852?source=rss-eee01e32a44f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ar60FzJqlxsUouD21_GYsg.png</url>
            <title>Stories by Eulalie Formery on Medium</title>
            <link>https://medium.com/@eulalie.formery_8852?source=rss-eee01e32a44f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:14:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@eulalie.formery_8852/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[How we use causal inference to solve business questions at Doctolib ?]]></title>
            <link>https://medium.com/doctolib/how-we-use-causal-inference-to-solve-business-questions-at-doctolib-91ec79cedb4b?source=rss-eee01e32a44f------2</link>
            <guid isPermaLink="false">https://medium.com/p/91ec79cedb4b</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[causality]]></category>
            <category><![CDATA[ab-testing]]></category>
            <category><![CDATA[correlation]]></category>
            <category><![CDATA[causal-inference]]></category>
            <dc:creator><![CDATA[Eulalie Formery]]></dc:creator>
            <pubDate>Tue, 29 Oct 2024 16:51:13 GMT</pubDate>
            <atom:updated>2025-01-13T20:46:14.265Z</atom:updated>
            <content:encoded><![CDATA[<h3>How do we use causal inference to solve business questions at Doctolib ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SnSIA_WE7ZcSSYS0m_Fq3w.png" /></figure><p><em>Since 2013, Doctolib has been driven by a single purpose: building the healthcare system we all dream of, alongside healthcare professionals and patients. Supporting more than 1 million professional users with innovative technology, Doctolib improves their daily lives and enables them to deliver the best possible care. The company also empowers 90 million people across Europe with secure, confidential, and streamlined access to healthcare to be healthier.</em></p><p><em>In this article, we’ll cover progressively those topics :</em></p><ul><li><em>A practical introduction to causality</em></li><li><em>When is causal inference relevant ?</em></li><li><em>A deep-dive on three methodologies and their application at Doctolib</em></li><li><em>Tips to ensure results reliability</em></li></ul><h3>A practical introduction to causality</h3><p>Let’s start with an example from Doctolib. As part of our strategy to prevent patients from not showing up to a health practitioner appointment, a SMS is sent a few days before as a reminder. How can we measure the impact of this SMS on the “no-show rate” ?</p><p>To measure an <strong>impact, </strong>a naive approach is to look at the <strong>difference between two KPIs. </strong><em>For ex: no-show rate of appointments with a reminder and no-show rate of appointments without</em><strong>. </strong>In reality, this difference can be decomposed into three factors:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*XDsUE6UGKReo-hXJb-E1dQ.png" /></figure><h4>What is <strong>bias </strong>?</h4><p>Here are the two most common types of bias when observing the difference between two KPIs :</p><ul><li><strong>Selection bias:</strong> the fact that the population are not comparable<strong> </strong><em>ex: old people receive fewer SMS reminders but have a lower no-show rate as they are more faithful to their healthcare practitioners. </em>Comparing the no-show rate of users that receive a SMS reminder vs. those that do not receive an SMS is observing <strong>correlation</strong>, not <strong>causality</strong>.</li><li><strong>temporal biases:</strong> seasonality, trend, external events (like COVID) <em>ex: every year there’s an increase of no-show rate during summer.</em></li></ul><h4>What is <strong>noise</strong> ?</h4><p>Noise is what you get when you flip a coin 100 times and get 60 heads and 40 tails. It does not mean that the chances of getting a head are 60%. It’s the same thing when observing a KPI, that’s why we need statistics (i.e. confidence interval, hypothesis tests). This helps us account for the level of noise.</p><h4><strong>The gold standard to measure causality is AB testing</strong></h4><p>In AB tests, users are randomly allocated into a test and control group. Users in the test group will receive the change, while users in the control group will have the product unchanged. We then measure the difference in KPIs after a certain amount of time.</p><p>It eliminates <strong>selection bias</strong> by drawing randomly users into test and control groups, and it eliminates <strong>temporal bias</strong> by showing version A and version B at the same time! We’re left with Impact + Noise.</p><p>But unfortunately, we can’t always run an AB test.. That’s where causal inference comes into play.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*nYO935XpaRxw58k6NR7QzQ.png" /></figure><h3><strong>When is causal inference relevant ?</strong></h3><p>Causal inference is a set of methodologies coming from econometrics and ML. It aims at measuring the impact of a <strong>Treatment </strong>(<em>ex: product change, marketing campaign, action</em>) on an <strong>Outcome variable </strong>(<em>KPI, for example churn rate, conversion rate..</em>).</p><p>It’s relevant when :</p><ul><li><strong>AB testing is not feasible. </strong>While AB testing eliminates most common biases, causal inference does its best to reduce them.</li><li>It answers a<strong> strategic</strong> question, as it takes time to run a proper causal inference study, you want to prioritize topics that matters the most.</li><li>We’re okay with an order of <strong>magnitude or directionality </strong>(does it have a positive or negative impact)<strong> </strong>rather than a precise treatment effect</li><li>There’s a <strong>control group</strong>, some users / units receive the treatment while others don’t.</li></ul><p>There are <strong>two important notions</strong> in causal inference :</p><ul><li><strong>confounding: </strong>it’s at the origin of selection bias. It’s a factor that impacts both the treatment and the outcome. For example, age is a confounder in our SMS reminder study<strong> : </strong>indeed age impacts both the fact of receiving a SMS and not showing to a health practitioner appointment.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*cn19J1oW4vJFY0nGlOkHEw.png" /></figure><ul><li><strong>counterfactual : </strong>What would have happened to an individual <strong>if he had not received</strong> the treatment? Since we do not observe counterfactuals, we need to estimate them using causal inference. The treatment effect is then computed by comparing the observed outcome (what actually happened) with the counterfactual outcome (what would have happened in the absence of treatment).</li></ul><h3>Introducing 3 use cases at Doctolib</h3><p>In this part we will introduce three causal inference methodologies:</p><ul><li>Propensity Score Matching</li><li>Regression Discontinuity</li><li>Diff-in-diff</li></ul><p>For the three methodologies, we’ll cover the context, the main assumptions, an overview of the logic, and a use case at Doctolib</p><h4><strong>Propensity score matching</strong></h4><p>It’s a methodology aimed at removing selection bias. The idea is to find a comparable set of users that received the treatment and that did not, by matching users on a set of characteristics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*Dc37AvSNKMOxroYsfJ_Szw.png" /><figcaption>We match users based on their propensity score: what’s the probability to receive the treatment? [<a href="https://www.researchgate.net/figure/An-illustration-explaining-the-Propensity-Score-Matching-model-Note-figure-does-not_fig1_361733978">source</a>]</figcaption></figure><ul><li><strong>Context: </strong>We are in the context of a<strong> binary treatment</strong> : there are two groups, those who receive a treatment and those who do not, but treatment assignment is not random.</li><li><strong>Main assumptions:</strong> 1. <strong>Unconfoundedness</strong> : All the confounders are observed and controlled for. 2. <strong>Overlap</strong> : there is a subset of comparable users in treatment and control group</li><li><strong>What do we measure</strong>: The average treatment impact on <strong>matched population, </strong>it’s important to note that this is more limited than the average treatment effect on the whole population<strong>.</strong></li><li><strong>Methodology overview: </strong>Units from treatment and control group are matched based on their <strong>propensity score</strong>, which is the probability of receiving the treatment given observed characteristics (confounders). A <strong>model </strong>(e.g.logistic regression, tree-based models) is used to estimate propensity scores. The <strong>treatment effect </strong>is then estimated by comparing outcomes between matched treated and control units.</li></ul><p><strong>An example at Doctolib</strong></p><p>We wanted to measure the impact of using a <strong>demo tool</strong> on <strong>Sales meeting Conversion rate</strong>. In this context, it was not possible to run an AB test for operational and organizational reasons, some meetings would have to be conducted with the tool and some without the tool, without the salesperson being able to judge if it’s necessary.</p><p>Initially, comparing the conversion rate of meetings with and without the demo tool showed a negative number, raising the question : do we need to invest further on this tool ?</p><p>But, remember, the equation : <strong>Observed difference = impact + bias + noise</strong>. Here, we need to reduce the <strong>selection bias</strong>. Before running the analysis, we sat down with our business stakeholders and listed all the potential confounders. For example, the demo tool is less used with inbound prospects <em>— those who have already shown interest in the product — </em>and is more used by senior salespeople. These elements are confounders as they impact both the fact of using the demo tool and the ability to convert.</p><p>After running a matching analysis, we found a positive relation between the demo tool and the Conversion Rate.</p><p>At Doctolib, we built a tool called the <strong>bias reduction tool (</strong>with <a href="https://streamlit.io/">streamlit</a>) enabling us to facilitate such analyses. It was purposely called the bias reduction tool, and not the bias destruction tool because we want to account for the fact that we might not have identified nor observed all confounders.</p><h4>Regression Discontinuity</h4><p>Use cases for this methodology are rarer as it depends on a very specific treatment assignment process. Indeed, it’s relevant when the decision of who receives the treatment depends on a threshold value (for instance on age or a score).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/0*fgqdoRbQVUTSjkSP" /><figcaption>Regression discontinuity graph : users (in orange) are treated because their assignment variable is above the threshold[<a href="https://www.researchgate.net/figure/An-illustration-explaining-the-Regression-Discontinuity-Design-model-and-how-the-average_fig4_361733978">source</a>]</figcaption></figure><ul><li><strong>Context: </strong>The inclusion in the treatment group depends on <strong>a threshold on a continuous variable</strong> (e.g. seniority at Doctolib, age), those below the threshold are not treated and those above are treated.</li><li><strong>Main assumptions:</strong> <strong>Continuity at the threshold</strong>: The only difference between units just below and just above the threshold is the treatment itself, and all other factors affecting the outcome vary smoothly around the threshold.</li><li><strong>What do we measure</strong>: ATEC = average treatment effect at the cutoff (=threshold)</li><li><strong>Methodology overview: </strong>Fit a linear regression of the <strong>assignment variable </strong>on the <strong>outcome</strong> before and after the threshold. There are two parameters to carefully define: the bandwidth (size of the window around the cut-off) and functional form (simple regression, polynomial regression..). The treatment effect is estimated by measuring the <strong>discontinuity</strong> at the threshold.</li></ul><p><strong>An example at Doctolib</strong></p><p>Remember we are sending Reminder SMS to increase attendance to appointments. In this analysis, we wanted to measure the Impact of sending a reminder two days before vs one day before the appointment on the “no-show” rate. The current rule is that if an appointment is booked <strong>more than</strong> <strong>7 day</strong>s in advance, the SMS is sent 2 days in advance; and if it’s booked <strong>less than 7 days </strong>in advance then it’s sent 1 day in advance.</p><p>In our context:</p><ul><li>assignment variable = number of days between booking and appointment</li><li>threshold = 7 days</li><li>treatment = Has received reminder SMS 2 days in advance</li><li>outcome variable = No-show rate &amp; Attendance rate</li></ul><p>Here’s an adaptation of the graph above:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*r67ye_gUZ23oeeHunbbXLA.png" /></figure><p>The analysis showed a significant uplift on one of our two KPIs of interest, which enabled us to de-risk a future development: it already gives us strong evidence that the change should not be detrimental to our business.</p><h4>Diff-in-diff like methodologies</h4><p>Difference-in-Differences (Diff-in-Diff) methodologies are useful for treatments occurring during a specific time period, such as a marketing campaign. A naïve approach would be to compare a KPI before and after the treatment. However, this is risky due to temporal biases. The objective of Diff-in-Diff is to control for these temporal biases by estimating a counterfactual for the treatment group: what would have happened had there been no treatment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*YAKMOmvn2gaszWSxPHZQ-A.png" /></figure><ul><li><strong>Context: Binary treatment with time dimension</strong>: There are two groups — treated and control — and two time periods — before and after the treatment. The treatment happens to only one group in the post-treatment period.</li><li><strong>Main assumptions:</strong> <strong>Parallel trends assumption</strong>: In the absence of treatment, the treated and control groups would have followed the same trend in the outcome over time.</li><li><strong>Methodology overview: </strong>The control group serves as a <strong>counterfactual</strong> for what would have happened in the treatment group. Diff-in-diff calculates the difference between the changes of outcome for the treatment group and the changes in outcomes over time for the control group. This helps isolate the treatment effect. Advanced<strong> </strong>methodologies in the same “family” include causalimpact, synthetic control, time-based regression.</li></ul><p><strong>Example at Doctolib</strong></p><p>This last example is in the marketing domain. At Doctolib, we run marketing campaigns aiming at increasing the number of bookings through our website or the number of health practitioners using our platform. Nevertheless due to privacy limitations we cannot attribute well bookings to campaigns outside our website (ex: social media, SEA..). As a result, we cannot run A/B tests at the user level.</p><p>Therefore we use geo-tests : this methodology is at the intersection between AB testing &amp; causal inference.</p><p>There are three steps :</p><ul><li>Find<strong> two comparable groups </strong>of locations (e.g. regions, departments, cities): <strong>test </strong>and <strong>control </strong>group, preferably randomly.</li><li>Launch a campaign on the test group and wait (generally our tests last 4 to 6 weeks)</li><li>Measure the impact thanks to a diff-in-diff like approach. In our case we use <a href="https://research.google/pubs/a-time-based-regression-matched-markets-approach-for-designing-geo-experiments/">time-based regression</a> as it is robust in cases with small volumes.</li></ul><h3>How to ensure robust results ?</h3><p>Using a causal inference model itself does not guarantee reliable results. It’s important to check that assumptions are met as much as possible, and that the results are not too sensitive to the model specifications or the data. Here are two pieces of advices:</p><h4><strong>1/ Run A/A tests </strong>(a.k.a. Placebo Tests) to ensure statistical guarantees</h4><ul><li>Simulate multiple A/A tests using current or past data. <strong>Do we have significant results ?</strong> What’s the share of False Positives ? This will guarantee the level of significance of your approach.</li><li>Adding <strong>synthetic lifts (fake +1%, +2%, etc)</strong>: Do we detect them ? What’s the <strong>power </strong>of the methodology ? This can also lead to a minimum detectable effect computation: what’s the minimum effect that we can detect in more than 80% of A/A tests ?</li></ul><p><strong>For example in geo-experiments</strong></p><p>As part of the design phase, for each treatment &amp; control group proposition, we run some A/A tests in the past : take randomly 100 dates in the past where there were no campaign targeting specifically the treatment group, run a statistical model and ensure that the share of False Positive is less than 10%.</p><p>Then we add synthetic lifts (ranging from -10% to +10%) to compute the Minimum Detectable Effect: what’s the minimum size of effects that we are able to detect 80% of the time?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*fMndRfqBVBjJy3TYPMfXMQ.png" /><figcaption>Examples placebo tests in random time period in the past</figcaption></figure><h4>2/ Test different <strong>model specifications</strong> — Are results consistent?</h4><p>A result can highly depend on model specifications, therefore it is recommended to vary models, parameters, and perturb model input. This enables measuring how results are sensitive to a model specification. It’s possible to compute sensitivity bounds: In which range does the outcome vary with different model specifications ?</p><p><strong>For example in propensity score matching</strong></p><p>&gt; Test differen<strong>t confounding variables</strong> subset, a method that is often mentioned is LOCO, Leave-one-covariate-out.</p><p>&gt; Test different <strong>propensity score models </strong>(ex: Logistic regression, Random Forest, XGboost), different matching methodologies (1:1 vs 1:many)</p><h3>Conclusion</h3><p>Causal inference is a fascinating field with multiple real-world applications. It does its best to reduce biases: in order to get closer to measuring the causal impact of a treatment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*XDsUE6UGKReo-hXJb-E1dQ.png" /></figure><p>However, it should not be used as a black box. It’s crucial to understand the model and its assumptions, and to define a methodology to check its robustness.</p><p>Many thanks to Adrien Morvan for his support, Victor Kerros for his strong contribution on the topic, and the rest of the Data Science Patient team 🙏</p><p>If you are interested in applying to Doctolib, check out our jobs <a href="https://careers.doctolib.fr/career-jobs/?key=data%20scientist">page</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91ec79cedb4b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/doctolib/how-we-use-causal-inference-to-solve-business-questions-at-doctolib-91ec79cedb4b">How we use causal inference to solve business questions at Doctolib ?</a> was originally published in <a href="https://medium.com/doctolib">Doctolib</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yes, Test-driven Development is useful in Data Science]]></title>
            <link>https://medium.com/doctolib/yes-test-driven-development-is-useful-in-data-science-857f38208349?source=rss-eee01e32a44f------2</link>
            <guid isPermaLink="false">https://medium.com/p/857f38208349</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Eulalie Formery]]></dc:creator>
            <pubDate>Tue, 29 Nov 2022 09:58:47 GMT</pubDate>
            <atom:updated>2022-11-29T11:07:00.982Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mq2r6eMDAATqQ8L6FZy-Cw.png" /></figure><p>Coming from an analytics &amp; data science background, I used to see writing tests as something painful. I knew that it was important, but I never knew where to start and always procrastinated until the end of the project. What’s more boring than testing a piece of code that already works?</p><p>Recently, I started to see things the other way round. I discovered Test-Driven Development: write your tests before you actually code the functional part of the code. It’s a best practice in software engineering which deserves to be applied more often to data science projects.</p><h3><strong>What is Test-Driven Development (TDD) ?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*0cfnvfM0lc9TtxNWW74tew.png" /></figure><p>A simple way to put it is through the Red / Green / Refactor <a href="http://blog.cleancoder.com/uncle-bob/2014/12/17/TheCyclesOfTDD.html">framework</a>. Every time you want to add functionality to the code, you can follow a three-step cycle:</p><ol><li><strong>Red</strong>. Create a test that fails.<em> i.e. write your code’s functional needs</em></li><li><strong>Green</strong>. Write production code that makes the test pass. <em>i.e. fulfill the code’s functional needs</em></li><li><strong>Refactor.</strong> Clean up the mess you just made.<em> i.e. clean your code without changing the functionality</em></li></ol><h4><strong><em>Real-life Example</em></strong></h4><p>Let’s illustrate this with a real-life example. As a post-processing step for a <a href="https://en.wikipedia.org/wiki/Named-entity_recognition">Named Entity Recognition</a> project, we want to build a <strong>processing</strong> function to extract the duration unit (day/ week/ month/..) and duration value in a text.</p><ol><li>Let’s write a unit test that meets the functional needs and an empty function.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xNtLVoFHEJnWNcg7_GjESA.png" /><figcaption>The function</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K2Kbyr01ODTNt1kbWH-wcw.png" /><figcaption>The unit test</figcaption></figure><p>Test is <strong>RED </strong>🔴 That’s normal because the function returns an empty dictionary.</p><p><strong>2. </strong>We write code that passes the test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ugTGptbMAs0p-siLINhGCw.png" /></figure><p>Test is<strong> GREEN 🟢 </strong>Hurray!!<strong> </strong>Hold on.. are we sure it’s DRY, SOLID, pep8??</p><p>3. We<strong> refactor</strong> the function, to ensure coding best practices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yir5zSTri46m_JyXuZCC4Q.png" /></figure><p><em>Here we added type annotations, created a generic function to convert letter number to float (with its own unit test as well) and refactored how we fill the dictionary.</em></p><h3><strong>Where can we apply Test-Driven Development in Data Science?</strong></h3><p>Test Driven Development is not relevant at every step of a data science project. For instance, it is not worth it during data or model <strong>explorations</strong> where you are not sure of what you’re looking for: writing tests without knowing the expected output is probably overkill.</p><p>It becomes very useful whenever you need to build<strong> robust production pipelines</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vV-u2KD6FK7RmG7x" /></figure><p>In this context, we need to implement several types of tests:</p><ul><li><strong>Unit tests:</strong> a test for each piece of code of the project</li><li><strong>Model tests</strong>: ensure that the model has good performance and behaves correctly</li><li><strong>Integration tests</strong>: ensuring that there is a good linkage between each piece of code</li></ul><p>Test-driven development applies very well to <strong>unit tests</strong>, especially for the processing parts of the pipeline (pre-processing and post-processing), where the code is deterministic.</p><p>For <strong>model tests</strong>, it should be used carefully. When dealing with predictive models, we are dealing with <strong>uncertainty</strong>. Indeed, many machine learning algorithms are inherently random — multiple runs using the same inputs might produce slightly different results each time. This can lead to <strong>flaky tests</strong>: a test that sometimes passes and sometimes fails despite no changes to the code or the test itself. If we are too specific on the test cases during a first Test-driven development, it’s highly likely that some tests will break on a next iteration. A new model could behave differently in some cases, while performing better globally.<em> </em>Therefore, it’s better to include in model tests only basic cases that are necessary for the project.</p><p>Lastly for <strong>integration tests</strong>, it applies well to pieces of code that do not include model predictions. If it includes model prediction, it is better to test on the format of the output than the actual output.</p><p>A good practice is to include those tests in the <strong>CI/CD</strong> of your project. Therefore whenever a new functionality proposal is made, it is ensured that no other functionality breaks.</p><h3><strong>Why is it game-changing ?</strong></h3><p>Adopting Test-Driven Development really changes the way you organize your coding sessions and there are tons of benefits to it:</p><ul><li>It instantly validates the<strong> business and technical specifications</strong>. It is also a great <strong>documentation</strong> for a data scientist that discovers the project and needs to understand how the project works.</li><li>It gives<strong> confidence in the code</strong>. Every use case is covered by a test and you or your teammates can add additional functionalities without fear of breaking anything that’s already done.</li><li>It’s<strong> Time-saving</strong>. One can see it as something that’s slowing down development. But it’s not, it forces you to think beforehand on the functional needs and anticipate edge cases. Believe me, at the end of the day, it saves a lot of debugging and iteration time.</li><li>It even<strong> </strong>makes<strong> </strong>development<strong> more fun </strong>! It breaks down the code into small <strong>problem solving</strong> challenges. And it’s a perfect fit for peer coding..</li></ul><p><em>Test-Driven Development is one of the multiple coding best practices I learned while being a data scientist at Doctolib. Check out for open positions: </em><a href="https://about.doctolib.fr/jobs/"><em>https://about.doctolib.fr/jobs/.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=857f38208349" width="1" height="1" alt=""><hr><p><a href="https://medium.com/doctolib/yes-test-driven-development-is-useful-in-data-science-857f38208349">Yes, Test-driven Development is useful in Data Science</a> was originally published in <a href="https://medium.com/doctolib">Doctolib</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>