MCP
WS

Weiyan Sun

3 papers in the library · Same-name authors told apart using DBLP

Papers

3
A Preliminary Study on Explaining Risk of Code Changes using LLM-Based Prediction Models
Yalin LiuKosay JabreRui AbreuZachariah J. CarmichaelVijayaraghavan MuraliAkshay PatelJun GeWeiyan SunCong ZhangAudris MockusDavid KhavariPeter C. Rigby  +1
This work proposes using attention weights from an LLM-based Diff Risk Score (DRS) model to highlight risk-concentrated parts of a code change, aggregating token-level attention into interpretable code units (lines, hunks, files). Evaluated on expert-labeled changes that caused real outages, the top-2 hunks cover 53.85% of outage-causing lines while requiring review of 26.28% of changed lines on average. The approach is scalable since attention is produced during standard inference, enabling lightweight guidance in code review with low latency.
arXivarXiv · · July 2, 2026
0
0
A Preliminary Study on Explaining Risk of Code Changes using LLM-based Prediction Models
Yalin LiuKosay JabreRui AbreuZachariah J CarmichaelVijayaraghavan MuraliAkshay PatelJun GeWeiyan SunCong ZhangAudris MockusDavid KhavariPeter Rigby  +1
This preliminary study uses attention weights from a LLM-based Diff Risk Score (DRS) model to highlight risky parts of code changes. On expert-labeled outage-causing changes, highlighted snippets cover the labeled lines 53.85% of the time, aiding developers' focus and potentially improving trust in DRS predictions. Since attention is computed during inference, this explanation method is scalable for large-scale workflows.
OpenReviewOpenReview · · February 10, 2026
0
Moving Faster and Reducing Risk: Using LLMs in Release Deployment
Rui AbreuVijayaraghavan MuraliPeter C RigbyChandra MaddilaWeiyan SunJun GeKaavya ChinniahAudris MockusMegh MehtaNachiappan Nagappan
At Meta's scale, release engineering cannot determine which diffs to deploy. The authors develop diff risk scores (DRS) to predict how likely a diff is to cause a severe fault (SEV). They train logistic regression and generative LLMs (iCodeLlama-34B and iDiffLlama-13B) on historical SEV-causing diffs. Risk-aligned generative LLMs capture more SEVs than logistic regression when gating the same proportion of risky diffs (e.g., 1.40x for weekend, 1.52x for yellow, 1.05x for red zones), enabling faster releases with reduced risk.
arXivarXiv · · October 8, 2024
0
15
Frequent collaborators
Rui Abreu (3)
Vijayaraghavan Murali (3)
Jun Ge (3)
Audris Mockus (3)
Nachiappan Nagappan (3)
Yalin Liu (2)
Kosay Jabre (2)
Akshay Patel (2)
Cong Zhang (2)
David Khavari (2)
Zachariah J. Carmichael (1)
Peter C. Rigby (1)