SearcharxivSearch

arXiv subjects

L. Q. Liu

Publications and source records attributed to L. Q. Liu.

3 recordsLinked to original sources

AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repair

Recent memory-augmented repository-level program repair methods reuse historical repair experiences to improve LLM-based issue resolution. However, our analysis reveals three limitations in existing repository-level memory retrieval. First, episodic memory is highly imbalanced across repositories, leaving low-resource repositories with little effective support. Second, more memory does not monotonically lead to higher repair success, suggesting that relevance, quality, and redundancy matter more than raw memory volume. Third, memory accumulation is phase-misaligned: repositories may contain many reproduction experiences but few patch or refinement experiences. To address these problems, we propose an adaptive experience retrieval framework for repository-level program repair. Our framework introduces coverage-aware retrieval, which falls back to cross-repository or repair-type-based memories when same-repository memory is insufficient; quality-aware selection, which ranks memories by relevance, historical utility, specificity, and redundancy; and stage-aware routing, which separates and retrieves memories for reproduction, localization, patch generation, patch refinement, and validation. Evaluated on SWE-Bench-Lite and SWE-Bench-Verified, the proposed framework improves repair performance on under-covered repositories, reduces noisy memory retrieval, and better supports failed-to-fixed patch refinement. Our results show that the key to memory-augmented repair is not simply accumulating more experiences, but retrieving the right experiences for the right repair context.

cs.SE

An extended hybrid numerical simulation of isotropic compressible turbulence

This paper presents an extension of the hybrid scheme proposed by Wang et al. (J. Comput. Phys. 229 (2010) 169-180) for numerical simulation of compressible isotropic turbulence to flows with higher turbulent Mach numbers. The scheme still utilizes an 8th-order compact scheme with built-in hyperviscosity for smooth regions and a 7th-order WENO scheme for highly compressive regions, but now both in their conservation formulations and for the latter with the Roe type characteristic-wise reconstruction. To enhance the robustness of the WENO scheme without compromising its high-resolution and accuracy, the recursive-order-reduction procedure is adopted, where a new type of reconstruction-failure-detection criterion is constructed. To capture the upwind direction properly in extreme conditions, the global Lax-Friedrichs numerical flux is used. In addition, a new form of cooling function is proposed, which is proved to be positivity-preserving. With these techniques, the new scheme not only inherits the good properties of the original one but also extends largely the computable range of turbulent Mach number, which has been further confirmed by numerical results.

physics.comp-ph

Central role of domain wall depinning for perpendicular magnetization switching driven by spin torque from the spin Hall effect

We study deterministic magnetic reversal of a perpendicularly magnetized Co layer in a Co/MgO/Ta nano-square driven by spin Hall torque from an in-plane current flowing in an underlying Pt layer. The rate-limiting step of the switching process is domain-wall (DW) depinning by spin Hall torque via a thermally-assisted mechanism that eventually produces full reversal by domain expansion. An in-plane applied magnetic field collinear with the current is required, with the necessary field scale set by the need to overcome DW chirality imposed by the Dzyaloshinskii-Moriya interaction. Once Joule heating is taken into account the switching current density is quantitatively consistent with a spin Hall angle θ$_{SH}$ ${\approx}$ 0.07 for 4 nm of Pt.

cond-mat.mes-hall