Search arXiv⌕ Search

arXiv subjects

Mahmoud Ayyad

Publications and source records attributed to Mahmoud Ayyad.

3 recordsLinked to original sources

Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testing

Autonomous software engineering agents (SWE-agents) automate coding tasks. Each agent update may require re-running the full benchmark to detect regressions and improvements, at a cost of hundreds of millions of LLM tokens per run, which makes evaluation a bottleneck. One solution is to evaluate only a subset of benchmark instances. Yet, simple approaches, such as random sampling or stratified random sampling based on past pass/fail outcomes, risk producing high variance and unrepresentative subsets. We turn to agent trajectories, the step-by-step record of the actions an agent took. We propose a trajectory-aware subset selection approach that replaces random sampling with deterministic selection based on trajectory embeddings. We first group test set instances by their test outcome in a recent full test run to preserve the historical pass/fail rate, then select the subset using the trajectory's embedding space. We evaluate 76 subset selection configurations, including random sampling, embedding-based selection, clustering-based selection, and hybrid shortlist-then-subsample strategies, across three regression scenarios: same-configuration reruns, model and configuration changes, and agent framework changes. Our best trajectory-aware method is the one selecting benchmark instances closest to the centroid of each outcome group in the embedding space. It achieves the lowest estimation error among all methods we evaluate. For instance, when evaluating a given agent version on a selected subset of 5% or 10% of the test instances, our approach reduces the average estimation error by 3--11% and the worst-case error by 4--11% relative to the typical draw and 38--46% relative to the 95th-percentile draw of the strongest baseline. Our results show that a 10% trajectory-aware subset keeps the median estimation error below 5% while cutting token cost by roughly 90%.

cs.SE↗

Utilizing Low-Cost Linux Micro-Computer & Android Phone Solutions on Cube-Satellites

Realizing functional space systems using flight-tested components is problematic in developing economies, as such components are costly for most institutions to sponsor. The B.Sc. project, Subsystems for 2nd Iteration Cairo University Cube-Satellite, addresses technology demonstration using commercially available electronics and low cost computing platforms, such as Android phones and Raspberry Pi Linux micro-computer as computing hardware. As for software, the project makes use of open-source modules and locally developed code to implement needed functionalities, in addition to a mechanism to operate a virtual desktop Linux OS in parallel to an Android application. The paper aims to demonstrate the significance, operation design, and problem solving of such approaches. The paper concludes with future prospects for improving upon the proposed computing systems

cs.OH↗

Variants of the Finite Element Method for the Parabolic Heat Equation: Comparative Numerical Study

Different variants of the method of weighted residual finite element method are used to get a solution for the parabolic heat equation, which is considered to be the model equation for the steady state Navier-Stokes equations. Results show that the Collocation and the Least-Squares variants are more suitable for first order systems. Results also show that the Galerkin/Least-Squares method is more diffusive than other methods, and hence gives stable solutions for a wide range of Péclet numbers.

math.NA↗