Towards Data Science

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 .

Towards Data Science
Oct 23

Your Six AI Models Are Really Two: The Math of Correlated Mistakes

The article explains that when multiple AI models are asked the same question and their answers are aggregated by voting, the resulting opinions are often less independent than the number of models suggests. It presents a formula that estimates the effective number of independent models and validates this with six open models evaluated on 1,500 exam questions.

By Utkarsh Mangal
Towards Data Science
Oct 6

A Google Team Measured Half of My Argument, and Left the Other Half Open

The article titled "A Google Team Measured Half of My Argument, and Left the Other Half Open" is part of a series on spec‑driven test automation (Part 3). It discusses how a Google team evaluated only half of the author’s argument, leaving the remaining portion unresolved. The post was originally published on the Towards Data Science platform.

By Gal Arav
Towards Data Science
Aug 27

I Trained Six Models for Fraud Detection, and the Best One Isn't in Production

The article recounts a final‑year project in which the author trained six different models for fraud detection. It highlights the discrepancy between the model that performed best on evaluation metrics and the one that was ultimately chosen for production. The piece reflects on how real‑world constraints can override purely statistical performance.

By Benjamin Nweke
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
Towards Data Science
Oct 29

Is the #1 AI Model Really #1?

The article examines the performance of AI models on a 2,000-question test, finding that the top two models were indistinguishable at the conventional 5% significance level. When the test was reduced to 200 questions, a different model would have claimed first place roughly three times out of ten trials. The piece questions the reliability of declaring a single model as the best based on limited testing.

By Utkarsh Mangal
Towards Data Science
Aug 20

The LLM Judge That Kept Agreeing With Itself

The article recounts a production incident where a large language model (LLM) was used to evaluate the outputs of another LLM, and the judging model consistently agreed with itself. It explores the implications of relying on one model to assess another’s work, highlighting the potential pitfalls of such an approach. The narrative offers lessons on the limits of trusting automated evaluation systems in real‑world deployments.

By Priyansh Bhardwaj
Towards Data Science
Nov 10

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.

By Naga Chand Putta
Towards Data Science
5d ago

When Qini Rewards the Wrong Uplift Model, Use Doubly Robust Scores

The article discusses a scenario where the Qini metric, used to evaluate uplift models, incorrectly favors a Linear Doubly Robust (DR) learner over the true Conditional Average Treatment Effect (CATE) ranking on a dataset of one million simulated customers. It highlights that the Linear DR learner achieved a Qini score of 0.0856, surpassing the true-CATE ranking’s score of 0.0826, thereby illustrating a potential misalignment between Qini rewards and actual model performance.

By Ivan Gorban