Skip to contents

Computes SHA-256 of R state and deterministic content snapshots of nested Python objects. Python snapshots include estimator preprocessing, training context, neural parameters, buffers and evaluation flags. Unknown opaque state is rejected, rather than hashed as a pointer placeholder.

Usage

singlesample_state_fingerprint(model)

Arguments

model

A fitted model or single-sample deployment object.

Value

One SHA-256 string. Equality tests detect state changes, not validity of the fitted model or clinical performance.