MCP
S

Sun

4 papers in the library

Papers

4
Time-Consistent Evaluation of Hierarchical Code Graphs for SWE Agents
XianpengSunTian YuHaonan SunSheng MaQincheng ZhangLifei RaoJie LiJianCaoQi Zhang
Using the time-consistent, zero-leakage protocol of Sun (2026), with repository snapshots and knowledge graphs locked at cutoff commits $T_0$ and 100 post-$T_0$ pull requests evaluated across four prompt granularities, the paper compares three context-augmentation regimes for repository-aware SWE agents: an unaugmented baseline, a flat Tree-sitter AST graph, and ServiceExplorer, a deterministic two-level hierarchical dependency graph of system/package containers and architectural modules. Across 7,200 paired evaluations on six foundation models, ServiceExplorer consistently beats both alternatives for every model, repository, and prompt granularity ($+15.6\%$ to $+86.2\%$ relative $F_1$ lift, $p < 10^{-4}$) and triples exact full-PR localization on DragonFly, and an efficiency-tier or prior-generation model equipped with ServiceExplorer surpasses the unaugmented $F_1$ of the next-generation model in all families.
arXivarXiv · · November 12, 2026
0
AdaptoNet: Modular Foundation-Adaptive Neural Networks for Cyber-Physical Attack Detection in Power Grids
Anissa EliasJennifer RogersHui LinYanSun
AdaptoNet addresses data denial attacks in power grids, where adversaries block measurements in a targeted region and trigger a line outage, reducing detection performance by over 86%. It pairs a frozen foundational module trained on complete data with a trainable adaptive module conditioned on a binary measurement-availability vector, enabling the model to distinguish denied from anomalous data without retraining the foundational module. On four IEEE test systems with up to 20% of measurements blocked, AdaptoNet recovers F1 from below 12% to above 81%, approaching the 89%–99% baseline.
arXivarXiv · · August 2, 2026
0
ATime-Consistent Benchmark for Repository-Level Software Engineering Evaluation
XianpengSunHaonan SunTian YuSheng MaQincheng ZhangLifei RaoChen Tian
This paper introduces a time-consistent benchmark methodology for repository-level software engineering evaluation. It snapshots a repository at time T0, builds code knowledge only from pre-T0 artifacts, and tests on tasks derived from pull requests merged in (T0, T1]. Evaluation is a matched A/B comparison of the same agent with and without repository-derived code knowledge. A baseline study on DragonFly and React using Claude models shows file-level F1 increases monotonically with prompt quality, reaching 0.8081, demonstrating that prompt construction and temporal control are critical for valid evaluation.
arXivarXiv · · March 27, 2026
0
Stochastic Optimization for Resource Adequacy in Capacity Markets with Storage and Renewables
Baptiste RabecqXuSunFeng ZhaoTongxin ZhengXiaochu WangYufan ZhangAndy Sun
This paper addresses resource adequacy in capacity markets when storage and renewables are present. Storage couples decisions across time, invalidating traditional time-independent reliability models, and renewables introduce temporally correlated intermittency. The authors formulate procurement as a two-stage stochastic program: first-stage capacity decisions followed by a second-stage dispatch problem that evaluates expected unserved energy under generator failures (Markov chains), correlated renewable output, and stochastic load. Using the stochastic decomposition algorithm on a 305-generator New England system, they solve the program with up to 20,000 six-month Monte Carlo samples, showing that convergence in the stochastic program occurs faster than reliable estimation of the reliability metrics, making chronologically detailed sampling computationally tractable at realistic scales.
arXivarXiv · · March 2, 2026
0
0
Frequent collaborators
Xianpeng (2)
Tian Yu (2)
Haonan Sun (2)
Sheng Ma (2)
Qincheng Zhang (2)
Lifei Rao (2)
Jie Li (1)
Jian (1)
Cao (1)
Qi Zhang (1)
Anissa Elias (1)
Jennifer Rogers (1)