Skip to content

vanichalla24/isp_defect_predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 

Repository files navigation

๐Ÿ”ฎ ISP Defect Predictor

AI-Powered Defect Prediction for Camera & ISP Quality Programs

Analyzes historical defect data โ†’ Predicts risk areas โ†’ Prevents escapes before they happen

๐Ÿ“– How It Works ยท ๐Ÿš€ Quick Start ยท ๐Ÿ“Š Features


๐Ÿ“Œ What Is This?

The ISP Defect Predictor is an AI-powered quality intelligence tool built for Samsung camera and ISP (Image Signal Processing) programs. It ingests historical defect data from previous Galaxy flagship releases and predicts where defects are most likely to occur in the current or future program.

Built from 13 consecutive Samsung Galaxy flagship releases (S22 โ†’ S26) with zero S1 escapes.


๐ŸŽฏ Problem It Solves

Without This Tool With This Tool
Defects found late in cycle Risks identified at sprint start
Same components fail repeatedly Pattern recognition prevents repeat failures
Manual triage of 500+ test cases AI-ranked test priority list
Reactive QA (find & fix) Predictive QA (prevent & protect)

โš™๏ธ How It Works

Historical Defect Data (CSV/JSON)
         โ†“
   Data Analysis Engine
   โ”€ Defect density per component
   โ”€ Severity distribution (S1/S2/S3/S4)
   โ”€ Repeat failure patterns
   โ”€ Sprint-over-sprint trend
         โ†“
   AI Prediction Model
   โ”€ Risk score per component (0-100)
   โ”€ Predicted defect count
   โ”€ High-risk test areas flagged
         โ†“
   Output Report
   โ”€ Risk heatmap by component
   โ”€ Top 10 high-risk areas
   โ”€ Recommended test coverage boost
   โ”€ Executive summary for Director review

๐Ÿ“Š Features

  • ๐Ÿ“ˆ Defect Trend Analysis โ€” Sprint-wise defect velocity tracking
  • ๐ŸŽฏ Component Risk Scoring โ€” ISP pipeline components ranked by risk (0โ€“100)
  • ๐Ÿ” Repeat Failure Detection โ€” Identifies components with recurring defects
  • ๐Ÿ“‹ Test Prioritization โ€” Recommends which test suites to run first
  • ๐Ÿ“Š Severity Distribution โ€” S1/S2/S3/S4 breakdown per component
  • ๐Ÿค– AI Root Cause Clustering โ€” Groups similar defects automatically
  • ๐Ÿ“„ Executive Report โ€” Director-level summary with actionable recommendations

๐Ÿ—๏ธ Architecture

isp_defect_predictor/
โ”‚
โ”œโ”€โ”€ data/
โ”‚   โ”œโ”€โ”€ historical_defects.csv    โ† Input: past defect data
โ”‚   โ””โ”€โ”€ component_map.json        โ† ISP component definitions
โ”‚
โ”œโ”€โ”€ engine/
โ”‚   โ”œโ”€โ”€ analyzer.py               โ† Defect pattern analysis
โ”‚   โ”œโ”€โ”€ predictor.py              โ† Risk score calculation
โ”‚   โ””โ”€โ”€ reporter.py               โ† Report generation
โ”‚
โ”œโ”€โ”€ output/
โ”‚   โ”œโ”€โ”€ risk_heatmap.html         โ† Visual risk map
โ”‚   โ””โ”€โ”€ executive_report.pdf      โ† Director-level summary
โ”‚
โ”œโ”€โ”€ tests/
โ”‚   โ””โ”€โ”€ test_predictor.py         โ† Unit tests
โ”‚
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md

๐Ÿš€ Quick Start

# Clone
git clone https://github.com/vanichalla24/isp_defect_predictor.git
cd isp_defect_predictor

# Install
pip install -r requirements.txt

# Add your defect data
cp your_defects.csv data/historical_defects.csv

# Run prediction
python engine/predictor.py

# View report
open output/risk_heatmap.html

๐Ÿ“ฅ Input Format

defect_id,component,severity,sprint,description,status
DEF-001,Camera_HAL,S1,Sprint_42,AF fails in low light,Closed
DEF-002,ISP_Pipeline,S2,Sprint_42,Color shift in Pro mode,Closed
DEF-003,Night_Mode,S1,Sprint_43,Overexposure on main cam,Open

๐Ÿ“ค Output Sample

๐Ÿ”ด HIGH RISK (Score 85/100)  โ†’ Camera HAL3 Layer
๐Ÿ”ด HIGH RISK (Score 78/100)  โ†’ ISP Night Mode Pipeline
๐ŸŸก MEDIUM RISK (Score 54/100) โ†’ 3A Algorithm (AE/AWB/AF)
๐ŸŸข LOW RISK (Score 22/100)   โ†’ Gallery Rendering

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Vaani Challa โ€” QA Architect | Samsung SRIB | 17+ Years 13 Galaxy flagship releases ยท Zero S1 escapes ยท Dual Best Award (S25 + S26)


๐Ÿ“„ License

MIT ยฉ Vaani Challa

About

๐Ÿ”ฎ AI-powered defect prediction tool for Camera & ISP quality programs โ€” analyzes historical defects and predicts risk areas in current/future Samsung Galaxy releases

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors