SearcharxivSearch

arXiv subjects

Roya Daneshi

Publications and source records attributed to Roya Daneshi.

2 recordsLinked to original sources

Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency

Background: Software bugs remain a critical challenge in development, necessitating effective Automated Program Repair (APR) techniques. While Large Language Model (LLM)-based APR systems have shown promise, prior studies primarily focus on overall repair effectiveness. The effects of bug complexity, fault localization, reasoning settings, and repair cost-effectiveness remain insufficiently explored. Aims: This study presents a comprehensive empirical analysis of LLM-based APR, focusing on how repair performance is shaped by bug complexity, fault localization, reasoning settings, and costs. Method: We evaluate two APR techniques (ChatRepair and CodeCorrector) using three LLMs (DeepSeek, GPT, and Llama), and examine their performance across diverse levels of bug complexity and localization strategies through a multi-dimensional empirical framework and statistical analysis. Results: Although structurally complex bugs and imprecise fault localization make repair more challenging, LLM-based APR techniques still achieve competitive repair effectiveness. Imprecise fault localization can substantially enlarge the performance gap between APR techniques. Furthermore, higher-cost LLMs and stronger reasoning settings do not consistently yield better cost-efficiency, revealing a nontrivial trade-off between repair effectiveness and computational cost. Conclusions: Over 50% of moderately complex bugs can be repaired by low-cost LLM-based APR techniques. The repair effectiveness gap between APR techniques becomes larger as fault localization becomes less precise. GPT-5 repairs 7 and 39 more complex bugs than DeepSeek-V4-pro and DeepSeek-V3.2, respectively; whereas the total repair cost of DeepSeek-V3.2 shows the best cost-efficiency performance.

cs.SE

Asymmetric Trust Effects of Corrective AI in Expert Advisory Workflows under Epistemic Dependence

The increasing integration of AI-powered tools into expert workflows, such as medicine, law, and finance, raises a critical question: how does AI involvement influence a user`s trust in the human expert, the AI system, and the human-AI team? This question is especially important in expert advisory settings where users are epistemically dependent on human-AI systems: they are recipients of guidance produced by an expert using AI support, but often lack the domain knowledge needed to independently verify the recommendation. We investigated these dynamics through a user study (N=157) using a simulated course-planning task. Our design varied advisor performance and the structure of AI involvement, including whether AI support was present and, when present, whether it was invoked by the advisor or automatically monitored the interaction. Across all conditions, workflows ultimately produced correct schedules. Results show an asymmetric trust effect: advisor errors significantly reduce trust in the human advisor, but visible AI correction does not produce a corresponding increase in trust toward the AI assistant. Trust judgments remain anchored to the advisor across multiple trust measures, and changing the visible structure of AI involvement does not substantially redistribute trust toward the AI assistant or the human-AI team. These findings suggest a limit of corrective AI as a governance mechanism: making AI oversight visible may improve workflow recoverability, but it does not necessarily redistribute trust or responsibility away from the human-facing expert. In epistemically dependent settings, correctness alone may be insufficient for trustworthy AI integration, as users may continue to assign responsibility to the human expert even when AI assistance visibly shapes the final outcome.

cs.HC