MLSmellHound: A Context-Aware Code Analysis Tool
Not on the map. Why?
Abstract (arXiv)
Meeting the rise of industry demand to incorporate machine learning (ML) components into software systems requires interdisciplinary teams contributing to a shared code base. To maintain consistency, reduce defects and ensure maintainability, developers use code analysis tools to aid them in identifying defects and maintaining standards. With the inclusion of machine learning, tools must account for the cultural differences within the teams which manifests as multiple programming languages, and conflicting definitions and objectives. Existing tools fail to identify these cultural differences and are geared towards software engineering which reduces their adoption in ML projects. In our approach we attempt to resolve this problem by exploring the use of context which includes i) purpose of the source code, ii) technical domain, iii) problem domain, iv) team norms, v) operational environment, and vi) development lifecycle stage to provide contextualised error reporting for code analysis. To demonstrate our approach, we adapt Pylint as an example and apply a set of contextual transformations to the linting results based on the domain of individual project files under analysis. This allows for contextualised and meaningful error reporting for the end-user.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 8 of its 37 references that are in the map. First posted on arXiv 8 May 2022.
Builds on
8 of 37 references.
References · 8
- 2020AI Lifecycle Models Need To Be Revised. An Exploratory Study in Fintechcited by 33
- 2014Learning Natural Coding Conventionscited by 29
- 2021The Prevalence of Code Smells in Machine Learning projectscited by 16
- 2019Failure Modes in Machine Learning Systemscited by 15
- 2020A large-scale comparative analysis of Coding Standard conformance in Open-Source Data Science projectscited by 9
- 2021Using AntiPatterns to avoid MLOps Mistakescited by 5
- 2020Switching Scheme: A Novel Approach for Handling Incremental Concept Drift in Real-World Data Setscited by 4
- 2020Context-Aware Parse Treescited by 1
Built on by
Citing papers per year: 2023: 1.
1 paper.
- 2023Can LLMs Configure Software Toolscited by 0
- 2023Can LLMs Configure Software Tools11 Dec 2023