# krishnamurthybusam/battery-manufacturing-statistics architecture

> Architecture diagram of the GitHub repository krishnamurthybusam/battery-manufacturing-statistics, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/krishnamurthybusam/battery-manufacturing-statistics
- Repository: https://github.com/krishnamurthybusam/battery-manufacturing-statistics

## Overview

This repository is an educational statistical process-engineering project for lithium-ion cell manufacturing, organized as an end-to-end Six Sigma DMAIC case study. Engineers follow eight notebooks from framing critical-to-quality measures through gauge qualification, process monitoring and capability, analysis of causes, experiment-driven improvement, and control; the capstone also applies the toolkit to semiconductor data. Reusable statistical engines live in src/. The graph reflects README-described capabilities and indexed notebook imports; unsampled notebook sections limit detail on some internal calls.

Main entry points: [`notebooks/08_dmaic_capstone_and_semiconductor.py`](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/08_dmaic_capstone_and_semiconductor.py) (DMAIC capstone), [`notebooks/03_statistical_process_control.py`](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/03_statistical_process_control.py) (Process control), [`notebooks/06_design_of_experiments.py`](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/06_design_of_experiments.py) (Design experiments), [`notebooks/07_root_cause_and_fmea.py`](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/07_root_cause_and_fmea.py) (Root cause FMEA)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dmaic["DMAIC learning workflow"]
  node_nb01["DMAIC fundamentals"]
  node_nb02["Gauge qualification"]
  node_nb03["Process control"]
  node_nb04["Process capability"]
  node_nb05["Hypothesis analysis"]
  node_nb06["Design experiments"]
  node_nb07["Root cause FMEA"]
  node_nb08["DMAIC capstone"]
end

subgraph group_engines["Statistical engines"]
  node_msa["Gauge R&amp;R<br/>[msa.py]"]
  node_spc["Control charts<br/>[spc.py]"]
  node_capability["Capability analysis<br/>[capability.py]"]
  node_hypothesis["Statistical tests<br/>[hypothesis.py]"]
  node_doe["Factorial analysis<br/>[doe.py]"]
  node_rca["Pareto and FMEA<br/>[rca.py]"]
end

subgraph group_support["Data and presentation"]
  node_datagen["Manufacturing data generators<br/>[datagen.py]"]
  node_plotting["Charts and styling<br/>[plotting.py]"]
  node_reporting["Project report writer<br/>[reporting.py]"]
  node_batterydata[("Battery line datasets")]
  node_secomdata[("SECOM dataset")]
  node_projectreport["DMAIC project report"]
end

node_engineer(("Process engineer"))

node_engineer -->|"starts with"| node_nb01
node_nb01 -->|"continues to"| node_nb02
node_nb02 -->|"continues to"| node_nb03
node_nb03 -->|"continues to"| node_nb04
node_nb04 -->|"continues to"| node_nb05
node_nb05 -->|"continues to"| node_nb06
node_nb06 -->|"continues to"| node_nb07
node_nb07 -->|"continues to"| node_nb08
node_nb02 -->|"uses"| node_msa
node_nb03 -->|"uses"| node_spc
node_nb04 -->|"uses"| node_capability
node_nb05 -->|"uses"| node_hypothesis
node_nb06 -->|"uses"| node_doe
node_nb07 -->|"uses"| node_rca
node_nb08 -->|"uses"| node_spc
node_nb08 -->|"uses"| node_capability
node_nb08 -->|"uses"| node_hypothesis
node_nb08 -->|"calls"| node_reporting
node_capability -->|"gets chart constants"| node_spc
node_nb01 -->|"uses"| node_plotting
node_nb03 -->|"uses"| node_plotting
node_nb06 -->|"generates data"| node_datagen
node_nb07 -.->|"generates data"| node_datagen
node_datagen -.->|"creates datasets"| node_batterydata
node_nb08 -->|"analyzes"| node_secomdata
node_nb08 -->|"writes"| node_projectreport

click node_nb01 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/01_fundamentals_and_dmaic.py"
click node_nb02 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/02_measurement_system_analysis.py"
click node_nb03 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/03_statistical_process_control.py"
click node_nb04 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/04_process_capability.py"
click node_nb05 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/05_hypothesis_testing_and_anova.py"
click node_nb06 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/06_design_of_experiments.py"
click node_nb07 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/07_root_cause_and_fmea.py"
click node_nb08 "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/08_dmaic_capstone_and_semiconductor.py"
click node_msa "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/msa.py"
click node_spc "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/spc.py"
click node_capability "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/capability.py"
click node_hypothesis "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/hypothesis.py"
click node_doe "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/doe.py"
click node_rca "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/rca.py"
click node_datagen "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/datagen.py"
click node_plotting "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/plotting.py"
click node_reporting "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/reporting.py"
click node_batterydata "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/tree/master/data"
click node_secomdata "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/tree/master/data/secom"
click node_projectreport "https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/reports/08_dmaic_project_report.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_nb01,node_nb02,node_nb03,node_nb04,node_nb05,node_nb06,node_nb07,node_nb08 toneBlue
class node_msa,node_spc,node_capability,node_hypothesis,node_doe,node_rca toneAmber
class node_datagen,node_plotting,node_reporting,node_batterydata,node_secomdata,node_projectreport toneMint
class node_engineer toneIndigo
```

## Components

### DMAIC learning workflow

- [DMAIC fundamentals](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/01_fundamentals_and_dmaic.py): `notebooks/01_fundamentals_and_dmaic.py`
- [Gauge qualification](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/02_measurement_system_analysis.py): `notebooks/02_measurement_system_analysis.py`
- [Process control](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/03_statistical_process_control.py): `notebooks/03_statistical_process_control.py`
- [Process capability](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/04_process_capability.py): `notebooks/04_process_capability.py`
- [Hypothesis analysis](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/05_hypothesis_testing_and_anova.py): `notebooks/05_hypothesis_testing_and_anova.py`
- [Design experiments](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/06_design_of_experiments.py): `notebooks/06_design_of_experiments.py`
- [Root cause FMEA](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/07_root_cause_and_fmea.py): `notebooks/07_root_cause_and_fmea.py`
- [DMAIC capstone](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/notebooks/08_dmaic_capstone_and_semiconductor.py): `notebooks/08_dmaic_capstone_and_semiconductor.py`

### Statistical engines

- [Gauge R&R](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/msa.py): `src/msa.py`
- [Control charts](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/spc.py): `src/spc.py`
- [Capability analysis](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/capability.py): `src/capability.py`
- [Statistical tests](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/hypothesis.py): `src/hypothesis.py`
- [Factorial analysis](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/doe.py): `src/doe.py`
- [Pareto and FMEA](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/rca.py): `src/rca.py`

### Data and presentation

- [Manufacturing data generators](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/datagen.py): `src/datagen.py`
- [Charts and styling](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/plotting.py): `src/plotting.py`
- [Project report writer](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/src/reporting.py): `src/reporting.py`
- [Battery line datasets](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/tree/master/data): `data`
- [SECOM dataset](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/tree/master/data/secom): `data/secom`
- [DMAIC project report](https://github.com/krishnamurthybusam/battery-manufacturing-statistics/blob/master/reports/08_dmaic_project_report.md): `reports/08_dmaic_project_report.md`

### Other components

- **Process engineer**

## Connections

- Process engineer → DMAIC fundamentals: starts with (evidence: `README.md`)
- DMAIC fundamentals → Gauge qualification: continues to (evidence: `README.md`)
- Gauge qualification → Process control: continues to (evidence: `README.md`)
- Process control → Process capability: continues to (evidence: `README.md`)
- Process capability → Hypothesis analysis: continues to (evidence: `README.md`)
- Hypothesis analysis → Design experiments: continues to (evidence: `README.md`)
- Design experiments → Root cause FMEA: continues to (evidence: `README.md`)
- Root cause FMEA → DMAIC capstone: continues to (evidence: `README.md`)
- Gauge qualification → Gauge R&R: uses (evidence: `notebooks/02_measurement_system_analysis.py`)
- Process control → Control charts: uses (evidence: `notebooks/03_statistical_process_control.py`)
- Process capability → Capability analysis: uses (evidence: `notebooks/04_process_capability.py`)
- Hypothesis analysis → Statistical tests: uses (evidence: `notebooks/05_hypothesis_testing_and_anova.py`)
- Design experiments → Factorial analysis: uses (evidence: `notebooks/06_design_of_experiments.py`)
- Root cause FMEA → Pareto and FMEA: uses (evidence: `notebooks/07_root_cause_and_fmea.py`)
- DMAIC capstone → Control charts: uses (evidence: `notebooks/08_dmaic_capstone_and_semiconductor.py`)
- DMAIC capstone → Capability analysis: uses (evidence: `notebooks/08_dmaic_capstone_and_semiconductor.py`)
- DMAIC capstone → Statistical tests: uses (evidence: `notebooks/08_dmaic_capstone_and_semiconductor.py`)
- DMAIC capstone → Project report writer: calls (evidence: `notebooks/08_dmaic_capstone_and_semiconductor.py`)
- Capability analysis → Control charts: gets chart constants (evidence: `src/capability.py`)
- DMAIC fundamentals → Charts and styling: uses (evidence: `notebooks/01_fundamentals_and_dmaic.py`)
- Process control → Charts and styling: uses (evidence: `notebooks/03_statistical_process_control.py`)
- Design experiments → Manufacturing data generators: generates data (evidence: `notebooks/06_design_of_experiments.py`)
- Root cause FMEA → Manufacturing data generators: generates data (evidence: `notebooks/07_root_cause_and_fmea.py`)
- Manufacturing data generators → Battery line datasets: creates datasets
- DMAIC capstone → SECOM dataset: analyzes (evidence: `README.md`)
- DMAIC capstone → DMAIC project report: writes (evidence: `notebooks/08_dmaic_capstone_and_semiconductor.py`)
