BitsAI-Fix: LLM-Driven Approach for Automated Lint Error Resolution in Practice
Yuanpeng Li, Qi Long, Zhiyuan Yao, Jian Xu, Lintao Xie, Xu He, Lu Geng, Xin Han, Yueyan Chen, Wenbo Duan

TL;DR
BitsAI-Fix leverages large language models and reinforcement learning to automate lint error fixing in large enterprise codebases, significantly reducing manual effort and technical debt.
Contribution
The paper introduces a novel LLM-based automated lint error remediation workflow with reinforcement learning and rule-based rewards, tailored for industrial-scale environments.
Findings
Resolved over 12,000 static analysis issues at ByteDance.
Achieved approximately 85% remediation accuracy.
Supported over 5,000 engineers with weekly active adopters.
Abstract
As enterprise codebases continue to grow in scale and complexity, the volume of lint errors far exceeds engineers' manual remediation capacity, leading to continuous accumulation of technical debt and hindered development efficiency. This paper presents BitsAI-Fix, an automated lint error remediation workflow based on Large Language Models (LLMs), designed to address this critical challenge in industrial-scale environments. BitsAI-Fix employs tree-sitter for context expansion and generates search-and-replace format patches through specially trained LLMs, followed by lint scan re-verification to output final remediation results. Additionally, our approach introduces an innovative progressive reinforcement learning (RL) training strategy that can automatically acquire verifiable training data during the project cold-start phase and continuously iterate the model by collecting online…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
