voiage.experimental.study_design.calculate_coss
calculate_coss
Section titled “calculate_coss”calculate_coss([keyword-only] context: StudyDesignContextV1 = None, [keyword-only] designs: Sequence[StudyDesignPointInputV1] = None, [keyword-only] declared_feasible_range: FeasibleDesignRangeV1 | tuple[int, int] | None = None, [keyword-only] tie_policy: TiePolicy = 'smallest_sample_size', [keyword-only] absolute_tolerance: float = _DEFAULT_ATOL, [keyword-only] relative_tolerance: float = _DEFAULT_RTOL, [keyword-only] selection_uncertainty: SelectionUncertaintyV1 | None = None, [keyword-only] enumeration_scope: EnumerationScope = 'evaluated_set_only', [keyword-only] no_study_enbs: float = 0.0, [keyword-only] joint_enbs_replicates: Sequence[Sequence[float]] | None = None, [keyword-only] joint_replicate_method: Literal['joint_bootstrap', 'joint_monte_carlo'] = 'joint_bootstrap', [keyword-only] replay_artifact: str | None = None) -> CossResultV1Evaluate a finite COSS curve using the Rust signed-ENBS kernel.
Parameters:
contextStudyDesignContextV1designsSequence[StudyDesignPointInputV1]declared_feasible_rangeFeasibleDesignRangeV1 | tuple[int, int] | None(default:None)tie_policyTiePolicy(default:'smallest_sample_size')absolute_tolerancefloat(default:_DEFAULT_ATOL)relative_tolerancefloat(default:_DEFAULT_RTOL)selection_uncertaintySelectionUncertaintyV1 | None(default:None)enumeration_scopeEnumerationScope(default:'evaluated_set_only')no_study_enbsfloat(default:0.0)joint_enbs_replicatesSequence[Sequence[float]] | None(default:None)joint_replicate_methodLiteral['joint_bootstrap', 'joint_monte_carlo'](default:'joint_bootstrap')replay_artifactstr | None(default:None)
Returns: CossResultV1