---
title: "Mixed-Up Data: the Incident That Taught Me to Isolate Runs"
url: https://www.devjpt.com/en/blog/data-contamination-pipeline-incident/
site: "Jean-Philippe Thériault"
type: post
language: en
published: 2026-12-04T14:00:00+00:00
updated: 2026-11-29T03:50:09+00:00
author: "Jean-Philippe Thériault"
description: "Two markets, one shared location, and a contaminated evidence file. What this incident taught me, and what I kept from it."
translations:
  ca: https://www.devjpt.com/ca/blog/incident-dades-barrejades-pipeline/
  es: https://www.devjpt.com/es/blog/incidente-datos-mezclados-pipeline/
  fr: https://www.devjpt.com/blog/incident-donnees-melangees-pipeline/
agent:
  instructions: "This site offers a search endpoint for AI agents. Results are returned in Markdown."
  endpoint: "https://www.devjpt.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.devjpt.com/.well-known/agent-skills/lire-devjpt/SKILL.md"
---

# Mixed-Up Data: the Incident That Taught Me to Isolate Runs

**Data contamination in a pipeline** makes no noise. Nothing crashes, no error message appears, and the results look perfectly normal. That’s what makes it dangerous. Here’s the incident that taught me to isolate runs, one of the defining episodes [behind the scenes of the pipeline](https://www.devjpt.com/en/blog/behind-the-scenes-ai-seo-pipeline/).

## The symptom

The pipeline gathers everything it collects about a market into an **evidence file**: customer questions, Google results, forum discussions, each with its source. Each market has its own. The personas, FAQs and articles are then built on that file.

One day, one market’s evidence file started containing items that didn’t belong to it. Questions, discussions and results came from another market, processed by the pipeline at around the same time.

The most worrying part was that nothing flagged it. The foreign items had the right format, real sources, consistent labels. Taken one by one, they were perfectly valid. They were simply in the wrong place.

## The cause

The principle was simple, which is what made it easy to miss. Two runs of the pipeline, for two different markets, dropped their results in the same location. When one went to fetch its results, it read the other’s.

Neither had a bug in the usual sense. Each did exactly what it was asked to do: write its results, then read them back. The problem wasn’t in the code of a step, but in how the whole was organized. As long as only one market ran at a time, everything was fine. The day two ran in parallel, they stepped on each other.

## The fix

The fix comes down to two rules.

First, **every run now has its own space**. Two processes can no longer write to the same place, even if they run at the same moment, even if they cover neighboring markets.

Second, **you always read the latest run, never a mix**. When a step fetches results, it takes those of a single, complete, clearly identified run, and nothing else.

I also changed the way I handle an affected file. Rather than cleaning it by hand and hoping to catch everything, I set it aside as is, like a piece of evidence, and redid the work on a clean base. An evidence file you have doubts about isn’t worth much: its value lies precisely in being trustworthy.

## The copy trap

The most lasting lesson came after the fix. When you start a project for a new client, the temptation is to copy the folder of a project that works and adapt it. It’s fast, and it works.

But a copy keeps the flaws of the original. And a fix made in one place doesn’t reach the copies. So you have to find every copy and check that it received the fix, one by one. Otherwise, the flaw fixed here keeps living somewhere else.

The same kind of risk resurfaced later in another form: an FAQ ended up planned from another client’s personas. Since then, a start-up check makes sure, before every process, that all the data used belongs to the same client and the same market. Like a pilot’s pre-flight checklist: you don’t take off without ticking it.

## What it changes for you

If you entrust your data to a provider, an agency or a tool that handles several clients, ask one simple question: **how are different clients’ projects isolated?**

A good answer talks about separate spaces, checks before every process, and what happens when a mix-up is detected. A vague answer, like “we’re careful,” should worry you. The risk isn’t only confidentiality. It’s also quality: content built on another market’s customer questions answers perfectly… someone else.

The same caution applies to your own projects. Every time you copy a template, a file or a configuration, ask yourself what you’re copying along with it: flaws travel as well as strengths.

Mixed-up data isn’t the only silent trap in a pipeline. There’s [another silent failure](https://www.devjpt.com/en/blog/silent-error-ai-pipeline/), even more misleading, because it disguises itself as a decision.

## Go further

This incident is one of the lessons that shaped a complete method, from listening to the market all the way to monthly measurement. To see the whole picture, discover [the AI SEO pipeline](https://www.devjpt.com/en/ai-seo-pipeline/).
