src.dackar.RCA.pm_compliance.config =================================== .. py:module:: src.dackar.RCA.pm_compliance.config .. autoapi-nested-parse:: Configuration for the PM Compliance Verification module. Classes ------- .. autoapisummary:: src.dackar.RCA.pm_compliance.config.PMComplianceConfig Module Contents --------------- .. py:class:: PMComplianceConfig Tuning parameters for schedule vs. execution analysis and reporting. .. py:attribute:: look_back_window_days :type: int :value: 730 Window [event - N days, event] for CMMS PM / WO history (export / API phase). .. py:attribute:: effectiveness_lookback_cycles :type: int :value: 3 How many past PM cycles to read for as-found / degradation trend. .. py:attribute:: pm_frequency_concern_ratio :type: float :value: 0.5 Flag PM frequency concern when pm_interval > ratio * mean_failure_interval (advisory). .. py:attribute:: data_dir :type: Optional[pathlib.Path] :value: None Path to the DACKAR data directory containing health-status keyword CSVs. When set, ``analyze_degradation`` and ``compute_pm_found_defect_rate`` use the curated vocabulary files (``health_status_keywords_negative/positive.csv``). When ``None``, the original hardcoded stem fallback is used.