paper-with-me

홈 › Papers

DR.FIX: Automatically Fixing Data Races at Industry Scale

2025-04-22 · Farnaz Behrang, Zhizhou Zhang, Georgian-Vlad Saioc, Peng Liu, Milind Chabbi

Data races are a prevalent class of concurrency bugs in shared-memory parallel programs, posing significant challenges to software reliability and reproducibility. While there is an extensive body of research on detecting data races and a wealth of practical detection tools across various programming languages, considerably less effort has been directed toward automatically fixing data races at an industrial scale. In large codebases, data races are continuously introduced and exhibit myriad patterns, making automated fixing particularly challenging. In this paper, we tackle the problem of automatically fixing data races at an industrial scale. We present Dr.Fix, a tool that combines large language models (LLMs) with program analysis to generate fixes for data races in real-world settings, effectively addressing a broad spectrum of racy patterns in complex code contexts. Implemented for Go--the programming language widely used in modern microservice architectures where concurrency is pervasive and data races are common--Dr.Fix seamlessly integrates into existing development workflows. We detail the design of Dr.Fix and examine how individual design choices influence the quality of the fixes produced. Over the past 18 months, Dr.Fix has been integrated into developer workflows at Uber demonstrating its practical utility. During this period, Dr.Fix produced patches for 224 (55%) from a corpus of 404 data races spanning various categories; 193 of these patches (86%) were accepted by more than a hundred developers via code reviews and integrated into the codebase.

📄 PDF Abstract BibTeX arXiv:2504.15637

Code (1)

uber-research/drfix 공식 구현

Similar Papers 제목 키워드 기반

FlakyGuard: Automatically Fixing Flaky Tests at Industry Scale

2025-11-18 · Chengpeng Li, Farnaz Behrang, August Shi, Peng Liu arxiv

Flaky tests that non-deterministically pass or fail waste developer time and slow release cycles. While large language models (LLMs) show promise for automatically repairing flaky tests, existing approaches like FlakyDoc…

Leveraging Large Language Models for Enhancing the Understandability of Generated Unit Tests

2024-08-21 · Amirhossein Deljouyi, Roham Koohestani, Maliheh Izadi, Andy Zaidman

Automated unit test generators, particularly search-based software testing tools like EvoSuite, are capable of generating tests with high coverage. Although these generators alleviate the burden of writing unit tests, th…

Bug fixingDescriptivesoftware testing

LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurations

2025-02-04 · Ziyang Ye, Triet Huynh Minh Le, M. Ali Babar

Security misconfigurations in Container Orchestrators (COs) can pose serious threats to software systems. While Static Analysis Tools (SATs) can effectively detect these security vulnerabilities, the industry currently l…

ManagementRAGRetrieval-augmented Generation

A Comprehensive Study of Deep Learning Model Fixing Approaches

2025-12-26 · Hanmo You, Zan Wang, Zishuo Dong, Luanqi Mo 외 arxiv

Deep Learning (DL) has been widely adopted in diverse industrial domains, including autonomous driving, intelligent healthcare, and aided programming. Like traditional software, DL systems are also prone to faults, whose…

Autonomous Driving

Using Developer Discussions to Guide Fixing Bugs in Software

2022-11-11 · Sheena Panthaplackel, Milos Gligoric, Junyi Jessy Li, Raymond J. Mooney

Automatically fixing software bugs is a challenging task. While recent work showed that natural language context is useful in guiding bug-fixing models, the approach required prompting developers to provide this context,…

Bug fixing