"Project smells" -- Experiences in Analysing the Software Quality of ML Projects with mllint

Bart van Oort, Luís Cruz, Babak Loni, Arie van Deursen
1/20/2022
cs.SEcs.AI

Official code: bvobart/mllint (80 stars, Go, GPL-3.0, last commit 2022-06-20).

Abstract

Machine Learning (ML) projects incur novel challenges in their development and productionisation over traditional software applications, though established principles and best practices in ensuring the project's software quality still apply. While using static analysis to catch code smells has been shown to improve software quality attributes, it is only a small piece of the software quality puzzle, especially in the case of ML projects given their additional challenges and lower degree of Software Engineering (SE) experience in the data scientists that develop them.

Show full abstract

We introduce the novel concept of project smells which consider deficits in project management as a more holistic perspective on software quality in ML projects. An open-source static analysis tool mllint was also implemented to help detect and mitigate these. Our research evaluates this novel concept of project smells in the industrial context of ING, a global bank and large software- and data-intensive organisation. We also investigate the perceived importance of these project smells for proof-of-concept versus production-ready ML projects, as well as the perceived obstructions and benefits to using static analysis tools such as mllint. Our findings indicate a need for context-aware static analysis tools, that fit the needs of the project at its current stage of development, while requiring minimal configuration effort from the user.

View on arXivView PDF

Code Implementations(1)

bvobart/mllintOfficial100%
GPL-3.0

`mllint` is a command-line utility to evaluate the technical quality of Python Machine Learning (ML) projects by means of static analysis of the project's repository.

804Go, PythonMar 2, 20214 years agoGPL-3.0
aiartificial-intelligencebest-practicesengineeringgolang-application+8 more

Similar Papers

Cite this paper

@article{oort2022project,
  title  = {"Project smells" -- Experiences in Analysing the Software Quality of ML Projects with mllint},
  author = {Bart van Oort and Luís Cruz and Babak Loni and Arie van Deursen},
  year   = {2022},
  eprint = {2201.08246},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.08246}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.08246.svg)](https://codeofpaper.com/paper/2201.08246)

Discussion