Towards Data Science

Copilot Caught 8 of 8 Diff Bugs With Rules, 0 of 2 Outside the Diff

The article reports that a guard on negative enrollment days appeared correct, yet the function it invoked overbilled a customer by 11 days, a mistake that an invariant test would have detected. It highlights how Copilot identified all 8 diff bugs using rules but missed 2 bugs outside the diff. The piece underscores the importance of invariant testing in catching subtle errors that automated tools may overlook.

Towards Data Science
Oct 16

I Built a Claim-Checker for Writing With Codex. It Passed a Wrong Claim.

The article describes a claim‑checker tool built for writing with Codex that successfully identified the correct passage but failed to detect a mismatch, illustrating the limitations of rule‑based checks. The audit highlights where these automated checks break down and provides insights into improving claim verification processes.

By Benjamin Nweke
arXiv Machine Learning
Nov 16

Clean Tickets, Wrong Orders: Catching Silent Errors with a Language Model in Your Browser Tab

The paper presents a small language model that converts typed orders into structured data and highlights two failure modes: producing broken output that is rejected, or generating clean but incorrect orders—termed silent errors. A web demo demonstrates a fine‑tuned 0.8B‑parameter model running entirely in the browser via WebAssembly, with no order text leaving the device. The model achieves 99.0% output agreement with server‑side evaluation on 1,357 test orders and matches the benchmark’s exact match score of 0.882, while also reporting latency on consumer laptops.

By Umar Ahmed, Maxim Dunaev, Mohammad Nour Al Awad, Sergey Ivanov, Ivan Khodnenko
arXiv AI
Nov 6

Accepted but Wrong: Silent Failures of LLM Code Repairs after API Migrations

The study examines how large language models (LLMs) repair code after runtime or API migrations, revealing that many repaired procedures run without errors yet produce incorrect results. Across 73 tasks and 60 documented changes in CPython, Node.js, and SQLite, the authors found that typical test inputs allowed 41% of wrong repairs to pass, while targeted edge inputs reduced this to 6–7%. Even with additional hard distractors and blind model writers, a significant fraction of incorrect repairs still passed the preregistered tests.

By Xiaobo Chen, Genliang Zhu, Ziyuan Wang, Chu Wang
Towards Data Science
Oct 16

Do You Still Own the Code Your AI Wrote? I Built CodeOwnership to Measure It

The article describes a tool called CodeOwnership that measures how much of the code an AI writes can be attributed to the user. The author shares a personal experiment where they rated their confidence at 4 out of 5 and then spent 8 minutes trying to locate a planted bug, ultimately finding none. They provide a walkthrough of the tool’s usage, its results, and discuss its limitations.

By Emmimal P Alexander
Towards Data Science
Oct 27

An AI Agent Can Spot a Mistake and Still Not Fix It

The article describes an experiment where an AI agent was able to identify incorrect model decisions while interacting with a web page, yet failed to correct the errors. By replaying correct decisions through four intentionally flawed browser actions, the author demonstrates that a simple page check missed half of the erroneous clicks. This illustrates that detecting a fault and successfully recovering from it are distinct capabilities.

By Abdullahi Dattijo
Hugging Face Trending Papers
Nov 5

Accepted but Wrong: Silent Failures of LLM Code Repairs after API Migrations

The paper investigates silent failures in large language model (LLM) code repairs after runtime or API migrations. In a preregistered study of 73 tasks across CPython, Node.js, and SQLite, the authors found that many repaired programs passed typical tests yet produced incorrect results, with failure rates dropping from 41% to 6% when using edge inputs. Despite improvements, a significant fraction of hard wrong programs still passed, highlighting the limitations of current testing approaches.

Towards Data Science
Aug 14

My Model Was Cheating on Its Own Test

A preprocessing pipeline let my car price model peek at the test set before the exam, and the twelve points of R squared it cheated its way to The post My Model Was Cheating on Its Own Test appeared first on Towards Data Science .

By Abdullahi Dattijo
arXiv AI
Oct 16

Poison Valleys: Diagnosing Path-Dependent Failure in LLM Code Repair

The paper "Poison Valleys: Diagnosing Path-Dependent Failure in LLM Code Repair" investigates why large language model (LLM) code‑repair agents sometimes produce incorrect patches. By analyzing 1,844 model requests on two synthetic Python tasks—PersistQueue and Dijkstra—the authors trace how misconceptions in a model’s hypothesis or implementation plan lead to specific software obligation violations. They find that shifting a misconception from hypothesis to plan increases failure rates by roughly 30% for both tasks, revealing distinct, model‑dependent failure patterns linked to upstream misunderstandings.

By Veljko Skarich
Simon Willison
Sep 11

Datasette 1.0a39 and 0.65.4 security releases

Datasette 1.0a39 and 0.65.4 are new security patch releases for the current alpha series and the stable 0.65.x family. The updates address security fixes that are important for public-facing Datasette instances, especially those that mix public and private tables. The patches were developed after an extensive audit using advanced AI models and collaborative review, and the process will be incorporated into future development work.

Towards Data Science
Nov 8

Change One Monty Hall Rule and Five LLMs Still Say Switch

The article reports that five large language models, even when prompted with step-by-step reasoning, achieved only about 33% accuracy on a modified Monty Hall problem. One model correctly cited the host’s rule before subsequently disregarding it. The study highlights the models’ difficulty in consistently applying logical rules to probabilistic puzzles.

By Utkarsh Mangal
Towards Data Science
Oct 27

I Broke a Browser Agent on Purpose. Spotting the Fault Was Not the Same as Fixing It

The article describes an experiment where the author intentionally broke a browser agent by replaying correct model decisions through four faulty browser actions. A basic page check failed to detect half of the incorrect clicks and incorrectly flagged every successful click within an embedded page. The piece highlights the challenges of diagnosing and resolving such browser-related faults.

By Abdullahi Dattijo