# HIDE: Hierarchical Isolation via Documentation and Evidence for Rustc Bugs

DevFeed: [HIDE: Hierarchical Isolation via Documentation and Evidence for Rustc Bugs](<https://devfeed.tech/articles/hide-hierarchical-isolation-via-documentation-and-evidence-for-rustc-bugs-103658.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.37343>)

Author: Tianrong Zhang, Yakun Zhang, Dan Hao

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [code search](<https://devfeed.tech/topics/code-search.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [bugs](<https://devfeed.tech/tags/bugs.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [competition](<https://devfeed.tech/tags/competition.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [isolation](<https://devfeed.tech/tags/isolation.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [rank](<https://devfeed.tech/tags/rank.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [revision](<https://devfeed.tech/tags/revision.md>), [source-code](<https://devfeed.tech/tags/source-code.md>)

## AI overview

HIDE ranks suspicious Rust compiler source files by combining compiler documentation with bug evidence. Its Layered Documentation Aggregation stage summarizes individual files and how similarly purposed files work together. Hierarchical Bug Isolation then narrows candidates, using Scoped Candidate Competition to limit files considered and Evidence-Guided Code Slicing to limit code included in prompts. The authors evaluate HIDE on 160 reproducible rustc bugs against Agentless, SoapFL, and GraphLocator. With GPT-5.4, it reports 42.08% Accuracy@1 and 80.42% Accuracy@10, respectively 5.83 and 6.04 percentage points above the strongest baseline results. The evidence provided is the abstract, not the full paper.

## Source excerpt

arXiv:2610.37343v1 Announce Type: new Abstract: Rustc bugs can prevent valid programs from compiling or cause incorrect compilation results, making the identification of responsible source files essential for repair. Using large language models (LLMs) for rustc bug isolation raises three challenges. First, distributed compiler functionality requires understanding both what individual files do and how they work together. Second, a large source file search space makes exhaustive analysis of all files costly. Third, including documentation and source code for many candidate files in LLM prompts leads to context overload, which can reduce bug isolation accuracy. We propose HIDE, a hierarchical LLM-based approach that combines compiler documentation with bug evidence to rank suspicious rustc source files. Given a rustc revision and a bug context, HIDE consists of two stages that generate compiler documentation and narrow the search space. To understand distributed compiler functionality, the Layered Documentation Aggregation stage summarizes what individual files do and how files with similar functions work together. To reduce the large source file search space, the Hierarchical Bug Isolation stage uses hierarchical candidate selection to reduce the number of files requiring detailed analysis. To mitigate context overload, this stage uses Scoped Candidate Competition and Evidence-Guided Code Slicing to limit the number of candidates and the amount of source code included in each prompt, respectively. We evaluate HIDE on 160 reproducible rustc bugs and compare it with Agentless, SoapFL, and GraphLocator. With GPT-5.4, HIDE achieves 42.08% Accuracy@1 and 80.42% Accuracy@10, exceeding the strongest baseline results by 5.83% and 6.04%, respectively. These results demonstrate that generating compiler documentation, narrowing candidates hierarchically, and limiting analysis context enable effective rustc bug isolation.