Recent work argues that multi-agent LLM frameworks generate better unit tests than a single well-crafted prompt by iteratively refining coverage and cross-checking oracles. We test this claim directly on a 25-class Java system, comparing CANDOR, a multi-agent framework with JaCoCodriven coverage feedback and panel-based oracle review, against one-shot prompt test generation that submits to an LLM every source file and requirement of our example system in one request. We ran both strategies on GPT-4o and Gemini 2.5 Flash, and every resulting test suite is scored against a human-written baseline using PiTest (with 206 mutants). One-shot prompt outperforms CANDOR across the 25 classes combined: one-shot GPT-4o reaches a 69.90% mutation score versus CANDOR's 45.63%, and one-shot Gemini 2.5 Flash reaches 88.35% versus CANDOR's 35.92%. The one-shot prompt strategy ran on Gemini also surpasses the human baseline (83.98%) in about 45 seconds, while CANDOR with Gemini took roughly 50 hours. CANDOR's central problem is its Initialize stage: it considers the source of each class by itself. Consequently, it cannot reliably construct mocked dependency objects and can fail to produce tests that compile for classes with inter-class dependencies. Restricted to the classes it can handle, CANDOR's per-class mutation scores frequently match or beat the human baseline. Hence, CANDOR's weakness is architectural, not generative.
Energy-aware task scheduling in heterogeneous cloud infrastructures remains challenging due to the combinatorial growth of task-to-resource assignments, resource heterogeneity, and the need to balance energy consumption with scheduling performance. This paper proposes an Adaptive Dominance-Guided Grey Wolf Optimizer (ADG-GWO) for non-preemptive task scheduling in heterogeneous cloud environments. ADG-GWO adapts Grey Wolf Optimization to discrete task-to-VM assignment by integrating dominance-guided genetic reproduction, Hamming-distance-based diversity regulation, and adaptive reproduction control. These mechanisms are designed to improve search stability, reduce premature convergence, and support effective exploration of high-dimensional assignment spaces without expanding the externally tuned hyperparameter space.The proposed method is evaluated through simulation under workload-scaling and capacity-scaling scenarios using heterogeneous cloud configurations. For evaluation, workload instances and heterogeneous VM configurations are derived from Google Cluster Trace 2019 to instantiate realistic task-to-VM scheduling scenarios. The results show that the proposed dominance-guided adaptive search improves energy-aware scheduling effectiveness while maintaining competitive scheduling efficiency in heterogeneous cloud environments.
Saleh Al Shamaa, Wei Shi, J. Corriveau· IEEE International Conferenc...· 0 citations