Unit-checking practice — October 29, 2026 Requires existing Python 3.12+; tested Windows Python 3.13.15 and Pint 0.26.2. Inspect check-units.py before running. Create an isolated dependency environment: python -m venv .venv .\.venv\Scripts\python.exe -m pip install pint==0.26.2 .\.venv\Scripts\python.exe .\check-units.py Six authored teaching cases: 60 W * 2 h = 120 Wh; W cannot directly convert to Wh; 20 degC = 68 degF; a 10 delta_degC difference = 18 delta_degF; missing source unit stops for human review; fictional unit raises UndefinedUnitError. Missing-unit handling is an explicit fixture policy, not automatic semantic detection by Pint. The script has no external input interface, model calls, network requests or file writes. Installation uses the network. A venv isolates dependencies, not untrusted code. The direct dependency is pinned; transitive dependencies are not locked. Inspect before installing/running. No model quality, source-data truth, all possible units, equipment/battery runtime, losses, uncertainty, production validation, performance or other OS tested. A dimensional check can pass an incorrect formula or wrong source value. Missing/ambiguous units require source review. Report numbers are authored examples, not observed model output. Guide: https://jabsystems.io/ai-anonymous/pint-check-the-unit Pint: https://pint.readthedocs.io/en/0.26.2/getting/tutorial.html Temperature: https://pint.readthedocs.io/en/0.26.2/user/nonmult.html