Goto

Collaborating Authors

 South America


Correctness isnt Efficiency: Runtime Memory Divergence in LLM-Generated Code

arXiv.org Artificial Intelligence

Large language models (LLMs) can generate programs that pass unit tests, but passing tests does not guarantee reliable runtime behavior. We find that different correct solutions to the same task can show very different memory and performance patterns, which can lead to hidden operational risks. We present a framework to measure execution-time memory stability across multiple correct generations. At the solution level, we introduce Dynamic Mean Pairwise Distance (DMPD), which uses Dynamic Time Warping to compare the shapes of memory-usage traces after converting them into Monotonic Peak Profiles (MPPs) to reduce transient noise. Aggregating DMPD across tasks yields a model-level Model Instability Score (MIS). Experiments on BigOBench and CodeContests show substantial runtime divergence among correct solutions. Instability often increases with higher sampling temperature even when pass@1 improves. We also observe correlations between our stability measures and software engineering indicators such as cognitive and cyclomatic complexity, suggesting links between operational behavior and maintainability. Our results support stability-aware selection among passing candidates in CI/CD to reduce operational risk without sacrificing correctness. Artifacts are available.


Why Are AI Agent Involved Pull Requests (Fix-Related) Remain Unmerged? An Empirical Study

arXiv.org Artificial Intelligence

Autonomous coding agents (e.g., OpenAI Codex, Devin, GitHub Copilot) are increasingly used to generate fix-related pull requests (PRs) in real world software repositories. However, their practical effectiveness depends on whether these contributions are accepted and merged by project maintainers. In this paper, we present an empirical study of AI agent involved fix related PRs, examining both their integration outcomes, latency, and the factors that hinder successful merging. We first analyze 8,106 fix related PRs authored by five widely used AI coding agents from the AIDEV POP dataset to quantify the proportions of PRs that are merged, closed without merging, or remain open. We then conduct a manual qualitative analysis of a statistically significant sample of 326 closed but unmerged PRs, spending approximately 100 person hours to construct a structured catalog of 12 failure reasons. Our results indicate that test case failures and prior resolution of the same issues by other PRs are the most common causes of non integration, whereas build or deployment failures are comparatively rare. Overall, our findings expose key limitations of current AI coding agents in real world settings and highlight directions for their further improvement and for more effective human AI collaboration in software maintenance.


Study of scaling laws in language families

arXiv.org Artificial Intelligence

Complex systems are extensively characterized by scaling symmetry and power law distributions. These phenomena are evident in a wide range of studies, such as those on cities [1], growth models [2], cellular automata [3], and cognitive sciences [4], among many others. The language also exhibits characteristics of complex systems [5, 6, 7] and currently several statistical laws related to linguistic studies are well established [8]. Notedly interesting on the interface between statistical studies and linguistics, the Zipf's Law for written texts relates the word frequency with their corresponding rank and points to a robust power-law dependence between these variables with a scaling exponent close to unity [9]. In recent decades, the expansion of available corpora and computational power has facilitated the study of Zipf's law across various language systems [10, 11, 12, 13, 14].


The Brazilian Director Who's Up for Multiple Oscars

The New Yorker

Kleber Mendonça Filho wants his films to reclaim lost history. For Kleber Mendonça Filho, filmmaking is an act of both provocation and preservation. Mendonça was born in 1968, in the early years of a ruthless military dictatorship--a time when cinema, like much else, was harshly constrained. His mother, Joselice Jucá, was a historian who studied Brazil's abolitionist movement, and she taught him that filling gaps in the cultural memory was a way to expose concealed truths. His relationship with film is inextricably linked with his home town, Recife--a port city where attractive beaches and high-rise developments coexist with sprawling favelas and rampant crime. In his youth, Mendonça was fascinated by the city's grand cinema palaces. He carried a Super 8 camera to the tops of marquees and shot dizzying images; he spent hours in projection booths, learning the mechanics of how films reached the screen. Over time, Mendonça watched those theatres fall into decline, an experience that he likened to being aboard a ship as it wrecked. But even as Recife lost its allure, he made the city a fixture of his films--a way of vindicating its place in history. His first narrative feature, "Neighboring Sounds," takes place on a street where he lived as a child, a setting that he spent years documenting. Later, he made "Pictures of Ghosts," a documentary about Recife told largely through its cinemas.


Gavin Newsom Is Playing the Long Game

The New Yorker

He catches nascent changes in the political weather. "During early, he kept telling me, 'Crime--there's something here,' " DeBoo told me. DeBoo studied the latest crime statistics and saw nothing unusual. He brushed off the worry. Then new numbers came out, showing a large pandemic spike in shoplifting and car theft, and concerns about crime exploded into the headlines. Last March, judging the winds, Newsom launched a podcast, "This Is Gavin Newsom."


The Information Networks That Connect Venezuelans in Uncertain Times

WIRED

The people of Venezuela have spent years learning resilience in the face of censorship, disinformation, and repression. They now rely on those tools more than ever. In the early morning hours of Saturday, January 3, the roar of bombs dropping from the sky announced the US military attack on Venezuela, waking the sleeping residents of La Carlota, in Caracas, a neighborhood adjacent to the air base that was a target of Operation Absolute Resolve. Marina G.'s first thought, as the floors, walls, and windows of her second-story apartment shook, was that it was an earthquake. Her cat scrambled and hid for hours, while the neighbors' dogs began to bark incessantly.


Secret warehouse guards lost world of treasures found on HS2 route

BBC News

Treasures unearthed by hundreds of archaeologists so far during work on the controversial planned HS2 train line have been shown exclusively to the BBC. The 450,000 objects, which are being held in a secret warehouse, include a possible Roman gladiator's tag, a hand axe that may be more than 40,000 years old and 19th Century gold dentures. It is an unprecedented amount and array of items, which will yield new insights into Britain's past, says the Centre for British Archaeology. Major building developments in the UK need land to be assessed by archaeologists as part of the planning process, to protect heritage sites. Since 2018 around 1,000 archaeologists have been involved in 60 digs along the route HS2 is set to take between London to Birmingham.


Apple reports best-ever iPhone sales as Mac dips

BBC News

Sales of the iPhone hit an all-time high in the final three months of last year, tech firm Apple reported on Thursday. Revenue rose by 16% compared to the same period last year to $144bn (£82.5bn) - the strongest growth since 2021 - thanks to a jump in sales in China, as well as Europe, the Americas, and Japan. However, sales in other parts of the company were less positive. Wearables and accessories, which include things like the Apple Watch and AirPods, fell by roughly 3%. Apple chief executive Tim Cook said the iPhone's boost in sales meant the firm was in supply chase mode.


Distributed Causality in the SDG Network: Evidence from Panel VAR and Conditional Independence Analysis

arXiv.org Machine Learning

The achievement of the 2030 Sustainable Development Goals (SDGs) is dependent upon strategic resource distribution. We propose a causal discovery framework using Panel Vector Autoregression, along with both country-specific fixed effects and PCMCI+ conditional independence testing on 168 countries (2000-2025) to develop the first complete causal architecture of SDG dependencies. Utilizing 8 strategically chosen SDGs, we identify a distributed causal network (i.e., no single 'hub' SDG), with 10 statistically significant Granger-causal relationships identified as 11 unique direct effects. Education to Inequality is identified as the most statistically significant direct relationship (r = -0.599; p < 0.05), while effect magnitude significantly varies depending on income levels (e.g., high-income: r = -0.65; lower-middle-income: r = -0.06; non-significant). We also reject the idea that there exists a single 'keystone' SDG. Additionally, we offer a proposed tiered priority framework for the SDGs namely, identifying upstream drivers (Education, Growth), enabling goals (Institutions, Energy), and downstream outcomes (Poverty, Health). Therefore, we conclude that effective SDG acceleration can be accomplished through coordinated multi-dimensional intervention(s), and that single-goal sequential strategies are insufficient.


Latent-IMH: Efficient Bayesian Inference for Inverse Problems with Approximate Operators

arXiv.org Machine Learning

We study sampling from posterior distributions in Bayesian linear inverse problems where $A$, the parameters to observables operator, is computationally expensive. In many applications, $A$ can be factored in a manner that facilitates the construction of a cost-effective approximation $\tilde{A}$. In this framework, we introduce Latent-IMH, a sampling method based on the Metropolis-Hastings independence (IMH) sampler. Latent-IMH first generates intermediate latent variables using the approximate $\tilde{A}$, and then refines them using the exact $A$. Its primary benefit is that it shifts the computational cost to an offline phase. We theoretically analyze the performance of Latent-IMH using KL divergence and mixing time bounds. Using numerical experiments on several model problems, we show that, under reasonable assumptions, it outperforms state-of-the-art methods such as the No-U-Turn sampler (NUTS) in computational efficiency. In some cases, Latent-IMH can be orders of magnitude faster than existing schemes.