mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-14 21:30:57 +01:00
Each file split at a class or concern boundary, never mechanically: test_arbiter.py 432 -> 222 + _lifecycle 183 + _release 201 test_outputs.py 418 -> 187 + _randr 204 + _enumerator 126 test_scrollable.py 374 -> 231 + _into_view 197 test_escape.py 343 -> 175 + _budget 216 test_window_surfaces 341 -> 110 + _lifecycle 104 + _preempt 182 test_surfaces.py 282 -> 167 + _focus 154 test_window.py 269 -> 143 + _grab 139 Test counts verified against a clean HEAD worktree, per file group rather than in aggregate: arbiter 49/49, outputs+escape 84/84, window+surfaces 72/72, scrollable 18/18. The whole suite is 389 passed at 100% branch coverage, identical to before. The one non-mechanical part: _reply/_randr_display are module-level helpers defined *between* classes, so they did not travel with the header and had to be moved to the RandR file by hand — six tests failed until they did. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CFSGeWxHPY5rHUGrPqhcmG |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| _arbiter.py | ||
| _arming.py | ||
| _config.py | ||
| _density.py | ||
| _detect.py | ||
| _escape.py | ||
| _fitcheck.py | ||
| _guards.py | ||
| _hooks.py | ||
| _keyboard.py | ||
| _outputs.py | ||
| _preempt.py | ||
| _queue.py | ||
| _recovery.py | ||
| _root.py | ||
| _scrollable.py | ||
| _scrollfit.py | ||
| _scrollkeys.py | ||
| _surfaces.py | ||
| _userintent.py | ||
| _vt.py | ||
| _window.py | ||
| log_integrity.py | ||
| widget_group.py | ||
| widgets.py | ||