Run every drift-coverage check. Each helper surfaces one class of drift. All diagnostics route through the module-level ``_DIAGS_BUFFER.pending`` collector and flush once at the end of ``collect_all_writes``.
(schema: Dict[str, Any], rules: Dict[str, Any],
mjspec: Optional[Dict[str, Any]])
| 917 | f"mapping: {missing[:5]}{'...' if len(missing) > 5 else ''}. Add to " |
| 918 | f"ue_member_from_mj or exclude_mj_members.", |
| 919 | source="enum_drift", |
| 920 | ) |
| 921 | |
| 922 | |
| 923 | def _emit_drift_diagnostics(schema: Dict[str, Any], rules: Dict[str, Any], |
| 924 | mjspec: Optional[Dict[str, Any]]) -> None: |
| 925 | """Run every drift-coverage check. Each helper surfaces one class |
| 926 | of drift. All diagnostics route through the module-level |
| 927 | ``_DIAGS_BUFFER.pending`` collector and flush once at the end of |
| 928 | ``collect_all_writes``.""" |
| 929 | _check_top_level_elements_coverage(schema, rules) |
| 930 | _check_actuator_subtypes_coverage(schema, rules) |
| 931 | _check_sensor_subtypes_coverage(schema, rules) |
| 932 | _check_setto_param_coverage(schema, rules, mjspec) |
| 933 | _check_mjs_struct_field_drift(schema, rules, mjspec) |
no test coverage detected