Lean Enterprise Institute Logo
  • Contact Us
  • Newsletter Signup
  • Cart (78)
  • Account
  • Search
Lean Enterprise Institute Logo
  • Explore Lean
        • What is Lean?
        • The Lean Transformation Framework
        • A Brief History of Lean
        • Lexicon Terms
        • Topics to explore
          • Operations
          • Lean Product & Process Development
          • Administration & Support
          • Problem-Solving
          • Coaching
          • Executive Leadership
          • Line Management
  • The Lean Post
        • Subscribe to see exclusive content
          • Subscribe
        • Featured posts
          Software’s Quality Leap: Three Lessons from Toyota’s Dantotsu Approach to Reduce Defects at Scale at Theodo

          Lean Product and Process Development at Scale:...

          craftsmanship

          Pursuing Perfection: Craftsmanship in Product Development

          • See all Posts
  • Events & Courses
        • Forms and Templates
        • Featured learning
          • The Future of People at Work Symposium 

            July 18, 2024 | Detroit, Michigan

          • Hoshin Kanri

            September 06, 2024 | Coach-Led Online Course

          • Lean Warehousing and Distribution Operations

            September 11, 2024 | Plant City, Florida and Gainesville, Florida

          • Key Concepts of Lean Management

            September 16, 2024 | Coach-Led Online Course

          • See all Events
  • Training & Consulting for Organizations​
        • Interested in exploring a partnership with us?
          • Schedule a Call
        • Getting Started
        • Leadership Development
        • Custom Training
        • Enterprise Transformation​
  • Store
        • Book Ordering Information
        • Shopping Cart
        • Featured books
          Managing to Learn: Using the A3 management process

          Managing to Learn: Using the A3 management process

          A3 Getting Started Guide 2

          A3 Getting Started Guide

          • See all Books
  • About Us
        • Our people
          • Senior Advisors and Staff
          • Faculty
          • Board of Directors
        • Contact Us
        • Lean Global Network
        • Press Releases
        • In the News
        • Careers
        • About us

The Lean Post / Articles / Software’s Quality Leap: Three Lessons from Toyota’s Dantotsu Approach to Reduce Defects at Scale at Theodo

A software development intently looking at complex code through a magnifying glass to indicate problem solving set in a futuristic environment.

Product & Process Development

Software’s Quality Leap: Three Lessons from Toyota’s Dantotsu Approach to Reduce Defects at Scale at Theodo

By Fabrice Bernhard

February 29, 2024

Bridging the gap between manufacturing and software, Theodo cofounder and CTO Fabrice Bernhard, explains the company’s transformative journey of applying Toyota's dantotsu quality methods to software engineering. Learn how these methods can reshape the standards of software development and drastically reduce code defects.

FacebookTweetLinkedInPrintComment

Be among the first to get the latest insights from LEI’s Lean Product and Process Development (LPPD) thought leaders and practitioners. This article was delivered to subscribers of The Design Brief, LEI’s newsletter devoted to improving organizations’ innovation capability.

Subscribe now

Software is eating the world. That means the software industry cannot keep producing the estimated average of 10 defects per 1,000 lines of code. 

One solution is to adopt the standards of the aerospace industry. The software engineering team for the space shuttle produced one defect in 400,000 lines of code, a 4000x better quality standard. But at what cost? Their processes include writing four pages of specifications for every ten lines of code. This is not a scalable approach to writing the volume of software the world requires.

Looking for alternative solutions to achieve quality and scale, we stumbled upon Sadao Nomura’s book The Toyota Way of Dantotsu Radical Quality Improvement, where he describes his incredible quality achievements at Toyota Logistics & Forklift (TL&F).

Sadao Nomura had been at Toyota Motor Corporation since 1965 when executives assigned him to improve quality at TL&F in 2006. It was not his first time leading quality improvement programs; he had successfully turned around a GM plant in Australia and helped Toyota South Africa achieve the quality levels Toyota HQ needed to authorize global export. He did everything from the inside, building strong relationships with teams over many years. 

At TL&F, he served as an advisor to seven plants across five countries, most of which the company had recently acquired. He started the typical lean way by frequently going to see at the gemba. He captured his problem-solving insights on A3s and shared them with management. But no change happened. It seemed no one was paying attention to his advice. It didn’t help that the plants’ quality was relatively good compared to industry standards. 

Nomura tried twice more to share his wisdom without success. After the third attempt failed and a year passed, he changed his strategy to make sure quality would become a priority for everyone. With support from headquarters, he created a program called “Dantotsu Quality Activities.” Dantotsu is a Japanese term that means “extreme,” “radical,” or “unparalleled.” The program aimed to motivate and train workers to achieve the ambitious goal of halving defects yearly. Through relentless adherence to dantotsu activities, the team should reach the three-year target of reducing defects by 88 percent.

Teams on the ground had seen quality programs fail before, so they only half-trusted this new one. However, they realized the need for something different, and Nomura’s dantotsu approach was decidedly different. By obsessively focusing on improving quality, he finally brought change to the factories. After eight years, the seven plants reduced defects between 91-98 percent. Raymond Corporation, the U.S. plant, won the “Best Plant Award” from Industry Week magazine.

Nomura’s story is about improving quality in manufacturing plants. Nonetheless, it inspired Theodo to adopt a right-first-time approach in software engineering. Here are three ideas we took from the book and transposed to software. 

A new approach to measuring defects

The way to improve quality is straightforward – decrease the number of defects. But the simplest way to decrease the number of defects is to expend less effort looking for them. To avoid this, Nomura categorizes issues by detection stage and emphasizes not reducing the number of defects but detecting them as early as possible in production. We applied this to software engineering with the following detection stages:

  • Stage A if it was detected by the developer in a final review before pushing the code;
  • Stage B if it was detected by someone else on the team or by the continuous integration pipeline before reaching an internal customer;
  • Stage C if it was detected after reaching an internal customer (product owner, QA, etc.) and before pushing to production;
  • Stage D if it was detected after pushing to production, where it could have affected an external customer, and before receiving a complaint;
  • Stage E if it resulted in a customer complaint.

This categorization provides a healthy target. Teams strive to detect defects in stages A and B before they affect end-users. It is also easier and cheaper to fix defects in these stages. By doing so, teams can avoid defects in stages D and E before they impact end-users. This is known as a shift-left approach.

Systematically analyzing defects

By having a systematic approach to analyzing the defects they produce, teams can quickly identify the source of quality problems and how to prevent them. It also helps the team leaders frame the quality challenge as a learning opportunity. Analyzing defects reveals knowledge gaps that can then be addressed with training.

Software’s Quality Leap: Three Lessons from Toyota’s Dantotsu Approach to Reduce Defects at Scale at Theodo
Example of a dantotsu analysis at Theodo.

Nomura’s book has significantly improved our approach to analyzing defects, including settling an old debate about whether to focus on preventing a defect or detecting it earlier. Nomura’s answer is straightforward: we should analyze both how the team could have prevented the defect and how they could have detected it earlier. 

Adoption of weak point management

By systematically analyzing defects, teams start to see patterns and identify categories of causes. Nomura calls these “weak points.” Once teams clarify weak points, they can choose one to address and eradicate once and for all. 

For example, we had been suffering for quite some time from intermittent failures in the automated testing of our code. These were not related to underlying issues in our code but to deeper issues in the Jest open-source testing library we were using. The teams had dismissed them as “unavoidable flakiness.” Since it was a known problem affecting many of our teams and others worldwide, we decided to investigate further. It was a hard problem to solve. But with focused effort, we devised a permanent fix, which we contributed to the open-source library. The problem is now permanently solved not only for our teams but for all the library’s other users, not to mention the energy savings that would result from preventing millions of wasted CPU cycles.

After two years of deploying such learnings across Theodo, 80 percent of our projects now measure the number of defects categorized by detection stages A to E. We have refined a standard for effectively analyzing those defects to help tech leads adopt it within their teams. And we are working on making defect analysis part of the team’s routine to accelerate their learning and identify the recurring problems that would benefit from an organizational solution.

A few teams are even experimenting with systematic defect analysis at Stage A. Teams mark a code contribution as defective if it fails at the first human check. This is an original approach, as engineers code iteratively with multiple rounds of writing code and visually checking that it works. But those teams decided to aim for right-first-time code. The results are promising. One team built a medical application with 6,000 lines of code and delivered only two defects in production. That’s 30 times less than the industry average without having to document every line of code over hundreds of pages.

We are still early in our journey of transposing Sadao Nomura’s book to software, but seeing such dramatic improvements has been inspiring. It is another example of how lean is an indispensable source of learning – no matter the industry – when it comes to achieving quality at scale.

Download the latest issue of the Design Brief.

Design Brief Quality issue
FacebookTweetLinkedInPrintComment

Designing the Future

An Introduction to Lean Product and Process Development.

Written by:

Fabrice Bernhard

About Fabrice Bernhard

Fabrice Bernhard is the coauthor of The Lean Tech Manifesto and the CTO of Theodo, a leading technology consultancy he cofounded with Benoît Charles-Lavauzelle and scaled from $1 million in revenue and 10 people in 2012 to $100 million in revenue and 700 people in 2022.  

Fabrice is an expert in technology and large-scale transformations and contributed to multiple startups scaling more sustainably with Lean thinking. He has been invited to share his experience at international conferences, including the Lean Digital Summit, DevopsDays, and CraftConf. He is the cofounder of the Paris Devops meetup and an active YPO member. He studied at École Polytechnique and ETH Zürich and lives in London with his two sons. 

Leave a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Related

Agile vs Lean Product and Process Development

Product & Process Development

How to Launch Better Products Faster

Article by Lean Leaper

Lean Product and Process Development at Scale: Implementing Obeya Across Global Teams

Product & Process Development

Lean Product and Process Development at Scale: Implementing Obeya Across Global Teams

Article by Steve Shoemaker 

craftsmanship

Product & Process Development

Pursuing Perfection: Craftsmanship in Product Development

Article by James Morgan, PhD

Related books

The Power of Process book cover

The Power of Process – A Story of Innovative Lean Process Development

by Eric Ethington and Matt Zayko

Welcome Problems, Find Success – Creating Toyota Cultures Around the World

Welcome Problems, Find Success – Creating Toyota Cultures Around the World

by Nate Furuta

Related events

September 23, 2024 | Coach-Led Online Course

Designing the Future

Learn more

Online – On-Demand, Self-Paced

Lean Fundamentals Bundle

Learn more

Explore topics

Product and Process Development graphic icon Product & Process Development
  • Privacy Policy
  • Sitemap
  • LinkedIn
  • Twitter
  • YouTube
  • Instagram
  • Facebook

©Copyright 2000-2024 Lean Enterprise Institute, Inc. All rights reserved.
Lean Enterprise Institute, the leaper image, and stick figure are registered trademarks of Lean Enterprise Institute, Inc.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Learn More. ACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT