How anmolghost6789/modelguard-ai works
ModelGuard-AI is a research system for label-free prediction of tabular model failures from quality, distribution-shift, and uncertainty telemetry. Users explore benchmark or uploaded data in the dashboard; the core framework builds telemetry and estimates risk, while batch experiments evaluate detectors across datasets and produce research results. The repository also documents a serial preprocessing, telemetry-extraction, experiment, and figure-generation workflow. Edges reflect excerpted calls, indexed module references, or README statements; unsampled pipeline internals are not inferred.
Main entry points: run_batch_experiments.py Batch experiments · failure_framework.py Failure framework · dashboard_app.py Interactive dashboard · data_pipeline.py Ingestion and splits
Components 16
Data preparation
- Benchmark datasets
01_Raw_Datasets - Processed splits
02_Processed_Datasets - Ingestion and splits
03_Source_Code/src/data_pipeline.py - Dataset profiling
03_Source_Code/src/data_profiler.py
Telemetry signals
- Quality telemetry
03_Source_Code/src/data_quality.py - Shift detection
03_Source_Code/src/drift_detector.py - Prediction uncertainty
03_Source_Code/src/uncertainty.py - Stress generation
03_Source_Code/src/stress_engine.py
Failure prediction
- Literature baselines
03_Source_Code/src/failure_baselines.py - Failure framework
03_Source_Code/src/failure_framework.py
User and research workflows
- Interactive dashboard
03_Source_Code/dashboard/dashboard_app.py - Batch experiments
04_Experiments/run_batch_experiments.py - Research pipeline
03_Source_Code/pipeline - Saved models
04_Experiments/saved_models - Experiment results
05_Results
Other components
- Researcher
Connections 27
- Researcher → Interactive dashboard: explores
README.md - Researcher → Batch experiments: runs
README.md - Benchmark datasets → Ingestion and splits: loads
- Ingestion and splits → Processed splits: exports splits
- Interactive dashboard → Ingestion and splits: uses
03_Source_Code/dashboard/dashboard_app.py - Interactive dashboard → Dataset profiling: uses
03_Source_Code/dashboard/dashboard_app.py - Interactive dashboard → Quality telemetry: uses
03_Source_Code/dashboard/dashboard_app.py - Interactive dashboard → Shift detection: uses
03_Source_Code/dashboard/dashboard_app.py - Interactive dashboard → Failure framework: uses
03_Source_Code/dashboard/dashboard_app.py - Interactive dashboard → Stress generation: uses
03_Source_Code/dashboard/dashboard_app.py - Failure framework → Ingestion and splits: uses
03_Source_Code/src/failure_framework.py - Failure framework → Quality telemetry: computes
03_Source_Code/src/failure_framework.py - Failure framework → Shift detection: measures
03_Source_Code/src/failure_framework.py - Failure framework → Literature baselines: scores
03_Source_Code/src/failure_framework.py - Failure framework → Stress generation: uses
03_Source_Code/src/failure_framework.py - Failure framework → Prediction uncertainty: summarizes
03_Source_Code/src/failure_framework.py - Batch experiments → Ingestion and splits: loads datasets
04_Experiments/run_batch_experiments.py - Batch experiments → Quality telemetry: uses
04_Experiments/run_batch_experiments.py - Batch experiments → Shift detection: uses
04_Experiments/run_batch_experiments.py - Batch experiments → Literature baselines: benchmarks
04_Experiments/run_batch_experiments.py - Batch experiments → Failure framework: evaluates
04_Experiments/run_batch_experiments.py - Batch experiments → Stress generation: uses
04_Experiments/run_batch_experiments.py - Batch experiments → Prediction uncertainty: uses
04_Experiments/run_batch_experiments.py - Batch experiments → Experiment results: writes
04_Experiments/run_batch_experiments.py - Research pipeline → Processed splits: prepares
README.md - Research pipeline → Experiment results: generates
README.md - Batch experiments → Saved models: saves models