You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nightshift] Remove dead code and deduplicate helpers in decon.py (#4086)
> *Stale branches pruned clean,*
> *shared roots drink from one well —*
> *less code, same harvest.*
## Summary
- **Removed dead `_init_wandb` function** from `decon.py` — defined in
Dec 2025 but never called from anywhere in the codebase. This also
removes its now-unused imports: `wandb`, `datetime`, `timezone`,
`WANDB_PROJECT`, `WANDB_ENTITY`.
- **Deduplicated `_collect_input_files` and `_get_extension`** — both
were copy-pasted into `decon.py` from `dedup_commons.py` with
near-identical logic. Now `decon.py` imports and reuses the shared
implementations in `dedup_commons.py`, using `DEFAULT_FILETYPES` for the
file type list.
Net result: **−59 lines, +9 lines** (−50 net), no behavior change.
0 commit comments