testsAndMisc/python_pkg
Krzysztof kuhy Rudnicki 8067225ec4 steam_backlog_enforcer: only prompt next pick after game is finished
Replaces the auto-reassign-to-shorter-game logic (which fired while the
current game was still in progress) with a strict workflow:

1. Check if assigned game is finished.
2. If not, do nothing.
3. If yes, pick the next shortest game and prompt the user.
4. If the user skips, ignore that game for 7 days and pick the next
   shortest candidate.

Changes:
- State: add skipped_until + skip_for_days + active_skipped_ids.
- scanning.pick_next_game: optional on_select callback drives a
  sequential picker that filters skipped IDs; legacy cmd_pick flow
  preserved when on_select is None.
- _cmd_done._finalize_completion: pick + prompt via on_select.
- _cmd_done: remove _try_reassign_shorter_game and helpers
  (_apply_cached_confidence_to_games, _should_reassign_candidate,
  _echo_reassign_decision, _evaluate_reassign_iteration) plus call
  site in cmd_done.
- Tests: drop obsolete _try_reassign_shorter_game suite; add
  TestPromptKeepOrSkip, TestPickNextGameSequential, and State
  skipped_until tests.
2026-05-23 21:19:44 +02:00
..
brother_printer Reduce per-file-ignores by fixing lint violations across codebase 2026-03-25 18:58:05 +01:00
random_jpg feat: added run sh and makefile scripts 2026-02-22 22:00:50 +01:00
screen_locker Split modules, fix tests, fix pre-commit batching 2026-05-22 22:48:28 +02:00
shared Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00
steam_backlog_enforcer steam_backlog_enforcer: only prompt next pick after game is finished 2026-05-23 21:19:44 +02:00
tests refactor: move Python packages under python_pkg/ 2026-03-18 22:54:45 +01:00
wake_alarm wake_alarm: Tapo P110 plug control, fan ramp via sudo, loud warnings 2026-05-23 19:51:26 +02:00
__init__.py feat(screen_locker): harden table tennis verification, remove running option 2026-02-02 21:38:52 +01:00
.gitignore screen_locker: enhance workout logging and UI 2025-12-02 23:22:13 +01:00
conftest.py test: achieve 100% branch coverage across all python_pkg packages 2026-03-21 17:51:36 +01:00