SearcharxivSearch

arXiv subjects

Tiancheng Ma

Publications and source records attributed to Tiancheng Ma.

11 recordsLinked to original sources

From Business Requirements to Test Assertions: Evaluating LLM-Generated Oracles on Real Bugs

The oracle problem (determining the correct expected outcome for a test) remains a major bottleneck in automated testing, and is increasingly relevant as non-experts rely on AI-generated code they cannot reliably validate. We study whether large language models (LLMs) can generate generalizable test oracles directly from natural-language business requirements, without access to source code or example input-output pairs. We propose a reproducible, requirement-driven pipeline grounded in Defects4J. For each of 10 real bugs from Defects4J Lang (Bugs 1 and 3-11), we (i) extract behavioral changes via buggy/fixed diffs, (ii) manually translate the change into a business requirement, (iii) construct a requirement-derived oracle (REQ) as a gold standard, and (iv) prompt five LLMs (DeepSeek-V3, Gemma-3n, Llama-3, Mistral-7B, and Qwen-3) to generate Java oracle code. We evaluate oracle correctness and generalization under two targets: agreement with REQ and agreement with the system under test (SUT), reporting macro-averaged accuracy, precision, recall, and F1. LLMs achieve non-trivial generalization but with substantial bug- and model-level variance. Generated oracles align more closely with REQ than with SUT, and correlations between requirement technicality/ambiguity ratings and oracle accuracy are weak with wide confidence intervals. No detectable linear relationship exists between requirement properties and oracle accuracy in this dataset, suggesting that pretraining coverage and the semantic specificity of the required behavior dominate oracle correctness. As a pilot proof of concept, these findings are preliminary and are intended to establish feasibility and motivate larger-scale empirical investigation.

cs.SE

WaveForward: An Omnidirectional Passive Wheeled Quadruped Robot with Casters

Wheeled-legged robots possess both agile mobility for traversing complex terrains and high efficiency, making them suitable for long-distance transportation applications. Conventional actuated wheeled robots require specialized hardware and electrical design due to the incorporation of wheel components. We propose a novel and low-cost passive wheeled legged robot equipped with standard casters on each leg to obtain omnidirectional mobility. The control method employs an asymmetric actor-critic structure, enabling the utilization of the privileged information of the passive caster's angles and velocities. We develop a caster base posture adjustment strategy based on velocity commands, utilizing actuated joints to modify the caster base joint axis posture and thereby adjust the propulsion direction of the casters. Moreover, we implemented multiple propulsion modes to achieve varying degrees of caster twisting oscillation, converting these into propulsive force. We conducted a slalom test and mode switch experience, which shows the passive wheeled quadruped could achieve omnidirectional movement versatility, and reduce the cost of transport (COT) by up to 89.1% with respect to legged motion.

cs.RO

Applications of Causality in Software Testing: A Rapid Review

Causal inference offers a principled framework for understanding how interventions influence software behavior, yet its adoption in software testing remains fragmented across different tasks and research communities. In this rapid review, we systematically analyze 27 studies that apply causal reasoning to software testing activities such as debugging, fairness assessment, and performance evaluation. We organize the literature using a layered causal inference pipeline, spanning causal representation, structure discovery, identification, and effect estimation, to reveal how existing work maps onto fundamental causal reasoning stages. Our analysis shows a concentration of research on identification and estimation, while representation and discovery techniques are underexplored in testing contexts. We also identify cross-layer challenges, including model misspecification, untested assumptions, and limited empirical evaluation, which hinder practical application. Based on these insights, we propose a research agenda that highlights underrepresented opportunities for advancing causal methods in software testing. This structured perspective aims to unify disparate contributions and guide future empirical and methodological work in the intersection of causality and software testing.

cs.SE

Modelling human activities in a system of cities

Cities host most of the world population with diverse services and activities. One key challenge in urban modelling is the quantification of intra- and inter-city mobility patterns and the associated space-time dynamics of population density and anthropogenic activities. To address this, we apply the novel agent-based urban model DAVE (Dynamic Anthropogenic actiVities and feedback to Emissions) to simulate population behaviour and mobility in the Vaud and Geneva Cantons, a system of small- to medium-size cities in Switzerland. Simulation results provide detailed temporal (10 min) and spatial (500 m) population dynamics for different age groups and day types. DAVE further models the time-varying population distribution in 11 different microenvironments (e.g., home, work, leisure, outdoor) and the travel flows by different modes. Simulation results align with observations, confirming the possibility of driving urban system modelling with statistical information on residents' behaviour. Sustainability and health indicators like daily driving distance and walking time for each neighbourhood are also reflected by the model with urban-rural gradients displayed. This work serves as a foundation for future applications of DAVE to study bottom-up human-built environment interactions, from anthropogenic emissions and building energy to urban climate, exposure, and health in cities around the world.

physics.soc-ph

Beyond Playtesting: A Generative Multi-Agent Simulation System for Massively Multiplayer Online Games

Optimizing numerical systems and mechanism design is crucial for enhancing player experience in Massively Multiplayer Online (MMO) games. Traditional optimization approaches rely on large-scale online experiments or parameter tuning over predefined statistical models, which are costly, time-consuming, and may disrupt player experience. Although simplified offline simulation systems are often adopted as alternatives, their limited fidelity prevents agents from accurately mimicking real player reasoning and reactions to interventions. To address these limitations, we propose a generative agent-based MMO simulation system empowered by Large Language Models (LLMs). By applying Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) on large-scale real player behavioral data, we adapt LLMs from general priors to game-specific domains, enabling realistic and interpretable player decision-making. In parallel, a data-driven environment model trained on real gameplay logs reconstructs dynamic in-game systems. Experiments demonstrate strong consistency with real-world player behaviors and plausible causal responses under interventions, providing a reliable, interpretable, and cost-efficient framework for data-driven numerical design optimization.

cs.AI

Mechanisms driving robust high-temperature superconductivity in complex metal hydrides under moderate pressure

The discovery of near-room-temperature superconductivity in compressed hydrides has sparked intensive research efforts to identify superconducting hydrides stable at low or even ambient pressures. Herein, we demonstrate a new mechanism for achieving robust superconductivity in complex metal hydrides under moderate pressure, using Li3IrH9 as a paradigmatic example. This compound displays unique electronic structural characteristics where the broadening and overlap between antibonding electronic bands of [IrH8]2- and adjacent H- orbitals not only drive the intrinsic metallicity of the hydrogen sublattice, generating hydrogen-dominated electronic states at the Fermi level, but also soften hydrogen-related optical phonon modes, inducing strong electron-phonon coupling that remains robust even under high-pressures. First-principles calculations predict that Li3IrH9 maintains thermodynamic stability at 100 GPa while exhibiting a consistently high Tc exceeding 100 K across a broad pressure range (8-150 GPa). Through high-throughput computational screening, we have identified a new superconducting family based on this structural prototype, including Li3RhH9 (Tc = 124 K at 20 GPa) and Li3CoH9 (Tc = 80 K at 10 GPa). This work provides a new platform and original theoretical insights for the development of complex metal hydride superconductors that exhibit robust high-temperature superconductivity and promising practical applications.

cond-mat.supr-con

FF7: A Code Package for High-throughput Calculations and Constructing Materials Database

Decades accumulation of theory simulations lead to boom in material database, which combined with machine learning methods has been a valuable driver for the data-intensive material discovery, i.e., the fourth research paradigm. However, construction of segmented databases and data reuse in generic databases with uniform parameters still lack easy-to-use code tools. We herein develop a code package named FF7 (Fast Funnel with 7 modules) to provide command-line based interactive interface for performing customized high-throughput calculations and building your own handy databases. Data correlation studies and material property prediction can progress by built-in installation-free artificial neural network module and various post processing functions are also supported by auxiliary module. This paper shows the usage of FF7 code package and demonstrates its usefulness by example of database driven thermodynamic stability high-throughput calculation and machine learning model for predicting the superconducting critical temperature of clathrate hydrides.

cond-mat.mtrl-sci

High-throughput discovery of robust room-temperature superconductors among complex ternary clathrate hydrides

After the decade-long exhaustive study of binary high-Tc superconducting hydrides, the frontier of this stimulating research field has recently shifted to ternary hydrides with much expanded conformational space in search of coveted room-temperature superconductors. This task, however, presents a formidable challenge due to enormous demands on computational resources. Here, we devise an efficient high-throughput approach using keen material insights and a self-built database to screen for robust ternary hydrides in clathrate structures, which were proven to host highest Tc in binary hydrides, and to estimate Tc by a reliable empirical formula. This approach has made it possible to uncover a diverse set of complex multiple-hydrogen-cage ternary hydrides hosting near or above room-temperature Tc, which are beyond the reach of prevailing structure search methods. This study establishes a distinct paradigm that opens a fresh avenue to enable and accelerate the discovery of promising room-temperature superconductors among unprecedented complex clathrate hydrides.

cond-mat.supr-con

High temperature superconductivity of quaternary hydrides XM3Be4H32 (X, M = Ca, Sr, Ba, Y, La, Ac, Th) under moderate pressure

The compressed hydrogen-rich compounds have received extensive attention as promising candidates for room temperature superconductivity, however, the high pressure required to stabilize such materials hinders their wide practical application. In order to search for potential superconducting hydrides that are stable at low pressures, we have investigated the crystal structures and properties of quaternary hydrides, XM3Be4H32 (X, M = Ca, Sr, Ba, Y, La, Ac, Th) based on the first-principles calculations. We identified nine dynamically stable compounds at moderate pressure of 20 GPa. Strikingly, their superconducting transition temperatures are much higher than that of liquid nitrogen, especially CaTh3Be4H32 (124 K at 5 GPa), ThLa3Be4H32(134 K at 10 GPa), LaAc3Be4H32 (135 K at 20 GPa) and AcLa3Be4H32 (153 K at 20 GPa) exhibit outstanding superconductivity at mild pressures. Metal atoms acting as pre-compressors donate abundant electrons to hydrogen, weakening the H-H covalent bond and thus facilitating the metallization of the hydrogen sublattice. At the same time, the appropriate combination of metal elements with different ionic radius and electronegativity can effectively tune the electronic structure near the Fermi level and improve the superconductivity. These findings fully reveal the great promise of hosting high-temperature superconductivity of quaternary hydrides at moderate pressures and will further promote related exploration.

cond-mat.supr-con

First-principles study on the superconductivity of N-doped fcc-LuH3

Recently, room-temperature superconductor has been claimed in a nitrogen-doped lutetium hydride at near-ambient pressure [Nature 615, 244 (2023)]. Using X-ray diffraction (XRD) and Raman spectra analysis, the authors believed that the superconducting properties can most probably be attributed to Fm-3m-LuH3δNε. Here, we systematic study the phase diagram of Lu-N-H at 1 GPa by using first-principle theory and find that there have no thermodynamically stable ternary compounds. Besides, we analyzed the dynamically stability and superconducting properties of N-doped Fm-3m-LuH3 using virtual crystal approximation (VCA) and supercell method. Our theoretical results show that the Tc of N-doped LuH3 cannot reach the level of room-temperature.

cond-mat.supr-con

Pressure-induced high-temperature superconductivity in ternary Y-Zr-H compounds

Compressed hydrogen-rich compounds have received extensive attention as appealing contenders for superconductors, and further challenges are maintaining the stability and superconductivity of hydrides at lower pressures. In this work, we found several novel hydrides YZrH6, YZrH8 and YZrH12 with excellent superconductivity in the Y-Zr-H ternary system. Interestingly, YZrH6 with an A15-type structure can maintain dynamic stability down to 0.01 GPa and still with a critical temperature (Tc) of 16 K. YZrH8 and YZrH12 have high Tc of 70 K and 183 K at 200 GPa and 160 GPa, respectively. The phonon modes associated with H atoms contribute significantly to the electron-phonon coupling, and the H-driven electronic density of states play an important role in superconductivity. These findings highlight relationship between the H-driven electronic density of states, electron-phonon coupling and the superconductivity in a distinct class of hydrides, opening new avenues for designing and optimizing new hydrogen-rich high temperature superconductors.

cond-mat.supr-con