testsAndMisc/python_pkg/token_audit
Krzysztof kuhy Rudnicki b60cb4972a Clear five python_pkg packages under the cap
android_ui, app_icons, token_audit, focus_policy and random_jpg are now
entirely under 250 lines. Only wsg_grabber's six test modules remain in
python_pkg.

android_ui/driver.py 411 -> 205 took two cuts and a class split: the
element and error types plus the XML parser to _elements.py, and the
text-entry methods to a TextEntryMixin, using the ABC-with-abstract-
methods shape because the tests call them as bound attributes.
app_icons/glyphs.py 291 -> 93 by moving the twelve path fragments out.

Three intermediate failures, all module-level globals that travelled
with their code (_logger, re, _SAME_FIELD_X_TOLERANCE_PX) - the same
class of miss as _make_verifier, which ruff cannot flag.

Counts unchanged: 81, 137, 14, 44, 57.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
2026-08-16 18:14:36 +02:00
..
tests Clear five python_pkg packages under the cap 2026-08-16 18:14:36 +02:00
__init__.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
__main__.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
attribute.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
imagecost.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
model.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
parse.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00
report.py Add token_audit package: per-session token attribution and reporting 2026-08-14 22:20:44 +02:00