Skip to main content

Incident · Mid

UK police (NDAS): bug inflates accuracy

Real incident. Key points: data leakage and model validation.

12 min read · Incident on , lasted · Source: UK Police · Content reviewed on October 23, 2026

Short answer

Real incident. Key points: data leakage and model validation. The prediction system called Most Serious Violence (MSV) was part of the National Data Analytics Solution (NDAS) project. The model was designed to predict whether a person would commit their first violent crime with a firearm or knife in the following two years.

01 · CONTEXT

What the model tried to predict

The prediction system called Most Serious Violence (MSV) was part of the National Data Analytics Solution (NDAS) project. The model was designed to predict whether a person would commit their first violent crime with a firearm or knife in the following two years. People who had already had contact with the two police forces involved in the development received a risk score, and the higher the score, the more likely the crime.

To develop the system, historical data on 2.4 million people in the West Midlands database and 1.1 million in West Yorkshire's was used. It came from crime and custody records, intelligence reports, and the national police database. This is a case of data pipeline, of machine learning system and for monitoring the quality of what the model delivers.

The system was never used in police operations. The case, therefore, is not about harm caused by a model in production, but about an evaluation number that did not survive checking before it got there.

02 · THE ERROR

A flaw in the training definition

  1. Crime and custody records, intelligence reports, and the national police database feed the data ingestion.

    Architecture diagram: NDAS MSV: from police record to committee
    DBPolice records
    CPData ingestioningestion
    DBTraining set
    CPMSV risk model
    CPAccuracy evaluation
    CLEthics committee
  2. A coding error in the definition of the training set made the problem statement unworkable. An NDAS spokesperson described it as a data ingestion problem.

    Architecture diagram: NDAS MSV: from police record to committee
    DBPolice records
    CPData ingestion
    DBTraining setdefinition with error
    CPMSV risk model
    CPAccuracy evaluation
    CLEthics committee
  3. Before the error was found, the NDAS claimed accuracy of up to 75 percent.

    Architecture diagram: NDAS MSV: from police record to committee
    DBPolice records
    CPData ingestion
    DBTraining set
    CPMSV risk model
    CPAccuracy evaluationclaimed accuracy
    CLEthics committee
  4. With the system rebuilt, accuracy in the West Midlands case fell to a range between 14 and 19 percent.

    Architecture diagram: NDAS MSV: from police record to committee
    DBPolice records
    CPData ingestion
    DBTraining set
    CPMSV risk model
    CPAccuracy evaluationlower accuracy
    CLEthics committee
  5. The proposal to take the system forward was unanimously rejected by the ethics committee.

    Architecture diagram: NDAS MSV: from police record to committee
    DBPolice records
    CPData ingestion
    DBTraining set
    CPMSV risk model
    CPAccuracy evaluation
    CLEthics committeeproposal rejected

An NDAS briefing, published by the West Midlands police ethics committee, records that a coding error in the definition of the training set made the MSV problem statement unworkable. An NDAS spokesperson told the reporter that the error was a data ingestion problem discovered during development.

03 · THE NUMBERS

What the error did to accuracy

ScenarioReported accuracy
NDAS claim before the error was foundUp to 75 percent
Rebuilt system, West MidlandsBetween 14 and 19 percent
Best case of the limited system, West MidlandsBetween 25 and 38 percent

The NDAS acknowledged that the real level of accuracy was significantly lower, and the report summarizes that the original performance had been overestimated. The rebuilt system was more accurate when the original criteria (first crime, weapon type, and weapon use) were removed.

To give weight to a number, you need a reference. The NDAS document to the committee compares the lower accuracy with random choice: among about 400,000 people, the chance of drawing someone who commits a serious violent crime would be 1.9%. Meanwhile, a researcher interviewed for the report points out that rare events are much harder to predict than common events.

04 · GOVERNANCE

The ethics committee as a gate

The West Midlands police ethics committee saw it as positive that the team had evaluated its own work and identified flaws. It also asked for an assessment of whether the available police data represent all the relevant information for this type of model. The proposal to continue with the system was unanimously rejected, and the committee advised that the project, as it stood, be discontinued.

In the document to the committee, the NDAS itself states that being on the high-risk list would not be enough to justify using police resources on an intervention. For another use case of the program (modern slavery), the committee recommended communicating the error in a fixed format: out of a population of N people, how many are expected to be identified, how many of those will have been falsely identified, and how many the model will fail to identify.

05 · DESIGN LESSONS

How the pipeline could defend itself

  1. In this example design, between ingestion and training there is a check: the definition of the set (who is included and what the outcome to predict is) is compared with the source records.

    Architecture diagram: Validation with check, baseline, and gate
    DBSource records
    CPIngestion
    CPSet checkcheck
    DBTraining set
    CPRisk model
    CPNaive baseline
    CPEvaluation on later data
    CPRelease gate
    CLReviewing analyst
    NWError monitor
  2. The evaluation compares the model with a simple baseline, such as picking people at random, so that the number has a reference.

    Architecture diagram: Validation with check, baseline, and gate
    DBSource records
    CPIngestion
    CPSet check
    DBTraining set
    CPRisk model
    CPNaive baselinereference
    CPEvaluation on later data
    CPRelease gate
    CLReviewing analyst
    NWError monitor
  3. The evaluation uses data from after the training period, to resemble real use.

    Architecture diagram: Validation with check, baseline, and gate
    DBSource records
    CPIngestion
    CPSet check
    DBTraining set
    CPRisk model
    CPNaive baseline
    CPEvaluation on later datanew data
    CPRelease gate
    CLReviewing analyst
    NWError monitor
  4. The gate releases the model only if the measure holds up and the expected error is written in a way the decision-maker understands.

    Architecture diagram: Validation with check, baseline, and gate
    DBSource records
    CPIngestion
    CPSet check
    DBTraining set
    CPRisk model
    CPNaive baseline
    CPEvaluation on later data
    CPRelease gategate
    CLReviewing analyst
    NWError monitor
  5. A person reviews each flag and justifies the action, and the monitor compares the prediction with what actually happened.

    Architecture diagram: Validation with check, baseline, and gate
    DBSource records
    CPIngestion
    CPSet check
    DBTraining set
    CPRisk model
    CPNaive baseline
    CPEvaluation on later data
    CPRelease gate
    CLReviewing analyst
    NWError monitormonitor

The general lesson of the case is that the evaluation number is the product of a pipeline, and the pipeline also needs to be tested. Checking the training set definition against the source, comparing with a simple reference, evaluating on later data, and requiring a gate before use are independent layers of defense.

Frequently asked questions

What is UK police (NDAS): bug inflates accuracy?

Real incident. Key points: data leakage and model validation.

What does the UK police (NDAS): bug inflates accuracy design cover?

It is organized in these sections: What the model tried to predict, A flaw in the training definition, What the error did to accuracy, The ethics committee as a gate, and How the pipeline could defend itself.

How long is UK police (NDAS): bug inflates accuracy and what level is it?

It takes about 12 minutes to read and is rated Mid level.

Now design it yourself

Run this case as an interview in the System Design school: you make the decisions, the tutor challenges them and you see how your design scores.