Coverage report: 69%

Files Functions Classes

coverage.py v7.13.5, created at 2026-04-01 22:14 +0000

File function   statements missing excluded   coverage
scripts / stage_3_scenarios / electricity / solar_build_curves.py load_zone_weights   20 20 0   0%
scripts / stage_3_scenarios / electricity / solar_build_curves.py aggregate_zone_availability_factors   2 2 0   0%
scripts / stage_3_scenarios / electricity / solar_build_curves.py aggregate_island_curves   12 0 0   100%
scripts / stage_3_scenarios / electricity / solar_build_curves.py merge_solar_and_static_curves   6 0 0   100%
scripts / stage_3_scenarios / electricity / solar_build_curves.py build_solar_curves   11 11 0   0%
scripts / stage_3_scenarios / electricity / solar_build_curves.py (no function)   20 1 0   95%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py ensure_output_dir   3 0 0   100%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py resolve_epw_source   5 2 0   60%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py read_epw_rows   6 3 0   50%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py normalize_epw   22 18 0   18%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py _archive_members   6 1 0   83%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py copy_epw_bundle   27 11 0   59%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py prepare_epw_files   7 0 0   100%
scripts / stage_3_scenarios / electricity / solar_prepare_epw.py (no function)   21 1 0   95%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py ensure_output_dir   3 3 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py read_epw_rows   10 5 0   50%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py parse_epw_time_index   9 2 0   78%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py parse_epw_data_period_metadata   7 2 0   71%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py validate_base_year_calendar   2 0 0   100%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py validate_epw_calendar_assumptions   3 1 0   67%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py get_canonical_epw_index   3 0 0   100%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py convert_epw_standard_time_to_wallclock   2 0 0   100%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py format_time_index_rows   7 0 0   100%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py load_solar_scenarios   10 10 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py discover_epw_files   9 9 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py build_time_index   11 1 0   91%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py build_model   25 25 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py _json_default   3 3 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py collect_zone_hourly_rows   6 6 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py run_scenario_hourly_profiles   18 18 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py save_scenario_outputs   7 7 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py run_hourly_profiles   16 16 0   0%
scripts / stage_3_scenarios / electricity / solar_run_hourly_profiles.py (no function)   45 1 0   98%
src / prepare_times_nz / __init__.py (no function)   0 0 0   100%
src / prepare_times_nz / stage_0 / stage_0_settings.py get_sys_settings_data   4 0 0   100%
src / prepare_times_nz / stage_0 / stage_0_settings.py get_base_year   1 0 0   100%
src / prepare_times_nz / stage_0 / stage_0_settings.py get_active_pdef   1 0 0   100%
src / prepare_times_nz / stage_0 / stage_0_settings.py get_milestone_years_for_pdef   8 1 0   88%
src / prepare_times_nz / stage_0 / stage_0_settings.py create_period_definitions   9 2 0   78%
src / prepare_times_nz / stage_0 / stage_0_settings.py (no function)   20 0 0   100%
src / prepare_times_nz / utilities / data_in_out.py _save_data   4 4 0   0%
src / prepare_times_nz / utilities / data_in_out.py (no function)   3 0 0   100%
src / prepare_times_nz / utilities / filepaths.py (no function)   23 0 0   100%
src / prepare_times_nz / utilities / logger_setup.py setup_logging   4 0 0   100%
src / prepare_times_nz / utilities / logger_setup.py CustomFormatter.format   7 7 0   0%
src / prepare_times_nz / utilities / logger_setup.py h1   4 4 0   0%
src / prepare_times_nz / utilities / logger_setup.py h2   1 1 0   0%
src / prepare_times_nz / utilities / logger_setup.py red_text   1 1 0   0%
src / prepare_times_nz / utilities / logger_setup.py blue_text   1 1 0   0%
src / prepare_times_nz / utilities / logger_setup.py (no function)   12 0 0   100%
src / prepare_times_nz / utilities / timeslices.py get_hour_to_time_map   2 0 0   100%
src / prepare_times_nz / utilities / timeslices.py convert_hour_to_timeofday   3 0 0   100%
src / prepare_times_nz / utilities / timeslices.py convert_date_to_daytype   4 0 0   100%
src / prepare_times_nz / utilities / timeslices.py convert_date_to_season   4 0 0   100%
src / prepare_times_nz / utilities / timeslices.py create_timeslices   6 0 0   100%
src / prepare_times_nz / utilities / timeslices.py (no function)   12 0 0   100%
tests / conftest.py (no function)   8 2 0   75%
tests / test_main.py test_example   1 0 0   100%
tests / test_main.py (no function)   1 0 0   100%
tests / test_solar_availability_factors.py load_solar_build_curves   6 0 0   100%
tests / test_solar_availability_factors.py test_aggregate_island_curves_uses_configured_zone_weights   9 0 0   100%
tests / test_solar_availability_factors.py test_aggregate_island_curves_requires_weights_for_every_zone   5 0 0   100%
tests / test_solar_availability_factors.py test_merge_solar_and_static_curves_replaces_only_solar_rows   5 0 0   100%
tests / test_solar_availability_factors.py (no function)   8 0 0   100%
tests / test_solar_prepare_epw.py load_solar_prepare_epw   6 0 0   100%
tests / test_solar_prepare_epw.py test_prepare_epw_files_can_extract_from_tar_gz   23 0 0   100%
tests / test_solar_prepare_epw.py (no function)   6 0 0   100%
tests / test_timeslices.py ensure_stage_0_config   5 0 0   100%
tests / test_timeslices.py load_solar_run_hourly_profiles   7 0 0   100%
tests / test_timeslices.py write_test_epw   8 0 0   100%
tests / test_timeslices.py test_create_timeslices_uses_project_time_of_day_and_daytype_definitions   4 0 0   100%
tests / test_timeslices.py test_create_timeslices_can_use_wall_clock_hour_column   4 0 0   100%
tests / test_timeslices.py test_build_time_index_uses_model_base_year_and_ignores_epw_calendar_metadata   18 0 0   100%
tests / test_timeslices.py test_convert_epw_standard_time_to_wallclock_uses_nz_timezone_rules   7 0 0   100%
tests / test_timeslices.py test_build_time_index_rejects_leap_base_year   15 1 0   93%
tests / test_timeslices.py (no function)   11 0 0   100%
Total     655 203 0   69%

No items found using the specified filter.