SearcharxivSearch

arXiv subjects

Shaofei Zhu

Publications and source records attributed to Shaofei Zhu.

2 recordsLinked to original sources

OpenCodeReview: Determinism over Non-Determinism for Cost-Effective Agent-Based Code Review

LLM-based code review agents promise scalable, always-on review, yet current systems suffer from two intertwined weaknesses: (1) non-determinism--unbounded tool use makes review outcomes unstable, and (2) context locality--the reviewer's access remains bounded to the diff, capping discoverable issue depth. Both give rise to three challenges: misaligned context retrieval, a coherence-efficiency trade-off in multi-file pull requests, and hallucinated comments that erode trust. To address these, we introduce OpenCodeReview, built on deterministic engineering for uncertain agents: rather than granting maximal freedom, we inject determinism at three deliberate pipeline points. Rule-Guided Dispatch uses a multi-layer rule system to deterministically select files and review criteria, eliminating variability of agent-driven triage. Grounded File Review replaces free-form exploration with a curated tool set exposed through a ReAct loop, while file-level parallel SubAgents balance context coherence against efficiency and recover cross-file dependencies on demand. Independent Reflection introduces a falsification-first filter under an asymmetric information boundary--the reflector sees only the diff, not the agent's tool-augmented exploration--removing hallucinated comments without self-reinforcing bias, improving precision while preserving recall. On AACR-Bench (200 real-world PRs, 10 languages, 1,505 expert-verified comments), OpenCodeReview outperforms mainstream coding agents (e.g., Claude Code and Codex) across six LLM backends, achieving up to 2.17x higher SEM-F1 (25.10% vs. 11.57%) while consuming 5-15x fewer tokens. We open-source OpenCodeReview at https://github.com/alibaba/open-code-review.

cs.SE

Direct Evidence for Octupole Deformation in $^{146}$Ba and the Origin of Large $E1$ Moment Variations in Reflection-Asymmetric Nuclei

Despite the more than one order of magnitude difference between the measured dipole moments in $^{144}$Ba and $^{146}$Ba, the strength of the octupole correlations in $^{146}$Ba are found to be as strong as those in $^{144}$Ba with a similarly large value of $B(E3;3^- \rightarrow 0^+)$ determined as 48($^{+21}_{-29}$) W.u. The new results not only establish unambiguously the presence of a region of octupole deformation centered on these neutron-rich Ba isotopes, but also manifest the dependence of the electric dipole moments on the occupancy of different neutron orbitals in nuclei with enhanced octupole strength, as revealed by fully microscopic calculations.

nucl-ex