{ "passed_ptp": [ "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_null_case", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_full_case", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_case1", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_case2", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_case3", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_season_full_case", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_season_case1", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_season_case2", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_null_case", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_full_case", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_case1", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_case2", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_case3", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_season_full_case", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_season_case1", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_season_case2", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_null_case", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_full_case", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_case1", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_case2", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_case3", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_season_full_case", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_season_case1", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_season_case2", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_null_case", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_full_case", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_case1", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_case2", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_case3", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_season_full_case", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_season_case1", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_season_case2", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_null_case", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_full_case", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_case1", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_case2", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_case3", "hdp.tests.test_utils::test_get_time_stamp", "hdp.tests.test_utils::test_get_version", "hdp.tests.test_utils::test_control_dataarray", "hdp.tests.test_utils::test_warming_dataarray", "hdp.tests.test_utils::test_rh_dataarray", "hdp.tests.test_utils::test_defaults_compatibility", "hdp.tests.test_workflow::test_full_data_workflow", "hdp.tests.test_workflow::test_include_threshold" ], "test_files": [ "hdp/tests/__init__.py", "hdp/tests/test_heatwave_average.py", "hdp/tests/test_heatwave_duration.py", "hdp/tests/test_heatwave_frequency.py", "hdp/tests/test_heatwave_number.py", "hdp/tests/test_index_heatwaves.py", "hdp/tests/test_utils.py", "hdp/tests/test_workflow.py" ], "test_command": [ "python3", "-m", "pytest", "-vv", "--continue-on-collection-errors", "-o", "addopts=-p no:cacheprovider", "hdp/tests/test_heatwave_average.py", "hdp/tests/test_heatwave_duration.py", "hdp/tests/test_heatwave_frequency.py", "hdp/tests/test_heatwave_number.py", "hdp/tests/test_index_heatwaves.py", "hdp/tests/test_utils.py", "hdp/tests/test_workflow.py" ], "test_payload_contract": { "schema_version": "programgen.test-payload-contract.v1", "test_files": [ "hdp/tests/__init__.py", "hdp/tests/test_heatwave_average.py", "hdp/tests/test_heatwave_duration.py", "hdp/tests/test_heatwave_frequency.py", "hdp/tests/test_heatwave_number.py", "hdp/tests/test_index_heatwaves.py", "hdp/tests/test_utils.py", "hdp/tests/test_workflow.py" ], "test_command": [ "python3", "-m", "pytest", "-vv", "--continue-on-collection-errors", "-o", "addopts=-p no:cacheprovider", "hdp/tests/test_heatwave_average.py", "hdp/tests/test_heatwave_duration.py", "hdp/tests/test_heatwave_frequency.py", "hdp/tests/test_heatwave_number.py", "hdp/tests/test_index_heatwaves.py", "hdp/tests/test_utils.py", "hdp/tests/test_workflow.py" ], "text_fixtures": [], "binary_fixtures": [], "nonportable_absolute_paths": [], "required_external_commands": [], "declared_console_scripts": [], "unresolved_external_commands": [] }, "unit_test": [ "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_null_case", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_full_case", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_case1", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_case2", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_case3", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_season_full_case", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_season_case1", "hdp.tests.test_heatwave_average::TestHeatwaveAverage::test_heatwave_average_season_case2", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_null_case", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_full_case", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_case1", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_case2", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_case3", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_season_full_case", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_season_case1", "hdp.tests.test_heatwave_duration::TestHeatwaveDuration::test_heatwave_duration_season_case2", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_null_case", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_full_case", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_case1", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_case2", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_case3", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_season_full_case", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_season_case1", "hdp.tests.test_heatwave_frequency::TestHeatwaveFrequency::test_heatwave_frequency_season_case2", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_null_case", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_full_case", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_case1", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_case2", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_case3", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_season_full_case", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_season_case1", "hdp.tests.test_heatwave_number::TestHeatwaveNumber::test_heatwave_number_season_case2", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_null_case", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_full_case", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_case1", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_case2", "hdp.tests.test_index_heatwaves::TestIndexHeatwave::test_index_heatwaves_case3", "hdp.tests.test_utils::test_get_time_stamp", "hdp.tests.test_utils::test_get_version", "hdp.tests.test_utils::test_control_dataarray", "hdp.tests.test_utils::test_warming_dataarray", "hdp.tests.test_utils::test_rh_dataarray", "hdp.tests.test_utils::test_defaults_compatibility", "hdp.tests.test_workflow::test_full_data_workflow", "hdp.tests.test_workflow::test_include_threshold" ], "expected_test_count": 45, "measured_test_count": 45, "enumerated_test_count": 45, "test_count_source": "measured-suite", "python_install_contract": { "strategy": "editable-install", "project_root": ".", "package_roots": [ "." ], "build_backend": "setuptools.build_meta", "build_system_requires": [ "setuptools", "setuptools-scm" ], "editable": true, "project_dependencies": [ "numpy", "xarray >= 2025.1.1", "cartopy", "numba >= 0.60.0", "nc_time_axis", "dask[complete]", "zarr", "netCDF4", "tqdm", "ipywidgets", "nbformat" ], "editable_requires": [], "runtime_strategy": "editable-install", "runtime_build_inputs": [ "README.md" ], "build_context_inputs": [], "distribution_name": "HDP_python", "evidence": [ "./pyproject.toml" ], "errors": [], "isolate_build_backend": false, "schema_version": "programgen.python-install-contract.v7" }, "test_binary_files": [], "artifact_contract_version": "programgen.forward-harbor.v6", "renderer_schema_version": "programgen.forward-renderer.v4", "test_import_contract": [ { "test_file": "hdp/tests/test_heatwave_average.py", "source_file": "hdp/metric.py", "import_root": "hdp", "definition_path": "hdp.metric.heatwave_average", "required_import_path": "hdp.metric.heatwave_average", "import_statement": "from hdp.metric import heatwave_average", "symbol": "heatwave_average", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_heatwave_average.py", "source_file": null, "import_root": "numpy", "definition_path": null, "required_import_path": "numpy", "import_statement": "import numpy as np", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_heatwave_duration.py", "source_file": "hdp/metric.py", "import_root": "hdp", "definition_path": "hdp.metric.heatwave_duration", "required_import_path": "hdp.metric.heatwave_duration", "import_statement": "from hdp.metric import heatwave_duration", "symbol": "heatwave_duration", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_heatwave_duration.py", "source_file": null, "import_root": "numpy", "definition_path": null, "required_import_path": "numpy", "import_statement": "import numpy as np", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_heatwave_frequency.py", "source_file": "hdp/metric.py", "import_root": "hdp", "definition_path": "hdp.metric.heatwave_frequency", "required_import_path": "hdp.metric.heatwave_frequency", "import_statement": "from hdp.metric import heatwave_frequency", "symbol": "heatwave_frequency", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_heatwave_frequency.py", "source_file": null, "import_root": "numpy", "definition_path": null, "required_import_path": "numpy", "import_statement": "import numpy as np", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_heatwave_number.py", "source_file": "hdp/metric.py", "import_root": "hdp", "definition_path": "hdp.metric.heatwave_number", "required_import_path": "hdp.metric.heatwave_number", "import_statement": "from hdp.metric import heatwave_number", "symbol": "heatwave_number", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_heatwave_number.py", "source_file": null, "import_root": "numpy", "definition_path": null, "required_import_path": "numpy", "import_statement": "import numpy as np", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_index_heatwaves.py", "source_file": "hdp/metric.py", "import_root": "hdp", "definition_path": "hdp.metric.index_heatwaves", "required_import_path": "hdp.metric.index_heatwaves", "import_statement": "from hdp.metric import index_heatwaves", "symbol": "index_heatwaves", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_index_heatwaves.py", "source_file": null, "import_root": "numpy", "definition_path": null, "required_import_path": "numpy", "import_statement": "import numpy as np", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_index_heatwaves.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_utils.py", "source_file": "hdp/utils.py", "import_root": "hdp", "definition_path": "hdp.utils", "required_import_path": "hdp.utils.*", "import_statement": "from hdp.utils import *", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "hdp/tests/test_utils.py", "source_file": null, "import_root": "math", "definition_path": null, "required_import_path": "math.isclose", "import_statement": "from math import isclose", "symbol": "isclose", "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_utils.py", "source_file": null, "import_root": "numpy", "definition_path": null, "required_import_path": "numpy", "import_statement": "import numpy as np", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_utils.py", "source_file": null, "import_root": "xarray", "definition_path": null, "required_import_path": "xarray.DataArray", "import_statement": "from xarray import DataArray", "symbol": "DataArray", "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/graphics/notebook.py", "import_root": "hdp", "definition_path": "hdp.graphics.notebook.create_notebook", "required_import_path": "hdp.graphics.notebook.create_notebook", "import_statement": "from hdp.graphics.notebook import create_notebook", "symbol": "create_notebook", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/measure.py", "import_root": "hdp", "definition_path": "hdp.measure", "required_import_path": "hdp.measure", "import_statement": "import hdp.measure", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/measure.py", "import_root": "hdp", "definition_path": "hdp.measure.format_standard_measures", "required_import_path": "hdp.measure.format_standard_measures", "import_statement": "import hdp.metric", "symbol": "format_standard_measures", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/metric.py", "import_root": "hdp", "definition_path": "hdp.metric", "required_import_path": "hdp.metric", "import_statement": "import hdp.metric", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/metric.py", "import_root": "hdp", "definition_path": "hdp.metric.compute_group_metrics", "required_import_path": "hdp.metric.compute_group_metrics", "import_statement": "import hdp.metric", "symbol": "compute_group_metrics", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/threshold.py", "import_root": "hdp", "definition_path": "hdp.threshold", "required_import_path": "hdp.threshold", "import_statement": "import hdp.threshold", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/threshold.py", "import_root": "hdp", "definition_path": "hdp.threshold.compute_thresholds", "required_import_path": "hdp.threshold.compute_thresholds", "import_statement": "import hdp.metric", "symbol": "compute_thresholds", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/utils.py", "import_root": "hdp", "definition_path": "hdp.utils", "required_import_path": "hdp.utils", "import_statement": "import hdp.utils", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/utils.py", "import_root": "hdp", "definition_path": "hdp.utils.generate_test_control_dataarray", "required_import_path": "hdp.utils.generate_test_control_dataarray", "import_statement": "import hdp.metric", "symbol": "generate_test_control_dataarray", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/utils.py", "import_root": "hdp", "definition_path": "hdp.utils.generate_test_rh_dataarray", "required_import_path": "hdp.utils.generate_test_rh_dataarray", "import_statement": "import hdp.metric", "symbol": "generate_test_rh_dataarray", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": "hdp/utils.py", "import_root": "hdp", "definition_path": "hdp.utils.generate_test_warming_dataarray", "required_import_path": "hdp.utils.generate_test_warming_dataarray", "import_statement": "import hdp.metric", "symbol": "generate_test_warming_dataarray", "kind": "function", "classification": "local-resolved" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": null, "import_root": "numpy", "definition_path": null, "required_import_path": "numpy", "import_statement": "import numpy as np", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "hdp/tests/test_workflow.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" } ], "test_import_contract_digest": "91578ac0009500512d5f588aa5f0ca54569ee4a841d68e92a577a4cf4eff26d5" }