← Về thư mục
tests/scikit-survival/test_scripts.py
- CommonSafetyTests · class · L33-L97 — class CommonSafetyTests(unittest.TestCase)
- test_json_output_is_private_and_refuses_overwrite · method · L34-L41 — def test_json_output_is_private_and_refuses_overwrite(self) -> None
- test_local_paths_reject_urls_and_symlinks · method · L43-L58 — def test_local_paths_reject_urls_and_symlinks(self) -> None
- test_no_shadow_modules_network_or_environment_reads · method · L60-L83 — def test_no_shadow_modules_network_or_environment_reads(self) -> None
- test_help_is_available_without_running_workflows · method · L85-L97 — def test_help_is_available_without_running_workflows(self) -> None
- ValidationTests · class · L100-L136 — class ValidationTests(unittest.TestCase)
- test_synthetic_csv_schema_converts_to_structured_array · method · L101-L111 — def test_synthetic_csv_schema_converts_to_structured_array(self) -> None
- test_outcome_feature_leakage_is_rejected · method · L113-L121 — def test_outcome_feature_leakage_is_rejected(self) -> None
- test_structured_output_disables_pickle · method · L123-L136 — def test_structured_output_disables_pickle(self) -> None
- TrainingTests · class · L139-L196 — class TrainingTests(unittest.TestCase)
- test_cox_pipeline_splits_before_learned_preprocessing · method · L140-L166 — def test_cox_pipeline_splits_before_learned_preprocessing(self) -> None
- test_nested_tuning_runs_inside_training_data · method · L168-L185 — def test_nested_tuning_runs_inside_training_data(self) -> None
- test_explicit_schema_is_required · method · L187-L196 — def test_explicit_schema_is_required(self) -> None
- MetricTests · class · L199-L221 — class MetricTests(unittest.TestCase)
- test_synthetic_metrics_cover_risk_and_probability_inputs · method · L200-L208 — def test_synthetic_metrics_cover_risk_and_probability_inputs(self) -> None
- test_risk_and_survival_shapes_are_distinct · method · L210-L214 — def test_risk_and_survival_shapes_are_distinct(self) -> None
- test_time_grid_outside_training_support_is_rejected · method · L216-L221 — def test_time_grid_outside_training_support_is_rejected(self) -> None
- CompetingRiskTests · class · L224-L242 — class CompetingRiskTests(unittest.TestCase)
- test_cif_shapes_and_sum_identity · method · L225-L238 — def test_cif_shapes_and_sum_identity(self) -> None
- test_noncontiguous_cause_codes_are_rejected · method · L240-L242 — def test_noncontiguous_cause_codes_are_rejected(self) -> None
- ReportTests · class · L245-L256 — class ReportTests(unittest.TestCase)
- test_report_distinguishes_metrics_and_disclaims_utility · method · L246-L256 — def test_report_distinguishes_metrics_and_disclaims_utility(self) -> None