python

python — audit issues

Audited 2026-06-20. Repo: software/python. Criteria: completeness · tests · separation of concerns · verb-named functions · file size (<1000 lines) · organization.

Health summary

The binding is small, clean, and genuinely joyful: one 444-line module, a chainable Handle/Document API, native-value in/out, and 9 passing round-trip tests. But it surfaces only about two-thirds of the C ABI — the entire evaluator + node-registry API, world-matrix/visibility queries, all geometry-array accessors, and metadata enumeration are unbound, and get_matrix/get_spectrum are write-only (settable, never readable). Several mutators silently swallow C failure returns, so a bad connect/set looks like success. Separation of concerns, naming, file size, and packaging are all in good shape.

Issues

[HIGH] completeness — evaluator + node-registry API entirely unbound

[HIGH] completeness — geometry-array accessors (float/float2/int) unbound

[HIGH] completeness — matrix & spectrum are write-only (no public getter)

[MEDIUM] completeness — worldmatrix & isvisible unbound

[MEDIUM] completeness — mutators silently swallow C failure returns

[MEDIUM] completeness — metadata & encoding enumeration unbound

[MEDIUM] tests — large untested surface (errors, removal edges, evaluate-miss, repr/eq-negative)

[MEDIUM] completeness — Windows/Linux loadable but never built or shipped

[LOW] separation — clean

[LOW] naming — clean (one borderline noun)

[LOW] filesize — clean

[LOW] organization — README install promise & loader env var; otherwise clean