Towards Data Science By Naga Chand Putta

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

Read the original on Towards Data Science →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Towards Data Science.

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