test_padis_reconstruction_matrix.pyΒΆ
Source: tests/experiments/test_padis_reconstruction_matrix.py
Test padis reconstruction matrix behaviour.
- MATRIX_SCRIPT
- test_legacy_method_and_experiment_aliases_build_canonical_jobs(tmp_path)
Verify that legacy method and experiment aliases build canonical jobs.
- test_training_root_preset_resolves_gcp_final_model_root(tmp_path)
Verify that training root preset resolves gcp final model root.
- test_training_root_preset_resolves_slurm_final_model_root_from_stamp(tmp_path)
Verify that training root preset resolves slurm final model root from stamp.
- test_explicit_training_root_overrides_preset(tmp_path)
Verify that explicit training root overrides preset.
- test_method_default_matrix_uses_method_specific_models(tmp_path)
Verify that method default matrix uses method specific models.
- test_method_default_matrix_uses_native_512_model_for_512_experiment(tmp_path)
Verify that method default matrix uses native 512 model for 512 experiment.
- test_min_intense_checkpoint_policy_selects_validation_intensive_models(tmp_path)
Verify that min intense checkpoint policy selects validation intensive models.
- test_hparam_defaults_apply_best_fixedval_candidate_args(tmp_path)
Verify that hparam defaults apply best fixedval candidate args.
- test_hparam_defaults_can_be_generated_and_loaded_from_json(tmp_path)
Verify that hparam defaults can be generated and loaded from json.
- test_full_model_exact_experiment_does_not_leak_into_default_models(tmp_path)
Verify that full model exact experiment does not leak into default models.
- test_hparam_defaults_consensus_prefers_cross_experiment_candidate(tmp_path)
Verify that hparam defaults consensus prefers cross experiment candidate.
- test_hparam_consensus_json_applies_to_all_experiments(tmp_path)
Verify that hparam consensus json applies to all experiments.
- test_checked_in_hparam_defaults_cover_slurm_default_matrix(tmp_path)
Verify that checked in hparam defaults cover slurm default matrix.
- test_slurm_and_gcp_matrix_launchers_pass_hparam_defaults()
Verify that slurm and gcp matrix launchers pass hparam defaults.
- test_hparam_summary_ranking_prefers_ssim_mae_over_tiny_psnr_gain()
Verify that hparam summary ranking prefers ssim mae over tiny psnr gain.
- test_external_model_staging_links_default_pnp_checkpoint_name(tmp_path)
Verify that external model staging links default pnp checkpoint name.
- test_hparam_defaults_fall_back_to_ct20_for_higher_view_experiments(tmp_path)
Verify that hparam defaults fall back to ct20 for higher view experiments.
- test_gcp_spot_job_order_defers_512_until_after_fixed_overlap_rows(tmp_path)
Verify that gcp spot job order defers 512 until after fixed overlap rows.
- test_reconstruction_smoke_selector_has_six_expected_jobs(tmp_path)
Verify that reconstruction smoke selector has six expected jobs.
- test_method_command_contains_method_and_expected_checkpoint_family(tmp_path)
Verify that method command contains method and expected checkpoint family.
- test_input_check_reports_missing_required_checkpoints_once(tmp_path)
Verify that input check reports missing required checkpoints once.
- test_job_manifest_contains_verifier_identity_fields(tmp_path)
Verify that job manifest contains verifier identity fields.
- test_whole_image_lion_physics_fanbeam_uses_stabilized_epsilon(tmp_path)
Verify that whole image lion physics fanbeam uses stabilized epsilon.
- test_job_manifest_contains_expected_sampler_settings(tmp_path)
Verify that job manifest contains expected sampler settings.
- test_public_repo_manifest_contains_public_sampler_settings(tmp_path)
Verify that public repo manifest contains public sampler settings.
- test_job_manifest_contains_expected_method_settings(tmp_path)
Verify that job manifest contains expected method settings.
- test_full_method_default_matrix_has_requested_core_grid(tmp_path)
Verify that full method default matrix has requested core grid.
- test_full_lion_physics_matrix_uses_lipschitz_scaled_data_updates(tmp_path)
Verify that full lion physics matrix uses lipschitz scaled data updates.
- test_paper_matrix_uses_method_specific_experiment_sets(tmp_path)
Verify that paper matrix uses method specific experiment sets.
- test_method_default_matrix_excludes_whole_image_512_rows(tmp_path)
Verify that method default matrix excludes whole image 512 rows.
- test_paper_matrix_includes_8_view_rows_for_all_table1_methods(tmp_path)
Verify that paper matrix includes 8 view rows for all table1 methods.
- test_trained_ablation_matrix_appends_trained_checkpoint_families(tmp_path)
Verify that trained ablation matrix appends trained checkpoint families.
- test_schedule_init_grid_covers_256_experiments_for_lion_and_public(tmp_path)
Verify that schedule init grid covers 256 experiments for lion and public.
- test_patch_and_dataset_ablation_selector_excludes_position_row(tmp_path)
Verify that patch and dataset ablation selector excludes position row.
- test_position_ablation_includes_noise_and_fdk_initialization_rows(tmp_path)
Verify that position ablation includes noise and fdk initialization rows.
- test_ablations_do_not_expand_explicit_model_selection(tmp_path)
Verify that ablations do not expand explicit model selection.
- test_public_repo_implementation_is_restricted_to_public_sampler_methods(tmp_path)
Verify that public repo implementation is restricted to public sampler methods.
- test_public_repo_implementation_allows_public_sampler_methods(tmp_path)
Verify that public repo implementation allows public sampler methods.
- test_lion_quality_implementation_can_be_selected_for_stabilized_rows(tmp_path)
Verify that lion quality implementation can be selected for stabilized rows.
- test_lion_physics_implementation_uses_operator_normalized_settings(tmp_path)
Verify that lion physics implementation uses operator normalized settings.
- test_method_default_rejects_off_paper_experiment_selection(tmp_path)
Verify that method default rejects off paper experiment selection.
- test_method_default_can_allow_off_paper_experiment_selection(tmp_path)
Verify that method default can allow off paper experiment selection.
- test_explicit_model_rejects_off_paper_experiment_selection(tmp_path)
Verify that explicit model rejects off paper experiment selection.
- test_dry_run_lists_full_matrix_without_existing_checkpoints(tmp_path)
Verify that dry run lists full matrix without existing checkpoints.