Towards a High Level Linter for Data Science - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2024

Towards a High Level Linter for Data Science

Résumé

Due to its interdisciplinary nature, the development of data science code is subject to a wide range of potential mistakes that can easily compromise the final results. Several tools have been proposed that can help the data scientist in identifying the most common, low level programming issues. We discuss the steps needed to implement a tool that is rather meant to focus on higher level errors that are specific of the data science pipeline. To this end, we propose a static analysis assigning ad hoc abstract datatypes to the program variables, which are then checked for consistency when calling functions defined in data science libraries. By adopting a descriptive (rather than prescriptive) abstract type system, we obtain a linter tool reporting data science related code smells. While being still work in progress, the current prototype is able to identify and report the code smells contained in several examples of questionable data science code.
Fichier principal
Vignette du fichier
main.pdf (496.15 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04739441 , version 1 (16-10-2024)

Licence

Identifiants

Citer

Greta Dolcetti, Agostino Cortesi, Caterina Urban, Enea Zaffanella. Towards a High Level Linter for Data Science. NSAD 2024 - 10th International Workshop on Numerical and Symbolic Abstract Domains, Oct 2024, Pasadena, United States. ⟨10.1145/3689609.3689996⟩. ⟨hal-04739441⟩
0 Consultations
0 Téléchargements

Altmetric

Partager

More