paper-with-me

홈 › Papers

An Empirical Evaluation of Locally Deployed LLMs for Bug Detection in Python Code

2026-04-25 · Jelena Ilić Vulićević arxiv

Large language models (LLMs) have demonstrated strong performance on a wide range of software engineering tasks, including code generation and analysis. However, most prior work relies on cloud-based models or specialized hardware, limiting practical applicability in privacy-sensitive or resource-constrained environments. In this paper, we present a systematic empirical evaluation of two locally deployed LLMs, LLaMA 3.2 and Mistral, for real-world Python bug detection using the BugsInPy benchmark. We evaluate 349 bugs across 17 projects using a zero-shot prompting approach at the function level and an automated keyword-based evaluation framework. Our results show that locally executed models achieve accuracy between 43% and 45%, while producing a large proportion of partially correct responses that identify problematic code regions without pinpointing the exact fix. Performance varies significantly across projects, highlighting the importance of codebase characteristics. The results demonstrate that local models can identify a meaningful share of bugs, though precise localization remains difficult for locally executed LLMs, particularly when handling complex and context dependent bugs in realistic development scenarios.

📄 PDF Abstract BibTeX arXiv:2604.23361

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

A Framework for Human-AI Q-Matrix Refinement: A NeuralCDM Evaluation

2026-03-30 · Ying Zhang, Ningxi Cheng, Yizhu Gao, Hongmei Li 외 arxiv

Q-matrices are a cornerstone of theory-driven assessment and learning analytics, making item demands and students' underlying knowledge components and misconceptions explicit and actionable. However, Q-matrices are typic…

Benchmarking Local LLMs for Natural-Language-to-SQL Querying in Biopharmaceutical Manufacturing: An Empirical Benchmark on Consumer-Grade Hardware

2026-05-31 · Sagar Bhetwal, Rajan Bastakoti, Nirajan Acharya, Gaurav Kumar Gupta 외 arxiv

Biopharmaceutical manufacturing organizations operate under regulatory frameworks such as FDA guidance, EU Good Manufacturing Practice (GMP), and the EU AI Act, which can restrict the use of cloud-based artificial intell…

CON-QA: Privacy-Preserving QA using cloud LLMs in Contract Domain

2025-09-24 · Ajeet Kumar Singh, Rajsabi Surya, Anurag Tripathi, Santanu Choudhury 외 arxiv

As enterprises increasingly integrate cloud-based large language models (LLMs) such as ChatGPT and Gemini into their legal document workflows, protecting sensitive contractual information - including Personally Identifia…

Response GenerationQuestion Answering

Claim Automation using Large Language Model

2026-02-18 · Zhengda Mo, Zhiyu Quan, Eli O'Donohue, Kaiwen Zhong arxiv

While Large Language Models (LLMs) have achieved strong performance on general-purpose language tasks, their deployment in regulated and data-sensitive domains, including insurance, remains limited. Leveraging millions o…

Semantic Similarity

Small Models, Big Support: A Local LLM Framework for Teacher-Centric Content Creation and Assessment using RAG and CAG

2025-06-06 · Zarreen Reza, Alexander Mazur, Michael T. Dugdale, Robin Ray-Chaudhuri

While Large Language Models (LLMs) are increasingly utilized as student-facing educational aids, their potential to directly support educators, particularly through locally deployable and customizable open-source solutio…

College PhysicsRAG