Skip to content

Development diagnostics

Development self-check reference. This is not part of the stable optimization or CLI contract.

Experimental API

This surface can change incompatibly in a minor release. See the stability policy.

Troubleshooting ยท Stability policy

run_self_check(verbose=False)

Run a minimal set of smoke checks for each compute backend.

Always exercises NumPy; Numba and MooCore are optional and reported as "skipped" when the dependency is missing.

Parameters:

Name Type Description Default
verbose bool

If True, log the result of each check at INFO level.

False

Returns:

Type Description
list[CheckResult]

One entry per backend / encoding variant with status in {"ok", "skipped", "failed"}.

Raises:

Type Description
RuntimeError

If the mandatory NumPy backend check fails.