Making a Pipeline Production-Ready: Challenges and Lessons Learned in the Healthcare Domain
Lawand, Daniel Angelo Esteves, Lam, Lucas Quaresma Medina, Bolgheroni, Roberto Oliveira, Ferreira, Renato Cordeiro, Goldman, Alfredo, Finger, Marcelo
–arXiv.org Artificial Intelligence
Deploying a Machine Learning (ML) training pipeline into production requires good software engineering practices. Unfortunately, the typical data science workflow often leads to code that lacks critical software quality attributes. This experience report investigates this problem in SPIRA, a project whose goal is to create an ML-Enabled System (MLES) to pre-diagnose insufficiency respiratory via speech analysis. This paper presents an overview of the architecture of the MLES, then compares three versions of its Continuous Training subsystem: from a proof of concept Big Ball of Mud (v1), to a design pattern-based Modular Monolith (v2), to a test-driven set of Microservices (v3) Each version improved its overall extensibility, maintainability, robustness, and resiliency. The paper shares challenges and lessons learned in this process, offering insights for researchers and practitioners seeking to productionize their pipelines.
arXiv.org Artificial Intelligence
Sep-10-2025
- Country:
- Europe > Netherlands
- North Brabant > Eindhoven (0.04)
- South America > Brazil
- São Paulo (0.06)
- Europe > Netherlands
- Genre:
- Research Report (0.64)
- Workflow (0.68)
- Industry:
- Technology: