OPEN STANDARD

CIRE is the reliability contract for veterinary AI infrastructure.

VetIOS publishes CIRE as a versioned standard so partners, researchers, and regulators can reason about inference confidence, safety state, and outcome-linked lineage without depending on a private UI.

Version
1.0.0
Status
PUBLIC REFERENCE
Runtime
inference_event_lineage
Package
@vetios/cire-engine
Reference formulas

phi_hat

0.0 to 1.0

Inference certainty entropy score

phi_hat = 1 - H(D) / ln(|D|), where H(D) = -sum(p_i * ln(p_i)) over normalized differential probabilities

Higher values mean the differential distribution is more concentrated and easier to act on.

input_m_hat

0.0 to 1.0

Input quality risk score

input_m_hat = 0.40 * missingness + 0.35 * contradiction_rate + 0.25 * out_of_distribution_rate

Higher values mean the clinical input is incomplete, contradictory, or outside the supported operating envelope.

delta_rolling

negative to positive real number

Rolling reliability drift

delta_rolling = EMA(delta_hat, alpha = 0.1)

Tracks short-horizon movement in reliability compared with prior inference behavior.

sigma_delta

0.0 and above

Reliability volatility

sigma_delta = standard_deviation(last 50 delta_hat values)

Higher values indicate less stable reliability behavior across recent events.

cps

0.0 and above

Clinical perturbation score

cps = 0.40 * (1 - phi_hat / phi0) + 0.35 * max(0, -delta_rolling) / phi0 + 0.25 * sigma_delta / phi0

Composite safety score used to decide whether an inference is high confidence, reviewable, cautionary, or suppressed.

Safety states
nominalHIGH

The inference is within the expected reliability envelope.

Show the differential with normal clinical decision-support language.

warningREVIEW

The inference should be interpreted with clinician review because reliability has weakened.

Surface uncertainty and recommend additional diagnostic confirmation.

criticalCAUTION

The inference is unstable enough to require explicit caution.

Show the result as decision support only and avoid workflow automation.

blockedSUPPRESSED

The inference is outside the safe publication envelope.

Suppress the clinical answer and require human review or better input.

Required lineage fields
phi_hatinput_m_hatcpssafety_statereliability_badgemodel_namemodel_versioninput_signaturecreated_at
Infrastructure posture

The standard is public; the managed VetIOS infrastructure remains the commercial product. Partners can cite the reliability contract, while production deployments use VetIOS for hosted inference, outcome lineage, model cards, network learning, and enterprise/government API access.