SDK guide / 09

The high-level classes and functions, organized by the work they enable.

This is a navigation reference, not a generated signature dump. Start with a workflow, then open the maintained source for constructor fields, validation rules, and serialized schemas.

Import model

The root package is intentionally small.

The root exports the client and run context. Scientific plans, reports, enums, and evaluation functions live in the module that owns their evidence contract.

imports.pyPython
from iso_obs import ReliabilityClient, RunContext

# Analysis functions live with the evidence contract they evaluate.
from iso_obs.divergence import compare_traces
from iso_obs.execution import evaluate_simulation_campaign
from iso_obs.dataset_ingestion import ingest_dataset_source
from iso_obs.assurance import evaluate_release_assurance
READING THE API

A Plan declares the question and design. An Observation or Result carries evidence. A Report preserves the conclusion, uncertainty, scope, limitations, and provenance. The module function performs the assessment.

Capture

Runs, resources, environments, and trace extraction.

Relevant SDK classes and functions
Class or functionImport fromUse it to
ReliabilityClientiso_obsTop-level authenticated client for Studio resources.
RunContextiso_obsRun lifecycle, ordered event buffering, failure handling, and artifacts.
ProjectsResourceiso_obs.clientCreate and list projects.
SystemsResourceiso_obs.clientRegister system versions and artifact provenance.
RunsResourceiso_obs.clientCreate, stream, complete, fail, and retrieve runs.
ReliabilityEnvironmentiso_obs.environmentsAbstract interface for seeded reset, stepping, and environment identity.
metriciso_obs.metricsDeclare a project-specific metric for suite tooling.
EventSignalSpeciso_obs.traceMap normalized events to numeric analysis signals.
extract_trace_stepsiso_obs.traceBuild analysis-ready steps and explicit extraction diagnostics.

Evaluate

Comparison, replication, multiplicity, and perturbations.

Relevant SDK classes and functions
Class or functionImport fromUse it to
PairingAssessmentiso_obs.divergenceAssess exact replay, seed matching, configuration matching, or unpaired evidence.
SignalSpeciso_obs.divergenceDeclare path, category, tolerances, and persistence.
DivergenceReportiso_obs.divergenceReport the first difference and first sustained meaningful divergence.
compare_tracesiso_obs.divergenceCompare aligned baseline and candidate traces.
PairedObservationiso_obs.replicationRepresent one matched scalar baseline/candidate outcome.
PairedAnalysisConfigiso_obs.replicationConfigure deterministic bootstrap and randomization analysis.
PairedEffectReportiso_obs.replicationCarry effect summaries, confidence interval, p-value, and limitations.
analyze_paired_effectiso_obs.replicationEstimate a prespecified paired effect across independent pairs.
MultiplicityPlaniso_obs.multiplicityDeclare analysis mode, error criterion, method, and dataset separation.
MultiplicityReportiso_obs.multiplicityCarry raw and adjusted results with bounded evidence labels.
adjust_hypothesis_familyiso_obs.multiplicityApply Holm, Bonferroni, BH, or BY adjustment.
CausalPerturbationPlaniso_obs.causal_perturbationsDeclare controlled contrasts, estimand, margins, and evidence requirements.
CausalPerturbationReportiso_obs.causal_perturbationsReport contrast effects and the worst-member campaign disposition.
assess_causal_perturbationsiso_obs.causal_perturbationsEvaluate paired perturbation-response evidence.

Discover

Failure artifacts, phenotypes, boundaries, surfaces, and counterfactuals.

Relevant SDK classes and functions
Class or functionImport fromUse it to
SimulationEvidenceManifestiso_obs.evidenceKeep simulator verification, calibration, validation, anchors, and omissions separate.
ReproductionManifestiso_obs.evidenceBind scenario, seed, environment, system, parameters, and artifacts for reproduction.
FailureEvidenceBundleiso_obs.evidencePackage a failure as a deterministic, content-addressed artifact.
FailurePhenotypePlaniso_obs.failure_phenotypesDeclare taxonomy, features, splits, and conformal calibration.
FailurePhenotypeReportiso_obs.failure_phenotypesReturn assigned, ambiguous, or novel-candidate prediction sets.
fit_failure_phenotype_modeliso_obs.failure_phenotypesFit robust class prototypes using fit-only evidence.
classify_failure_phenotypeiso_obs.failure_phenotypesClassify one query using held-out class-conditional calibration.
FailureBoundaryPlaniso_obs.failure_boundariesDeclare dimensions, anchors, cells, thresholds, and design requirements.
FailureBoundaryMapiso_obs.failure_boundariesCarry reliable, unreliable, and unresolved cells with intervals.
fit_failure_boundary_modeliso_obs.failure_boundariesFit a bounded failure model from anchor observations.
map_failure_boundaryiso_obs.failure_boundariesCertify cells only where model and evidence allow.
FailureSurfacePlaniso_obs.failure_surfaceDeclare disaggregated strata and acceptable failure-rate limits.
FailureSurfaceReportiso_obs.failure_surfaceCarry per-stratum intervals and a noncompensatory surface conclusion.
estimate_failure_surfaceiso_obs.failure_surfaceEstimate stratified failure rates after design completeness.
ExperimentSelectionPlaniso_obs.experiment_selectionDeclare exploratory regions, costs, severity, and budget.
ExperimentSelectionReportiso_obs.experiment_selectionCarry the next-region recommendation and acquisition decomposition.
recommend_next_experimentiso_obs.experiment_selectionRecommend the next region with a complete acquisition decomposition.
CounterfactualDesigniso_obs.counterfactualBind replay controls, intervention, estimand, and paired trials.
CounterfactualEvidenceReportiso_obs.counterfactualCarry bounded in-simulation intervention evidence and gating checks.
MinimalCounterexampleReportiso_obs.counterfactualReport local one-minimality and every untested single removal.
analyze_counterfactual_designiso_obs.counterfactualAssess a replicated intervention association within simulation scope.
assess_minimal_counterexampleiso_obs.counterfactualAssess local one-minimality over executed ablations.

Execute

Regression packs, simulator adapters, work plans, and campaign results.

Relevant SDK classes and functions
Class or functionImport fromUse it to
RegressionCaseiso_obs.regressionRepresent one canonical, neighborhood, boundary, or control case.
SeedPaneliso_obs.regressionDeclare seeds and their exact randomization strategy.
GateCriterioniso_obs.regressionDeclare exact or confidence-bound gate requirements.
RegressionPackiso_obs.regressionBind cases, seeds, gates, source failure, and simulator evidence.
RegressionGateReportiso_obs.regressionCarry per-criterion and overall regression evaluation.
evaluate_regression_packiso_obs.regressionEvaluate a complete case-by-seed observation matrix.
SimulationAdapterManifestiso_obs.simulationDeclare backend identity, capabilities, parameters, artifacts, and limitations.
CompatibilityReportiso_obs.simulationExplain whether an adapter can execute the requested pack and intent.
SimulationExecutionPlaniso_obs.simulationCarry identity-bound work items and execution batches.
compile_simulation_planiso_obs.simulationPreflight and expand a pack into deterministic work.
SimulationRunResultiso_obs.executionReturn status, trace, diagnostics, and artifacts for one work item.
SimulationCampaignReportiso_obs.executionCarry completeness, issues, evaluations, and any eligible gate result.
evaluate_simulation_campaigniso_obs.executionVerify results and evaluate a complete confirmatory campaign.

Recorded data

Ingestion, synchronization, audit, splitting, and replay.

Relevant SDK classes and functions
Class or functionImport fromUse it to
DatasetBundleiso_obs.dataset_ioContent-addressed local dataset artifact with episodes and evidence.
DatasetBundleInspectioniso_obs.dataset_ioStructural inventory without a quality verdict.
DatasetIngestionPlaniso_obs.dataset_ingestionDeclare source mapping, timestamps, channels, scope, and limitations.
DatasetIngestionReportiso_obs.dataset_ingestionReport row, episode, channel, missingness, and typed issues.
ingest_dataset_sourceiso_obs.dataset_ingestionIngest JSONL or Parquet using an explicit plan.
McapDatasetIngestionPlaniso_obs.dataset_mcapDeclare MCAP topics, encodings, payloads, clocks, and windows.
ingest_mcap_sourceiso_obs.dataset_mcapRead MCAP in physical order with contract and CRC validation.
Rosbag2McapIngestionPlaniso_obs.dataset_rosbag2Bind split rosbag2 metadata verification to an MCAP plan.
Rosbag2RecordingEvidenceiso_obs.dataset_rosbag2Record exact file identity and metadata/recording disagreements.
ingest_rosbag2_mcap_sourceiso_obs.dataset_rosbag2Ingest a split recording without global sorting or deduplication.
DatasetSynchronizationPlaniso_obs.dataset_synchronizationDeclare clock, interpolation, gap, and uncertainty requirements.
DatasetSynchronizationReportiso_obs.dataset_synchronizationCarry temporal coverage, gaps, uncertainty bounds, and typed issues.
audit_dataset_synchronizationiso_obs.dataset_synchronizationAssess temporal coverage and propagated uncertainty.
DatasetReliabilityAuditPlaniso_obs.dataset_reliabilityDeclare label, provenance, episode, and evidence requirements.
DatasetReliabilityReportiso_obs.dataset_reliabilityCarry evidence-qualified label states and review obligations.
audit_dataset_reliabilityiso_obs.dataset_reliabilityAudit dataset evidence without rewriting suggestions as truth.
DatasetSplitPlaniso_obs.dataset_splittingDeclare assignments, lineage, independence, duplicate groups, and holdouts.
DatasetSplitReportiso_obs.dataset_splittingCarry role counts and blocking, contamination, and review issues.
audit_dataset_splitiso_obs.dataset_splittingDetect contamination and unresolved split evidence.
MixedModeDetectionReportiso_obs.mixed_mode_detectionCarry uncertain change intervals and before/after prediction sets.
FailureReplayRequestiso_obs.replay_capsuleSelect one episode interval, assertions, channels, and replay controls.
FailureReplayCapsuleiso_obs.replay_capsuleCarry reconstruction fidelity, claim qualification, artifacts, and issues.
compile_failure_replay_capsuleiso_obs.replay_capsuleJoin recorded evidence and adapter capabilities into replay readiness.
build_canonical_regression_caseiso_obs.replay_capsuleBuild a canonical case only from qualified exact replay evidence.

Decide and monitor

Promotion, transfer, assurance, and surveillance.

Relevant SDK classes and functions
Class or functionImport fromUse it to
RegressionPromotionRequestiso_obs.promotionBind the evidence chain proposed for regression promotion.
RegressionPromotionReviewiso_obs.promotionReport requirement-by-requirement promotion readiness.
review_regression_promotioniso_obs.promotionVerify artifact identity and readiness requirements.
SimToRealValidityPlaniso_obs.sim_to_realDeclare regions, features, anchors, and acceptable gaps.
SimToRealValidityReportiso_obs.sim_to_realCarry regional sim-to-real gaps with simultaneous uncertainty control.
assess_sim_to_real_validityiso_obs.sim_to_realAssess feature and failure-rate gaps with familywise control.
TransportValidationPlaniso_obs.transportabilityDeclare strata, anchor envelope, discrepancy sources, and limits.
TransportValidationReportiso_obs.transportabilityCarry scope-bound discrepancy evidence within the anchor envelope.
TransportApplicabilityReportiso_obs.transportabilityReport whether one requested operating point is inside validated scope.
validate_transportabilityiso_obs.transportabilityValidate simulator discrepancy within the anchor envelope.
ReleaseScopeiso_obs.assuranceBind system, operational domain, evidence envelope, and policy.
ReleaseAssuranceDossieriso_obs.assuranceAssemble regressions, independent challenges, and defeaters.
ReleaseAssuranceReportiso_obs.assuranceCarry the noncompensatory release disposition, reasons, and open defeaters.
evaluate_release_assuranceiso_obs.assuranceReturn blocked, restricted, or supported within scope.
SequentialMonitoringPlaniso_obs.surveillanceDeclare anytime-valid production signals and thresholds.
SequentialSurveillanceReportiso_obs.surveillanceCarry threshold trajectories and continue-or-escalate disposition.
evaluate_sequential_surveillanceiso_obs.surveillanceContinue monitoring or escalate review of the scoped claim.

Canonical detail

Continue to exact constructors and validation rules.