MCP
JW

Jun Wan

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

Papers

4
No One-Size-Fits-All: Adaptive Code Editing with Feature-Based Strategy Selection
Jun WanZhongxin LiuDajun ChenWei JiangYong LiXiaoxue Ren
This paper introduces Ace, an adaptive code editing framework that selects optimal strategies based on task features. Motivated by findings that no single strategy among one-step, search-replace, and plan-apply dominates across diverse tasks, and that four task features (total lines, modification type, scope, and task type) significantly influence effectiveness, Ace uses a fine-tuned LLM to learn feature-strategy mappings and recommends strategies with interpretable rationales. Evaluated on CEBench, Ace improves Pass@1 by 21.7% while reducing token use by 27.3%, achieving 72.6% selection accuracy.
arXivarXiv · · October 16, 2026
0
Multi-level Code Optimization via Mixture of Prompts
Yun PengJun WanJiakun LiuShuzheng GaoDavid LoXiaoxue Ren
Optimo introduces a multi-level code optimization approach for dynamic languages, using a Mixture-of-Prompts (MoP) architecture. It first identifies performance bottlenecks through differential profiling, then routes them to specialized optimization strategies operating at four abstraction levels: from algorithmic improvements to fine-grained API usage. This enables both coarse and fine-grained optimizations, overcoming single-level limitations. Evaluated on COFFE and Effibench, Optimo achieves up to 57.48% opt% and 3.97x speedup on human-written code, outperforming baselines by up to 96.51% in opt%.
arXivarXiv · · July 26, 2026
0
0
PEACE: Towards Efficient Project-Level Efficiency Optimization via Hybrid Code Editing
Xiaoxue RenJun WanYun PengZhongxin LiuMing LiangDajun ChenWei JiangYong Li
PEACE is a hybrid framework for project-level code efficiency optimization that addresses the limitation of prior function-level approaches by handling cross-function interactions. It constructs a dependency-aware function sequence, identifies valid associated edits, and iterates efficiency improvements. Evaluated on the new PEACExec benchmark (146 tasks from 47 Python projects), PEACE achieves a 69.2% pass@1 correctness, +46.9% optimization rate, and 0.840 speedup, outperforming baselines especially on multi-function tasks.
arXivarXiv · · October 20, 2025
0
7
COFFE: A Code Efficiency Benchmark for Code Generation
Yun PengJun WanYichen LiXiaoxue Ren
COFFE is a benchmark for evaluating the time efficiency of LLM-generated code, complementing existing correctness-focused benchmarks. It provides 398 function-level and 358 file-level problems. To better distinguish the efficiency of different solutions, COFFE introduces stressful test cases generated via contracts and two new test-case formats, and uses CPU instruction count (efficient@k) for stable measurement. Evaluation of 14 LLMs reveals four findings, offering implications for LLM research and software practice.
arXivarXiv · · February 5, 2025
0
58
Authors with the same name
Jun Wan · 8 papers
Jun Wan #0001 · 60 papers
Jun Wan #0005 · 24 papers
Jun Wan #0008 · 2 papers
Frequent collaborators
Xiaoxue Ren (4)
Yun Peng (3)
Zhongxin Liu (2)
Dajun Chen (2)
Wei Jiang (2)
Yong Li (2)
Jiakun Liu (1)
Shuzheng Gao (1)
David Lo (1)
Ming Liang (1)
Yichen Li (1)