Implement detect_feature_drift(reference_data, production_data, num_bins=10) that quantifies distribution shift between a reference and a production sample with the Population Stability Index (PSI).
Binning:
num_bins equal-width bins spanning of the two lists combined (edges evenly spaced from the global minimum to the global maximum).
Return a dictionary:
psi: the PSI as a float rounded to 4 decimal placesdrift_detected: True if PSI drift_level: 'none' (PSI ), 'moderate' ( PSI ) or 'significant' (PSI )Edge cases: if either list is empty return {}; if all values in both lists are identical return {'psi': 0.0, 'drift_detected': False, 'drift_level': 'none'}.