---
title: "Root cause analysis with an AI assistant: a worked example"
description: "A worked root cause analysis for a machining defect: fishbone, 5 Whys, the escape cause and verification, and where an AI assistant helps or cannot."
image: https://factoryqa.com/hubfs/fqa-og-res-root-cause-analysis-with-ai.png
---

[![FactoryQA](https://factoryqa.com/hubfs/fqa-logo-white.png)](https://factoryqa.com/)

Features

[**Platform overview**Every module, and how they connect](https://factoryqa.com/feature-overview)[**AI features**Purpose-built AI in every module](https://factoryqa.com/ai-powered-quality-management)[**Integrations**ERP connectors and imports](https://factoryqa.com/integrations)

[**Dashboard**Every module in one scorecard](https://factoryqa.com/products/qualitybi-dashboard)[**Tasks**Every to-do, from every module](https://factoryqa.com/products/task-management)[**Compliance**Readiness for your standard](https://factoryqa.com/products/compliance)[**Quality Plans**Ballooning, PFMEA, control plans, PPAP](https://factoryqa.com/products/quality-plans)[**Documents**Revisions, approvals, sign-offs](https://factoryqa.com/products/document-control)[**Issues**NCRs, CAPAs and SCARs](https://factoryqa.com/products/non-conformance-management)[**Inspection**Sheets, first articles and SPC](https://factoryqa.com/products/inspection-sheets)[**Calibration**Gages, due dates and Gage R&R](https://factoryqa.com/products/calibration-management)[**Preventive Maintenance**Scheduled work orders and repairs](https://factoryqa.com/preventive-maintenance-factoryqa)[**Supplier Quality**Approved suppliers, portal and SCARs](https://factoryqa.com/products/supplier-management)[**Audits**Schedules, checklists and findings](https://factoryqa.com/products/audit-management)[**Learning Management**Courses, quizzes and the training matrix](https://factoryqa.com/products/learning-management-system)[**QMS Generator**Your manual from an interview](https://factoryqa.com/products/qms-generator)

Services

[**Services overview**Certification, consulting and supplier quality](https://factoryqa.com/services)[**Get Certified**Three paths to AS9100, ISO 9001 or ISO 13485: do it yourself, join a workshop, or work 1-1 with a consultant.](https://factoryqa.com/certification-services)[**Certification Workshops**A 9-week, small-group program with 18 expert-led sessions and an AI-built document kit.](https://factoryqa.com/certification-cohorts)[**QMS Consulting**A consultant on your team from training through implementation, internal audit and the registrar audit.](https://factoryqa.com/qms-consulting)[**Supplier Quality Services**Qualification, management, training and security services for your whole supply base.](https://factoryqa.com/supplier-quality-services)

[Pricing](https://factoryqa.com/pricing)

[Log in](https://app.factoryqa.com/auth/login)[Book a demo](https://factoryqa.com/get-a-demo)[Start free](https://app.factoryqa.com/auth/register)

Features[**Platform overview**](https://factoryqa.com/feature-overview)[AI features](https://factoryqa.com/ai-powered-quality-management)[Integrations](https://factoryqa.com/integrations)[Dashboard](https://factoryqa.com/products/qualitybi-dashboard)[Tasks](https://factoryqa.com/products/task-management)[Compliance](https://factoryqa.com/products/compliance)[Quality Plans](https://factoryqa.com/products/quality-plans)[Documents](https://factoryqa.com/products/document-control)[Issues](https://factoryqa.com/products/non-conformance-management)[Inspection](https://factoryqa.com/products/inspection-sheets)[Calibration](https://factoryqa.com/products/calibration-management)[Preventive Maintenance](https://factoryqa.com/preventive-maintenance-factoryqa)[Supplier Quality](https://factoryqa.com/products/supplier-management)[Audits](https://factoryqa.com/products/audit-management)[Learning Management](https://factoryqa.com/products/learning-management-system)[QMS Generator](https://factoryqa.com/products/qms-generator)

Services[**Services overview**](https://factoryqa.com/services)[Get Certified](https://factoryqa.com/certification-services)[Certification Workshops](https://factoryqa.com/certification-cohorts)[QMS Consulting](https://factoryqa.com/qms-consulting)[Supplier Quality Services](https://factoryqa.com/supplier-quality-services)More[**Pricing**](https://factoryqa.com/pricing)[Log in](https://app.factoryqa.com/auth/login)[Book a demo](https://factoryqa.com/get-a-demo)

Guide

# Root cause analysis with an AI assistant: a worked example

A worked root cause analysis for a machining defect: fishbone, 5 Whys, the escape cause and verification, and where an AI assistant helps or cannot.

FactoryQA quality teamNovember 29, 2026

Most weak corrective actions fail at the same point: the root cause. "Operator error" and "retrain" close the form and the problem comes back. 5 Whys and the fishbone diagram exist to push past that, and an AI assistant can help by proposing causes you had not listed and by refusing to stop at a person. This guide works one example from start to finish.

## The problem

A machine shop's customer rejects 14 of 200 aluminum housings: a bore specified at 12.000 +0.015 / -0 mm measures up to 12.021. Containment is done (see [how to respond to a SCAR](https://factoryqa.com/resources/how-to-respond-to-a-scar)). Now the cause.

## Start with a fishbone

A fishbone diagram sorts possible causes into families so none is forgotten. For a machining defect:

| Category | Possible causes |
| --- | --- |
| Machine | Spindle runout, thermal growth, worn boring bar |
| Method | Tool life limit, offset procedure, inspection frequency |
| Material | Alloy or temper change, hardness variation |
| Measurement | Bore gage calibration, technique, temperature |
| People | New operator, shift handover |
| Environment | Coolant temperature, shop temperature |

Then use data to strike causes out. The bore gage was in calibration and agreed with the CMM, so measurement is out. The rejects came from the end of the run on both shifts, so people and material are unlikely. That points to something that changes during a run: the tool.

## Then ask why, five times

5 Whys · Bore oversize on HSG-2214

**1. Why was the bore oversize?**The boring insert was worn*Why 1*

**2. Why was a worn insert in use?**It had not reached its tool life count*Why 2*

**3. Why was the count not reached?**The limit was 400 parts; the insert lasts about 250*Why 3*

**4. Why was the limit 400?**Copied from a steel job, never validated on this alloy*Why 4*

**5. Why was it not validated?**No step in job setup requires a tool life check*Root cause*

Fix the setup process, not the operator

The ladder stops when you reach something in the system you can change. "The insert was worn" is a cause; "no step in job setup requires a tool life check" is a root cause, because fixing it protects every job, not just this one.

## Do not forget the escape

A second ladder asks why the defect was not caught. Here: the in-process bore check was once every 50 parts, set before a cycle time change, and final inspection sampled five parts per lot. Customers increasingly expect both causes, occurrence and escape, with an action for each.

## Verify before you act

A root cause is proven when you can turn the defect on and off. Running a worn insert reproduced the oversize bore; a fresh insert removed it. Record how you verified it.

## Where an AI assistant helps, and where it does not

- **Helps:** proposing the fishbone category and several candidate causes, drafting the ladder from your description, finding similar closed issues, suggesting corrective actions and an effectiveness check
- **Does not:** know which candidate is true. Only your data and a verification test can say. Treat its confidence as a prompt to go and look.

## Actions and effectiveness

Corrective actions follow the two causes: tool life validated at setup and set to 200 parts for this job, and the bore checked every 20 parts and charted. Effectiveness: the next five lots with zero rejects on the bore. For the terms, see [SCAR vs CAR vs CAPA vs 8D](https://factoryqa.com/resources/scar-vs-car-vs-capa-vs-8d).

Issues in FactoryQA: NCRs, CAPAs and SCARs on one record instead of a spreadsheet log.

In FactoryQA, the CAPA Assistant reads a corrective action, looks up similar closed issues, and proposes a fishbone category, a 5 Whys ladder and candidate root causes, each with a confidence, plus containment actions, corrective actions and a check for effectiveness. You pick and edit what you agree with, and nothing is written to the issue until you insert it. See [Issues](https://factoryqa.com/products/non-conformance-management).

## Frequently asked questions

### What is the 5 Whys method?

Asking why repeatedly, usually about five times, until you reach a cause in the process or system that you can change, and not a symptom or a person.

### What is a fishbone diagram used for?

To list possible causes of a problem by category, commonly machine, method, material, measurement, people and environment, so the team considers all of them before narrowing down with data.

### Can AI find the root cause of a quality problem?

AI can propose candidate causes and structure the analysis, drawing on the problem description and similar past issues. It cannot confirm which cause is real; that takes data and a verification test.

### Why is operator error not a root cause?

Because it does not explain why the process allowed the error. The useful question is what in the method, tooling, instruction or check let the mistake happen and go undetected.

### What is the difference between occurrence and escape root causes?

The occurrence cause is why the defect was made. The escape cause is why your controls did not catch it. A complete corrective action addresses both.

Keep reading

## More from Resources

[Guide**Calibration intervals: how often to calibrate each gage**How often to calibrate calipers, micrometers and other gages: typical starting intervals, adjusting from as-found data, and out-of-tolerance impact checks.](https://factoryqa.com/resources/calibration-intervals)[Supplier quality**AS9145 for small aerospace suppliers**AS9145 explained for small aerospace suppliers: the five APQP phases, the eleven PPAP elements, what applies to build-to-print shops, and low volumes.](https://factoryqa.com/resources/as9145-for-small-suppliers)[Supplier quality**PPAP vs first article inspection (FAI)**PPAP vs first article inspection: what each proves, the standards behind them (AIAG, AS9145, AS9102), a side by side table, and when you need both.](https://factoryqa.com/resources/ppap-vs-fai)

## Try it on your own process: start free.

Free plan · Basic $40 · Pro $60 per standard user per month · 14 days of Pro to start

[Start free](https://app.factoryqa.com/auth/register)[Book a demo](https://factoryqa.com/get-a-demo)

![FactoryQA](https://factoryqa.com/hubfs/fqa-logo-white.png)Every quality tool. One connected system.

Product[Features](https://factoryqa.com/feature-overview)[AI features](https://factoryqa.com/ai-powered-quality-management)[Integrations](https://factoryqa.com/integrations)[Pricing](https://factoryqa.com/pricing)

Modules[Quality Plans](https://factoryqa.com/products/quality-plans)[Documents](https://factoryqa.com/products/document-control)[Issues](https://factoryqa.com/products/non-conformance-management)[Inspection](https://factoryqa.com/products/inspection-sheets)[Calibration](https://factoryqa.com/products/calibration-management)

Services[Get Certified](https://factoryqa.com/certification-services)[Certification Workshops](https://factoryqa.com/certification-cohorts)[QMS Consulting](https://factoryqa.com/qms-consulting)[Supplier Quality Services](https://factoryqa.com/supplier-quality-services)

Resources[Guides](https://factoryqa.com/resources)[FAQ](https://factoryqa.com/resources/faq)[Glossary](https://factoryqa.com/resources/quality-glossary)

Company[Contact](https://factoryqa.com/get-a-demo-1)[Help Center](https://app.factoryqa.com/help)[LinkedIn](https://www.linkedin.com/company/factoryqa)[Facebook](https://www.facebook.com/factoryqa)

© 2026 FactoryQA[Privacy Policy](https://factoryqa.com/privacy-policy) · [Terms and Conditions](https://factoryqa.com/terms-and-conditions)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "FactoryQA quality team",
    "url" : "https://factoryqa.com/resources/author/factoryqa-quality-team"
  },
  "dateModified" : "2026-11-29T16:27:40.781Z",
  "datePublished" : "2026-11-29T16:27:40.000Z",
  "headline" : "Root cause analysis with an AI assistant: a worked example",
  "image" : [ "https://factoryqa.com/hubfs/fqa-og-res-root-cause-analysis-with-ai.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://factoryqa.com/resources/root-cause-analysis-with-ai",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://20847757.fs1.hubspotusercontent-na1.net/hubfs/20847757/264.png"
    },
    "name" : "FactoryQA"
  }
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "Article",
  "author" : {
    "@type" : "Organization",
    "name" : "FactoryQA",
    "url" : "https://factoryqa.com/"
  },
  "dateModified" : "2026-11-29",
  "datePublished" : "2026-11-29",
  "description" : "A worked root cause analysis for a machining defect: fishbone, 5 Whys, the escape cause and verification, and where an AI assistant helps or cannot.",
  "headline" : "<span id=\"hs_cos_wrapper_name\" class=\"hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_text\" style=\"\" data-hs-cos-general-type=\"meta_field\" data-hs-cos-type=\"text\" >Root cause analysis with an AI assistant: a worked example</span>",
  "image" : "https://factoryqa.com/hubfs/fqa-og-res-root-cause-analysis-with-ai.png",
  "mainEntityOfPage" : "https://factoryqa.com/resources/root-cause-analysis-with-ai",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://factoryqa.com/hubfs/fqa-logo-white.png"
    },
    "name" : "FactoryQA",
    "url" : "https://factoryqa.com/"
  }
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "FAQPage",
  "mainEntity" : [ {
    "@type" : "Question",
    "acceptedAnswer" : {
      "@type" : "Answer",
      "text" : "Asking why repeatedly, usually about five times, until you reach a cause in the process or system that you can change, and not a symptom or a person."
    },
    "name" : "What is the 5 Whys method?"
  }, {
    "@type" : "Question",
    "acceptedAnswer" : {
      "@type" : "Answer",
      "text" : "To list possible causes of a problem by category, commonly machine, method, material, measurement, people and environment, so the team considers all of them before narrowing down with data."
    },
    "name" : "What is a fishbone diagram used for?"
  }, {
    "@type" : "Question",
    "acceptedAnswer" : {
      "@type" : "Answer",
      "text" : "AI can propose candidate causes and structure the analysis, drawing on the problem description and similar past issues. It cannot confirm which cause is real; that takes data and a verification test."
    },
    "name" : "Can AI find the root cause of a quality problem?"
  }, {
    "@type" : "Question",
    "acceptedAnswer" : {
      "@type" : "Answer",
      "text" : "Because it does not explain why the process allowed the error. The useful question is what in the method, tooling, instruction or check let the mistake happen and go undetected."
    },
    "name" : "Why is operator error not a root cause?"
  }, {
    "@type" : "Question",
    "acceptedAnswer" : {
      "@type" : "Answer",
      "text" : "The occurrence cause is why the defect was made. The escape cause is why your controls did not catch it. A complete corrective action addresses both."
    },
    "name" : "What is the difference between occurrence and escape root causes?"
  } ]
}
```