* Add explicit selection helpers * improve typing in detection metrics and update pre-commit dependencies - Add explicit type annotation for `panel_array` in `_draw_panel` function. - Update `.pre-commit-config.yaml` to include `tomli>=2.0.1` as an additional dependency for `pyproject-fmt`. --------- Co-authored-by: Codex <codex@openai.com>