utils/earned_time/earned_time
Krzysztof kuhy Rudnicki c29d0989dd Clear inherited CI debt in the Python libs
main was red on file length, the noqa ban, codespell, test naming and
dart coverage; this change touches every one of those jobs.

- sickdays: set_enabled is keyword-only; the panel test splits in two
  with shared probes; the sync wire format moves to DOCS-sync.md.
- earned_time: _focus types the project as a Protocol, no noqa; the
  gate-maturity section moves to DOCS-maturity.md; codespell knows the
  `checkin` event name.
- focus_project: real fixes for every noqa (local-day clocks, typed
  fakes, logged broad catches, split helpers). The public API that
  focus-guard calls keeps its signatures; their PLR0913 exemption
  lives in pyproject with the reason, not in noqa.
- crdt-sync: pylint gets nacl/argon2, docstrings, and allows the
  public E2eLayout.of; _blobs moves to _e2e_blobs.py.
- crdt_sync_dart: Argon2Params and the header errors move to
  e2e_params.dart (re-exported); tests split and reach 100% lines.
- sql_drills: test helpers get a leading underscore, as in earned_time.

Todo: fda71ed1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 08:58:01 +01:00
..
tests focus_project: pin backing edge cases and pay 2026-11-10 16:38:48 +01:00
__init__.py earned_time 0.19.0: focus project earner 2026-11-02 08:23:50 +01:00
__main__.py earned_time 0.6.0: gate maturity classifier (python -m earned_time maturity), confirmed_on, first_credits-aware penalty start 2026-10-09 21:21:18 +02:00
_cli.py earned_time 0.19.0: focus project earner 2026-11-02 08:23:50 +01:00
_credits.py earned_time 0.18.0: a LeetCode bonus needs the day paid in full; gate_off lets one solve earn on a stood-down day 2026-10-24 13:13:23 +02:00
_evidence.py earned_time 0.6.0: gate maturity classifier (python -m earned_time maturity), confirmed_on, first_credits-aware penalty start 2026-10-09 21:21:18 +02:00
_focus.py Clear inherited CI debt in the Python libs 2026-11-16 08:58:01 +01:00
_ladder.py earned_time 0.19.0: focus project earner 2026-11-02 08:23:50 +01:00
_ledger.py earned_time 0.18.0: a LeetCode bonus needs the day paid in full; gate_off lets one solve earn on a stood-down day 2026-10-24 13:13:23 +02:00
_leisure.py earned_time 0.16.0: leisure=None|True|False, so the gaming day decides (C6) 2026-10-19 16:58:27 +02:00
_match.py earned_time 0.19.0: focus project earner 2026-11-02 08:23:50 +01:00
_maturity.py earned_time 0.19.0: focus project earner 2026-11-02 08:23:50 +01:00
_policy.py earned_time 0.9.0: tutor earner renamed AUTOMATION_TUTOR/automation -> TUTOR/tutor, ledger ~/.local/share/tutor 2026-10-12 16:31:50 +02:00
_quota.py earned_time 0.10.0: tutor quota per weekday (15 min Tue-Thu, 30 Mon/Fri, 50 Sat/Sun for the full 60) 2026-10-12 21:07:03 +02:00
_registry.py earned_time 0.19.0: focus project earner 2026-11-02 08:23:50 +01:00
_resolution.py sickdays 0.1.0 + earned_time 0.11.0: uncapped sick-day pool, 20:00 sick shutdown floor 2026-10-16 08:23:00 +02:00
_resolve.py earned_time 0.21.0: focus day pays 240 gaming 2026-11-02 15:22:10 +01:00
_sick.py earned_time 0.13.0: sick day = 20:00 + gaming pay of what was done (was max(20:00, earned)) 2026-10-17 17:27:34 +02:00