Currently _run_detectors() in _resource.py has a hardcoded if branch for each supported detector type. As more detectors are added, this pattern becomes repetitive.
A follow-up to generalise the loading logic — e.g. iterating over detector_config fields and loading detectors by name (including out-of-source/contrib detectors) — would make the code easier to extend.
Raised in: #5004 (comment)