Azimlib0.3.0 · documentation

Visual review for 0.3.0

Checklist item 7.08 is complete following explicit human visual acceptance on Linux and macOS. The acceptance record identifies the reviewed commit, CI run and artifact hashes. The packets retain their original pre-review pending status; their bytes and historical metadata were not rewritten. The review workflow does not approve a release, change the stable version, deploy documentation or upload a package.

Review packets

The visual-review-0.3 workflow runs on native Ubuntu and macOS runners using Python 3.12 and the installed development package. It generates two artifacts:

Extract each ZIP and open index.html locally. Its full-size links show PNG and SVG alongside the same Windows reference exported by Azimlib. Reference images are comparison aids, not previously approved expected results. Hashes identify the generator, examples, fonts, installed code and outputs. Python source comparison normalizes only LF/CRLF; raw installed hashes are also kept. Platform-specific font rasterization can differ slightly. Missing text, clipping, distorted symbols, incorrect widths or overlapping components must be investigated rather than accepted as a font-engine difference.

Scope and checklist

Fourteen scenes produce 17 PNG/SVG pairs (three scenes also at 200 dpi) and twelve native window captures per OS. Source/runtime/reference mismatches, privacy findings, occluded Tk canvases, native plugin substitution and failed pan/Home checks stop the workflow. A passing job means packet generation passed; it does not mean the human review passed. Licenses and third-party notices accompany the ZIP.

Approval must identify both operating systems and the reviewed workflow commit/run. Only an explicit human acceptance can complete 7.08. The final 10.08 acceptance and publication preparation remain separate subsequent work.

Reproduction

For exact reproduction of the accepted historical packets, use a fresh checkout at the reviewed commit with Tk installed by the Python distribution. A later version/source mismatch intentionally invalidates these baselines:

git clone https://github.com/Kernerian/azimlib.git azimlib-visual-review
cd azimlib-visual-review
git checkout --detach 1420e74ea3337f3a74cdc90e6cba9a6707c2152f
python -m pip install '.[gui,qt,notebook]' 'Pillow>=12.3'
python -I tools/prepare_visual_review.py --native --output visual-review

On Linux run the last command inside xvfb-run with a 1920×1440 screen and the Qt X11 shared libraries listed in .github/workflows/visual-review.yml. Outputs must go into a new empty directory. References live under tools/baselines/visual-review030; regenerate deliberately with --record-reference when the rendered examples or core change, preserving the baseline's exact generator and image hashes. A new baseline is not an approval.

Tk captures are checked against the rendered canvas before saving. Windows uses an explicit native window handle, with no desktop-crop fallback. The review tool requires Pillow 12.3 for the platform capture APIs; this does not raise the core library's Pillow requirement.