MLSmellHound: A Context-Aware Code Analysis Tool
- URL: http://arxiv.org/abs/2205.03790v1
- Date: Sun, 8 May 2022 06:01:22 GMT
- Title: MLSmellHound: A Context-Aware Code Analysis Tool
- Abstract summary: Code analysis tools must account for the cultural differences within the teams which manifests as multiple programming languages.
Existing tools fail to identify these cultural differences and are geared towards software engineering which reduces their adoption in machine learning 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) development lifecycle stage.
This allows for contextualised and meaningful error reporting for the end-user.
- Score: 4.157846027410602
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: 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.
Related papers
- PROBE: Benchmarking Code Generation in Large Language Models [0.8921166277011344]
Large Language Models (LLMs) are increasingly being used in everyday software engineering tasks.<n>LLMs are far from perfect, making evaluation essential to understand their strengths and limitations.<n>We introduce PROBE, a benchmark framework that establishes a systematic structure built on diverse and well-defined metrics.
arXiv Detail & Related papers (2026-07-15T13:28:18Z) - From Helpful to Trustworthy: LLM Agents for Pair Programming [0.0]
LLM-based coding agents are increasingly used to generate code, tests, and documentation.<n>Still, their outputs can be plausible yet misaligned with developer intent and provide limited evidence for review in evolving projects.<n>This research proposes a systematic study of multi-agent LLM pair programming that externalizes intent and uses development tools for iterative validation.
arXiv Detail & Related papers (2026-04-11T17:39:57Z) - Towards Comprehensive Benchmarking Infrastructure for LLMs In Software Engineering [19.584762693453893]
BEHELM is a holistic benchmarking infrastructure that unifies software-scenario specification with multi-metric evaluation.<n>Our goal is to reduce the overhead currently required to construct benchmarks while enabling a fair, realistic, and future-proof assessment of LLMs in software engineering.
arXiv Detail & Related papers (2026-01-28T21:55:10Z) - Coding With AI: From a Reflection on Industrial Practices to Future Computer Science and Software Engineering Education [1.5516092077598485]
Recent advances in large language models (LLMs) have introduced new paradigms in software development.<n>This paper investigates how LLM coding tools are used in professional practice, associated concerns and risks, and the resulting transformations in development.<n>Building on these insights, we argue for curricular shifts toward problem-solving, architectural thinking, code review, and early project-based learning.
arXiv Detail & Related papers (2025-12-30T04:39:59Z) - Explaining Code Risk in OSS: Towards LLM-Generated Fault Prediction Interpretations [5.258181425686992]
Open Source Software (OSS) has become a very important and crucial infrastructure worldwide because of the value it provides.<n>Making safe changes, such as fixing a bug or implementing a new feature, can be challenging.<n>We investigate whether Large Language Models (LLMs) can translate fault-prediction metrics into clear, human-readable risk explanations.
arXiv Detail & Related papers (2025-10-07T16:36:01Z) - Augmenting Large Language Models with Static Code Analysis for Automated Code Quality Improvements [0.36832029288386137]
This study examined code issue detection and revision automation by integrating Large Language Models (LLMs) into software development.<n>A static code analysis framework detects issues such as bugs, vulnerabilities, and code smells within a large-scale software project.<n>Retrieval-augmented generation (RAG) is implemented to enhance the relevance and precision of the revisions.
arXiv Detail & Related papers (2025-06-12T03:39:25Z) - Towards Effective Issue Assignment using Online Machine Learning [1.3749490831384266]
We propose an Online Machine Learning methodology that adapts to the evolving characteristics of software projects.<n>Our system processes issues as a data stream, dynamically learning from new data and adjusting in real time to changes in team composition and project requirements.
arXiv Detail & Related papers (2025-05-05T08:05:13Z) - FamilyTool: A Multi-hop Personalized Tool Use Benchmark [94.1158032740113]
We introduce FamilyTool, a novel benchmark grounded in a family-based knowledge graph (KG)
FamilyTool challenges Large Language Models with queries spanning 1 to 3 relational hops.
Experiments reveal significant performance gaps in state-of-the-art LLMs.
arXiv Detail & Related papers (2025-04-09T10:42:36Z) - Adaptive Tool Use in Large Language Models with Meta-Cognition Trigger [49.81945268343162]
We propose MeCo, an adaptive decision-making strategy for external tool use.
MeCo captures high-level cognitive signals in the representation space, guiding when to invoke tools.
Our experiments show that MeCo accurately detects LLMs' internal cognitive signals and significantly improves tool-use decision-making.
arXiv Detail & Related papers (2025-02-18T15:45:01Z) - ToolCoder: A Systematic Code-Empowered Tool Learning Framework for Large Language Models [49.04652315815501]
Tool learning has emerged as a crucial capability for large language models (LLMs) to solve complex real-world tasks through interaction with external tools.
We propose ToolCoder, a novel framework that reformulates tool learning as a code generation task.
arXiv Detail & Related papers (2025-02-17T03:42:28Z) - Bridging LLM-Generated Code and Requirements: Reverse Generation technique and SBC Metric for Developer Insights [0.0]
This paper introduces a novel scoring mechanism called the SBC score.
It is based on a reverse generation technique that leverages the natural language generation capabilities of Large Language Models.
Unlike direct code analysis, our approach reconstructs system requirements from AI-generated code and compares them with the original specifications.
arXiv Detail & Related papers (2025-02-11T01:12:11Z) - Training of Scaffolded Language Models with Language Supervision: A Survey [62.59629932720519]
This survey organizes the literature on the design and optimization of emerging structures around post-trained LMs.<n>We refer to this overarching structure as scaffolded LMs and focus on LMs that are integrated into multi-step processes with tools.
arXiv Detail & Related papers (2024-10-21T18:06:25Z) - LLM With Tools: A Survey [0.0]
This paper delves into the methodology,challenges, and developments in the realm of teaching LLMs to use external tools.
We introduce a standardized paradigm for tool integration guided by a series of functions that map user instructions to actionable plans.
Our exploration reveals the various challenges encountered, such as tool invocation timing, selection accuracy, and the need for robust reasoning processes.
arXiv Detail & Related papers (2024-09-24T14:08:11Z) - Agent-Driven Automatic Software Improvement [55.2480439325792]
This research proposal aims to explore innovative solutions by focusing on the deployment of agents powered by Large Language Models (LLMs)
The iterative nature of agents, which allows for continuous learning and adaptation, can help surpass common challenges in code generation.
We aim to use the iterative feedback in these systems to further fine-tune the LLMs underlying the agents, becoming better aligned to the task of automated software improvement.
arXiv Detail & Related papers (2024-06-24T15:45:22Z) - A Study on Developer Behaviors for Validating and Repairing LLM-Generated Code Using Eye Tracking and IDE Actions [13.58143103712]
GitHub Copilot is a large language model (LLM)-powered code generation tool.
This paper investigates how developers validate and repair code generated by Copilot.
Being aware of the code's provenance led to improved performance, increased search efforts, more frequent Copilot usage, and higher cognitive workload.
arXiv Detail & Related papers (2024-05-25T06:20:01Z) - Code Compass: A Study on the Challenges of Navigating Unfamiliar Codebases [2.808331566391181]
We propose a novel tool, Code, to address these issues.
Our study highlights a significant gap in current tools and methodologies.
Our formative study demonstrates how effectively the tool reduces the time developers spend navigating documentation.
arXiv Detail & Related papers (2024-05-10T06:58:31Z) - CRAFT: Customizing LLMs by Creating and Retrieving from Specialized
Toolsets [75.64181719386497]
We present CRAFT, a tool creation and retrieval framework for large language models (LLMs)
It creates toolsets specifically curated for the tasks and equips LLMs with a component that retrieves tools from these sets to enhance their capability to solve complex tasks.
Our method is designed to be flexible and offers a plug-and-play approach to adapt off-the-shelf LLMs to unseen domains and modalities, without any finetuning.
arXiv Detail & Related papers (2023-09-29T17:40:26Z) - Guess & Sketch: Language Model Guided Transpilation [59.02147255276078]
Learned transpilation offers an alternative to manual re-writing and engineering efforts.
Probabilistic neural language models (LMs) produce plausible outputs for every input, but do so at the cost of guaranteed correctness.
Guess & Sketch extracts alignment and confidence information from features of the LM then passes it to a symbolic solver to resolve semantic equivalence.
arXiv Detail & Related papers (2023-09-25T15:42:18Z) - CREATOR: Tool Creation for Disentangling Abstract and Concrete Reasoning of Large Language Models [74.22729793816451]
Large Language Models (LLMs) have made significant progress in utilizing tools, but their ability is limited by API availability.
We propose CREATOR, a novel framework that enables LLMs to create their own tools using documentation and code realization.
We evaluate CREATOR on MATH and TabMWP benchmarks, respectively consisting of challenging math competition problems.
arXiv Detail & Related papers (2023-05-23T17:51:52Z) - Technology Readiness Levels for Machine Learning Systems [107.56979560568232]
Development and deployment of machine learning systems can be executed easily with modern tools, but the process is typically rushed and means-to-an-end.
We have developed a proven systems engineering approach for machine learning development and deployment.
Our "Machine Learning Technology Readiness Levels" framework defines a principled process to ensure robust, reliable, and responsible systems.
arXiv Detail & Related papers (2021-01-11T15:54:48Z) - Technology Readiness Levels for AI & ML [79.22051549519989]
Development of machine learning systems can be executed easily with modern tools, but the process is typically rushed and means-to-an-end.
Engineering systems follow well-defined processes and testing standards to streamline development for high-quality, reliable results.
We propose a proven systems engineering approach for machine learning development and deployment.
arXiv Detail & Related papers (2020-06-21T17:14:34Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.