Safe-DS: A Domain Specific Language to Make Data Science Safe
Not on the map. Why?
Abstract (arXiv)
Due to the long runtime of Data Science (DS) pipelines, even small programming mistakes can be very costly, if they are not detected statically. However, even basic static type checking of DS pipelines is difficult because most are written in Python. Static typing is available in Python only via external linters. These require static type annotations for parameters or results of functions, which many DS libraries do not provide. In this paper, we show how the wealth of Python DS libraries can be used in a statically safe way via Safe-DS, a domain specific language (DSL) for DS. Safe-DS catches conventional type errors plus errors related to range restrictions, data manipulation, and call order of functions, going well beyond the abilities of current Python linters. Python libraries are integrated into Safe-DS via a stub language for specifying the interface of its declarations, and an API-Editor that is able to extract type information from the code and documentation of Python libraries, and automatically generate suitable stubs. Moreover, Safe-DS complements textual DS pipelines with a graphical representation that eases safe development by preventing syntax errors. The seamless synchronization of textual and graphic view lets developers always choose the one best suited for their skills and current task. We think that Safe-DS can make DS development easier, faster, and more reliable, significantly reducing development costs.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 8 of its 41 references that are in the map. First posted on arXiv 28 Feb 2023.
Builds on
8 of 41 references.
References · 8
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2019AutoML: A Survey of the State-of-the-Artcited by 388
- 2020How do Data Science Workers Collaborate? Roles, Workflows, and Toolscited by 64
- 2019How Data Scientists Work Together With Domain Experts in Scientific Collaborations: To Find The Right Answer Or To Ask The Right Question?cited by 30
- 2019Ludwig: a type-based declarative deep learning toolboxcited by 24
- 2022Achieving Guidance in Applied Machine Learning through Software Engineering Techniquescited by 2
- 2022Improving the Learnability of Machine Learning APIs by Semi-Automated API Wrappingcited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.