A personal collection of Python scripts and utilities built during 17+ years of QA automation work at Samsung R&D Institute India. Covers Android ADB automation, camera quality metrics, memory leak detection, and test data processing.
adb_device_monitor.py β Monitor multiple devices, auto-reconnect on drop
adb_memory_tracker.py β Track PSS/RSS memory over test iterations
adb_crash_parser.py β Parse tombstone files, extract crash signatures
adb_logcat_filter.py β Filter logcat by tag, priority, package name
ssim_calculator.py β SSIM score between two images
psnr_calculator.py β PSNR measurement for image fidelity
color_accuracy.py β ΞE2000 color difference vs Macbeth chart
exif_reader.py β Extract EXIF data (ISO, shutter, focal length)
defect_trend_analyzer.py β Sprint-wise defect trend visualization
duplicate_detector.py β Find duplicate defects by NLP similarity
severity_classifier.py β Auto-classify S1/S2/S3/S4 from description
test_data_generator.py β Generate bulk test data (users, products, etc.)
csv_to_json.py β Convert test data formats
fixture_builder.py β Build pytest/Jest fixtures from Excel
# Clone
git clone https://github.com/vanichalla24/vanipython.git
cd vanipython
# Install dependencies
pip install -r requirements.txt
# Run any script
python adb_memory_tracker.py --device emulator-5554 --package com.samsung.camera --iterations 20# Tracks PSS memory over N iterations
# Flags if growth > threshold (default 50MB)
python adb_memory_tracker.py \
--device emulator-5554 \
--package com.samsung.camera \
--iterations 50 \
--threshold 50# Compare two images for structural similarity
python ssim_calculator.py \
--reference reference_image.jpg \
--test captured_image.jpg
# Output: SSIM Score: 0.943 (PASS β threshold 0.90)Vaani Challa β QA Architect | Samsung SRIB | 17+ Years Android Β· Camera Β· ISP Pipeline Β· Python Β· ADB
MIT Β© Vaani Challa