Uploaded November 2026 | Updated December 2026, 4 days ago
**Target Audience**
* **Roles:** Data Scientists, Machine Learning Scientists, Applied Scientists, Economists.
* **Experience Level:** Intermediate.
**Required Background Knowledge**
Familiarity with standard A/B testing, introductory linear regression, and basic causal inference concepts (e.g., confounders, selection bias). Basic knowledge of Python’s scientific stack (e.g., `scikit-learn`).
**Talk Type and Approach**
Simulation-driven and Practical. The session will blend a live-coded Python simulation with mathematical intuition (DAGs) and a real-world product case study.
**Audience Takeaways**
* **Conceptual:** Visually understand why standard observational methods (like Propensity Score Matching or naive Doubly Robust ML) structurally fail for opt-in features due to collider bias.
* **Strategic:** Learn how to disentangle a product's intrinsic value from its marketing reach, preventing the business from abandoning highly effective features simply due to poor adoption UX.
* **Practical:** Gain a Python blueprint for implementing Randomized Encouragement Design (RED) and the Interactive Instrumental Variable Model (`DoubleMLIIVM`) to handle heavy-tailed, highly skewed platform data.
**Technical Depth & Educational Value**
This talk moves beyond theory by using code-driven simulations to visualize causal failures, providing a robust structural solution for each part of the Trilemma:
* **Solving Voluntary Adoption (Simulation & RED):
* **Solving Heterogeneity
* **Solving Finite Samples:**
Minutes 0-5: The Business Context & The Trilemma.** Introduce the opt-in paradox across platform ecosystems. Define the "Trilemma" preventing us from measuring true ROI: Voluntary Adoption, Extreme Heterogeneity, and Finite Sample Sizes.
Minutes 5-15: The Measurement Trap & RED Framework.** Using a Python simulation, we visualize the failure of standard A/B tests (dilution) and observational models (Collider Bias). We solve this conceptual hurdle by introducing Randomized Encouragement Design (RED) to create a valid instrument.
Minutes 15-20: The Variance Problem & DoubleML.** We explain why standard IV estimation (`2SLS`) isn't enough for highly skewed user data. We walk through the `DoubleML` Python implementation (`DoubleMLIIVM`), highlighting the use of `Tweedie` Regressors to handle zero-inflated data and recover the precise LATE.
Minutes 20-25: Empirical Case Study.** We apply the full RED + `DoubleML` framework to a real-world product decision, demonstrating step-by-step how it recovered the signal from the noise and saved a high-potential feature from being abandoned due to poor UX discovery.
Minutes 25-30: Summary, Learnings & Q&A.** A quick recap of the architectural blueprint (the "how-to" for attendees). Open the floor for Q&A.
pydata.org
PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.
PyData conferences aim to be accessible and community-driven, with novice to advanced level presentations. PyData tutorials and talks bring attendees the latest project features along with cutting-edge use cases.
00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.
Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: github.com/numfocus/YouTubeVideoTimestamps
**Target Audience**
* **Roles:** Data Scientists, Machine Learning Scientists, Applied Scientists, Economists.
* **Experience Level:** Intermediate.
**Required Background Knowledge**
Familiarity with standard A/B testing, introductory linear regression, and basic causal inference concepts (e.g., confounders, selection bias). Basic knowledge of Python’s scientific stack (e.g., `scikit-learn`).
**Talk Type and Approach**
Simulation-driven and Practical. The session will blend a live-coded Python simulation with mathematical intuition (DAGs) and a real-world product case study.
**Audience Takeaways**
* **Conceptual:** Visually understand why standard observational methods (like Propensity Score Matching or naive Doubly Robust ML) structurally fail for opt-in features due to collider bias.
* **Strategic:** Learn how to disentangle a product's intrinsic value from its marketing reach, preventing the business from abandoning highly effective features simply due to poor adoption UX.
* **Practical:** Gain a Python blueprint for implementing Randomized Encouragement Design (RED) and the Interactive Instrumental Variable Model (`DoubleMLIIVM`) to handle heavy-tailed, highly skewed platform data.
**Technical Depth & Educational Value**
This talk moves beyond theory by using code-driven simulations to visualize causal failures, providing a robust structural solution for each part of the Trilemma:
* **Solving Voluntary Adoption (Simulation & RED):
* **Solving Heterogeneity
* **Solving Finite Samples:**
Minutes 0-5: The Business Context & The Trilemma.** Introduce the opt-in paradox across platform ecosystems. Define the "Trilemma" preventing us from measuring true ROI: Voluntary Adoption, Extreme Heterogeneity, and Finite Sample Sizes.
Minutes 5-15: The Measurement Trap & RED Framework.** Using a Python simulation, we visualize the failure of standard A/B tests (dilution) and observational models (Collider Bias). We solve this conceptual hurdle by introducing Randomized Encouragement Design (RED) to create a valid instrument.
Minutes 15-20: The Variance Problem & DoubleML.** We explain why standard IV estimation (`2SLS`) isn't enough for highly skewed user data. We walk through the `DoubleML` Python implementation (`DoubleMLIIVM`), highlighting the use of `Tweedie` Regressors to handle zero-inflated data and recover the precise LATE.
Minutes 20-25: Empirical Case Study.** We apply the full RED + `DoubleML` framework to a real-world product decision, demonstrating step-by-step how it recovered the signal from the noise and saved a high-potential feature from being abandoned due to poor UX discovery.
Minutes 25-30: Summary, Learnings & Q&A.** A quick recap of the architectural blueprint (the "how-to" for attendees). Open the floor for Q&A.
pydata.org
PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.
PyData conferences aim to be accessible and community-driven, with novice to advanced level presentations. PyData tutorials and talks bring attendees the latest project features along with cutting-edge use cases.
00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.
Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: github.com/numfocus/YouTubeVideoTimestamps








![Building MCP at the Speed of Hype: Principles That Outlast the Trends [PyCon DE & PyData 2026]
🔊 Recorded at PyCon DE & PyData 2026, 16.04.2026
https://2026.pycon.de/talks/EPASS8/
🎓 Watch Rahkakavee Baskaran and Friederike Bauer share how to leverage fundamental engineering principles to build stable, future-proof MCP applications amidst the rapid evolution of AI hype.
Speakers:
Rahkakavee Baskaran, Friederike Bauer
Description:
Model Context Protocol (MCP) development requires a strategic approach to manage the rapid evolution of AI frameworks and LLM releases. The primary challenge is the speed of hype, where new protocols, such as AGUI for agent-to-frontend interaction and A2A for agent-to-agent communication, emerge alongside frequent model updates (e.g., transitioning from GPT-4.1 to 5.4). This volatility can lead to technical obsolescence if systems are too tightly coupled to specific proprietary tools.
To mitigate this, development should prioritize rigorous requirements engineering to filter out irrelevant trends and focus only on the tools necessary for the specific use case. For example, a labor market analysis tool integrated into ChatGPT requires an MCP server but does not need a custom generative UI or an agentic kit. Flexibility is achieved through the separation of concerns—isolating the frontend, backend, and MCP layers—and building on open standards to prevent vendor lock-in. This architecture allows for the seamless replacement of components, such as swapping a custom RAG pipeline for a superior built-in web search tool without rebuilding the entire system.
Technical implementation often relies on familiar software patterns; building an MCP server with FastMCP mirrors the syntax and concepts of FastAPI. Similarly, MCP apps utilize established technologies like iframes and post-messages for interactive UI resources. Quality assurance involves a structured evaluation process using gold standard test sets, LLM judges, and traditional metrics like precision and recall. By focusing on deterministic outputs—such as testing the RAG retrieval phase rather than the generative response—developers can maintain stability in non-deterministic environments.
⭐️ About PyCon DE:
PyCon DE is the leading conference on open-source Python applications in AI and data science. It brings together industry professionals, researchers, AI and data science practitioners, and software engineering communities, providing a unique platform for collaboration, knowledge sharing, and innovation.
The PyCon DE & PyData 2026 conference delivered an exceptional experience, fostering stronger connections within the Python community while showcasing the latest advancements in artificial intelligence and data science. Attendees enjoyed a diverse and engaging program of talks, workshops, and networking opportunities, further establishing the conference as a premier event for Python, AI, and data science enthusiasts across Germany.
PyCon DE 2027 will take place in Heidelberg from 19 to 23 April 2027.
Follow us:
• Newsletter: https://2027.pycon.de/newsletter/
• LinkedIn: https://www.linkedin.com/company/pyconde
• X: https://www.x.com/pyconde
Links:
• Conference website: http://pycon.de
• Other sessions: https://2026.pycon.de/talks/
The conference was organized by
• Python Softwareverband e.V.: http://pysv.org
• Pioneers Hub gemeinnützige GmbH: http://pioneershub.org
in collaboration with NumFOCUS Inc.: http://numfocus.org
If you enjoyed this session, please like, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareEngineering #LLMs #Community #Sovereignty
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
Pioneers Hub gemeinnützige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
www.pydata.org
PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R. Building MCP at the Speed of Hype: Principles That Outlast the Trends [PyCon DE & PyData 2026]](https://i.ytimg.com/vi/hTkJ-Hm8_1Q/mqdefault.jpg)

