Skip to contents

User-facing wrapper over singlesample_is_row_equivariant. Supply representative probe rows in X_probe; the check scores the first, the last and a few random probe rows alone and compares each score with the same row's score inside batches, with the model state unchanged during scoring.

Usage

is_singlesample_deployable(deployable, X_probe = NULL, meta = NULL)

Arguments

deployable

A singlesample_deployable object from deploy_singlesample.

X_probe

Numeric matrix/data frame of probe rows. If NULL, the check cannot be run; callers should supply probe rows from the intended panel or validation surface. Supply raw measurements when a preprocessor is attached. Ct verification shifts detected extreme neighbours down by log(1e6) / log(ct_base) cycles, preserving non-detects. Log-scale verification shifts finite extreme neighbours by log(1e6) / log(log_base) on the log scale, downwards for values near the overflow limit. Without a preprocessor, extreme neighbours are multiplied by 1e6; for lasso-std, x + 1 is multiplied by 1e6 (divided near the overflow limit), so inputs above -1 stay above -1.

meta

Optional metadata aligned to the probe specimens.

Value

TRUE when the probe check passes, otherwise FALSE.