Skip to content

refactor(operator-trend): collapse refresh-recovery hotspot selectors onto a parametrized base (T3-2 phase 7b)#92

Merged
saagpatel merged 1 commit into
mainfrom
refactor/resolution-trend-collapse-refresh-hotspots
Jun 20, 2026
Merged

refactor(operator-trend): collapse refresh-recovery hotspot selectors onto a parametrized base (T3-2 phase 7b)#92
saagpatel merged 1 commit into
mainfrom
refactor/resolution-trend-collapse-refresh-hotspots

Conversation

@saagpatel

Copy link
Copy Markdown
Owner

refactor(operator-trend): collapse refresh-recovery hotspot selectors onto a parametrized base (T3-2 phase 7b)

Collapse the 3 reset-reentry refresh-recovery hotspot selectors (rebuild /
restore / rerestore) in operator_resolution_trend.py onto one
_refresh_hotspots_base + _RefreshHotspotsSpec + 3 specs. They were exact
structural clones differing only in the per-tier score/status/path keys and
the confirmation / clearance status sets.

Proven byte-identical by an exhaustive branch differential (real vs base+spec
over a 9-class grouping/filter/sort/cap corpus across both modes per tier);
full suite is the integration backstop (no composer golden covers this file).

Net -114 lines. pytest 2539 passed / 2 skipped; mypy clean; ruff clean.

… onto a parametrized base (T3-2 phase 7b)

Collapse the 3 reset-reentry refresh-recovery hotspot selectors (rebuild /
restore / rerestore) in operator_resolution_trend.py onto one
`_refresh_hotspots_base` + `_RefreshHotspotsSpec` + 3 specs. They were exact
structural clones differing only in the per-tier score/status/path keys and
the confirmation / clearance status sets.

Proven byte-identical by an exhaustive branch differential (real vs base+spec
over a 9-class grouping/filter/sort/cap corpus across both modes per tier);
full suite is the integration backstop (no composer golden covers this file).

Net -114 lines. pytest 2539 passed / 2 skipped; mypy clean; ruff clean.
@saagpatel saagpatel merged commit 4337ba1 into main Jun 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant