pfdha 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pfdha-0.3.0/CHANGELOG.md +519 -0
- pfdha-0.3.0/CITATION.cff +22 -0
- pfdha-0.3.0/LICENSE +661 -0
- pfdha-0.3.0/MANIFEST.in +23 -0
- pfdha-0.3.0/NOTICE +41 -0
- pfdha-0.3.0/OUTPUT_FORMAT.md +273 -0
- pfdha-0.3.0/PKG-INFO +247 -0
- pfdha-0.3.0/README.md +199 -0
- pfdha-0.3.0/docs/01-Overview.md +15 -0
- pfdha-0.3.0/docs/02-Installation.md +160 -0
- pfdha-0.3.0/docs/03-QuickStart.md +67 -0
- pfdha-0.3.0/docs/04-CLI.md +43 -0
- pfdha-0.3.0/docs/05-Configuration.md +759 -0
- pfdha-0.3.0/docs/06-Models.md +280 -0
- pfdha-0.3.0/docs/07-LogicTrees.md +28 -0
- pfdha-0.3.0/docs/08-Disaggregation.md +15 -0
- pfdha-0.3.0/docs/09-Outputs.md +195 -0
- pfdha-0.3.0/docs/10-Validation.md +347 -0
- pfdha-0.3.0/docs/11-ScientificBackground.md +178 -0
- pfdha-0.3.0/docs/12-References.md +123 -0
- pfdha-0.3.0/docs/13-Model-Selection-Guide.md +44 -0
- pfdha-0.3.0/docs/14-Assumptions-Register.md +98 -0
- pfdha-0.3.0/docs/Makefile +17 -0
- pfdha-0.3.0/docs/api.rst +67 -0
- pfdha-0.3.0/docs/conf.py +54 -0
- pfdha-0.3.0/docs/figures/iaea-kumamoto-principal-benchmark.png +0 -0
- pfdha-0.3.0/docs/figures/pfdha-overview-model-coupling-uncertainty.png +0 -0
- pfdha-0.3.0/docs/figures/pfdha-reference-geometry.png +0 -0
- pfdha-0.3.0/docs/figures/pfdha-reference-geometry.svg +1 -0
- pfdha-0.3.0/docs/figures/visini-rank15-geometry.png +0 -0
- pfdha-0.3.0/docs/figures/visini-rank15-geometry.svg +1 -0
- pfdha-0.3.0/docs/index.md +22 -0
- pfdha-0.3.0/docs/index.rst +22 -0
- pfdha-0.3.0/docs/models.rst +99 -0
- pfdha-0.3.0/docs/review/2026-10-01-round12-dispositions.md +33 -0
- pfdha-0.3.0/docs/review/2026-10-14-scientific-remediation-matrix.md +196 -0
- pfdha-0.3.0/docs/review/2026-10-14-wp1-original-data-audit.md +181 -0
- pfdha-0.3.0/docs/review/2026-11-19-todorovska-section9.md +62 -0
- pfdha-0.3.0/docs/review/2026-11-29-v030-baseline-faulted.md +421 -0
- pfdha-0.3.0/docs/testing.rst +53 -0
- pfdha-0.3.0/openquake/pfdha/__init__.py +31 -0
- pfdha-0.3.0/openquake/pfdha/__main__.py +15 -0
- pfdha-0.3.0/openquake/pfdha/applicability.py +202 -0
- pfdha-0.3.0/openquake/pfdha/calc/calculators.py +660 -0
- pfdha-0.3.0/openquake/pfdha/calc/config_loader.py +939 -0
- pfdha-0.3.0/openquake/pfdha/calc/contexts.py +874 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/__init__.py +58 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/coordinates.py +223 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/generalized_coordinate_integral.py +100 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/physical_cache.py +101 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/physical_trace.py +468 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/reference_manifest.py +139 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/routing.py +199 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/straight_reference.py +91 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/supplied_reference.py +144 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/types.py +194 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/visini_geospatial.py +213 -0
- pfdha-0.3.0/openquake/pfdha/calc/geometry/visini_slice.py +100 -0
- pfdha-0.3.0/openquake/pfdha/calc/hazard.py +1306 -0
- pfdha-0.3.0/openquake/pfdha/calc/location_uncertainty.py +220 -0
- pfdha-0.3.0/openquake/pfdha/calc/model_adapter.py +915 -0
- pfdha-0.3.0/openquake/pfdha/calc/plotting.py +381 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/__init__.py +15 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/geometry.py +14 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/interpolation.py +292 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/parsing.py +523 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/probability.py +432 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/rupture_distance.py +825 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/support_geometry.py +191 -0
- pfdha-0.3.0/openquake/pfdha/calc/utils/surface_filter.py +376 -0
- pfdha-0.3.0/openquake/pfdha/cli.py +195 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/__init__.py +28 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/accumulator.py +920 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/common.py +197 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/curve_output.py +480 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/dominant.py +712 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/epsilon.py +123 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/epsilon_outputs.py +205 -0
- pfdha-0.3.0/openquake/pfdha/disaggregation/map_output.py +926 -0
- pfdha-0.3.0/openquake/pfdha/displacement.py +550 -0
- pfdha-0.3.0/openquake/pfdha/faulting_style.py +64 -0
- pfdha-0.3.0/openquake/pfdha/forecast_diagnostics.py +194 -0
- pfdha-0.3.0/openquake/pfdha/gis_adapter.py +161 -0
- pfdha-0.3.0/openquake/pfdha/input_templates/source_surface_expression.template.csv +1 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/__init__.py +41 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/aggregation.py +487 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/branch_execution.py +342 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/config_builder.py +73 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/coupling_rules.py +496 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/curve_runner.py +458 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/driver.py +736 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/driver_support.py +772 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/enumerator.py +97 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/export.py +913 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/io.py +504 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/job_config.py +1417 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/map_runner.py +1172 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/model_metadata.yaml +286 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/nrml_reader.py +89 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/output_retention.py +32 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/outputs.py +268 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/param_parser.py +109 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/provenance.py +284 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/run_reports.py +314 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/sampling.py +46 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/sampling_workflow.py +366 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/site_builder.py +399 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/source_model_lt.py +464 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/types.py +193 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/validators.py +372 -0
- pfdha-0.3.0/openquake/pfdha/logic_tree/xml_utils.py +105 -0
- pfdha-0.3.0/openquake/pfdha/model_registry.py +690 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/__init__.py +46 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/_beta_md.py +51 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/base.py +101 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/chiou_et_al_2025_fd.py +236 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/kuehn_coeffs.npz +0 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/kuehn_et_al_2024_fd.py +363 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/lavrentiadis_abrahamson_2023_fd.py +437 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/moss_et_al_2024_fd.py +300 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/moss_ross_2011_fd.py +262 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/petersen_et_al_2011_fd.py +246 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/quigley_et_al_2025_fd.py +256 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/takao_et_al_2013_fd.py +369 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/todorovska_et_al_2007_fd.py +322 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/vertical_component_fd.py +215 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_displ/youngs_et_al_2003_fd.py +239 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/__init__.py +44 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/base.py +62 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/fixed_sr.py +83 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/mammarella_et_al_2024_sr.py +454 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/moss_et_al_2013_sr.py +89 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/moss_ross_2011_sr.py +43 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/pizza_et_al_2023_sr.py +47 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/takao_et_al_2013_sr.py +37 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/wells_coppersmith_1993_sr.py +38 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/yang_et_al_2021_sr.py +69 -0
- pfdha-0.3.0/openquake/pfdha/primary_surf_rup/youngs_et_al_2003_sr.py +59 -0
- pfdha-0.3.0/openquake/pfdha/renewal.py +165 -0
- pfdha-0.3.0/openquake/pfdha/scalerel/__init__.py +47 -0
- pfdha-0.3.0/openquake/pfdha/scalerel/base.py +259 -0
- pfdha-0.3.0/openquake/pfdha/scalerel/leonard2010.py +152 -0
- pfdha-0.3.0/openquake/pfdha/scalerel/leonard2014.py +268 -0
- pfdha-0.3.0/openquake/pfdha/scalerel/thingbaijam2017.py +167 -0
- pfdha-0.3.0/openquake/pfdha/scalerel/wc1994.py +305 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/__init__.py +42 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/mea22_workflow_sfd.py +116 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/moss_et_al_2024_sfd.py +273 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/nurminen_et_al_2020_sfd.py +463 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/petersen_et_al_2011_sfd.py +207 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/rodriguezpadilla_oskin_2023_sfd.py +91 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/takao_et_al_2013_sfd.py +296 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/takao_et_al_2018_sfd.py +27 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/visini.py +1223 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/visini_et_al_2025_sfd.py +379 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_displ/youngs_et_al_2003_sfd.py +283 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/__init__.py +47 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/base.py +60 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/ferrario_livio_2021_ssr.py +140 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/fixed_ssr.py +85 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/mea22_support_transfer_ssr.py +193 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/moss_et_al_2024_ssr.py +232 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/nurminen_et_al_2020_ssr.py +734 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/petersen_et_al_2011_ssr.py +204 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/rodriguezpadilla_oskin_2023_ssr.py +152 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/takao_et_al_2013_ssr.py +80 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/takao_et_al_2018_ssr.py +92 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/visini_et_al_2025_ssr.py +1087 -0
- pfdha-0.3.0/openquake/pfdha/secondary_surf_rup/youngs_et_al_2003_ssr.py +133 -0
- pfdha-0.3.0/openquake/pfdha/source_builder.py +491 -0
- pfdha-0.3.0/openquake/pfdha/temporal.py +112 -0
- pfdha-0.3.0/openquake/pfdha/temporal_disaggregation.py +419 -0
- pfdha-0.3.0/openquake/pfdha/temporal_driver.py +337 -0
- pfdha-0.3.0/openquake/pfdha/temporal_hazard.py +411 -0
- pfdha-0.3.0/openquake/pfdha/temporal_maps.py +95 -0
- pfdha-0.3.0/openquake/pfdha/temporal_storage.py +130 -0
- pfdha-0.3.0/pfdha.egg-info/PKG-INFO +247 -0
- pfdha-0.3.0/pfdha.egg-info/SOURCES.txt +555 -0
- pfdha-0.3.0/pfdha.egg-info/dependency_links.txt +1 -0
- pfdha-0.3.0/pfdha.egg-info/entry_points.txt +2 -0
- pfdha-0.3.0/pfdha.egg-info/requires.txt +29 -0
- pfdha-0.3.0/pfdha.egg-info/top_level.txt +1 -0
- pfdha-0.3.0/pyproject.toml +82 -0
- pfdha-0.3.0/pytest.ini +17 -0
- pfdha-0.3.0/setup.cfg +4 -0
- pfdha-0.3.0/tests/README.md +44 -0
- pfdha-0.3.0/tests/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/ADOPTION_NOTES.md +34 -0
- pfdha-0.3.0/tests/benchmarks/README.md +56 -0
- pfdha-0.3.0/tests/benchmarks/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/faulted/REFERENCE.md +86 -0
- pfdha-0.3.0/tests/benchmarks/faulted/__init__.py +1 -0
- pfdha-0.3.0/tests/benchmarks/faulted/reference_curves.csv +51 -0
- pfdha-0.3.0/tests/benchmarks/faulted/run_comparison.py +325 -0
- pfdha-0.3.0/tests/benchmarks/faulted/test_frozen_faulted_reference.py +88 -0
- pfdha-0.3.0/tests/benchmarks/faulted/test_live_faulted_reference.py +16 -0
- pfdha-0.3.0/tests/benchmarks/fdhpy/REFERENCE.md +32 -0
- pfdha-0.3.0/tests/benchmarks/fdhpy/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/fdhpy/aleatory_reference.csv +100 -0
- pfdha-0.3.0/tests/benchmarks/fdhpy/comparison_summary.csv +15 -0
- pfdha-0.3.0/tests/benchmarks/fdhpy/test_frozen_aleatory_reference.py +96 -0
- pfdha-0.3.0/tests/benchmarks/fdhpy/test_live_fdhpy_reference.py +101 -0
- pfdha-0.3.0/tests/benchmarks/geometry/REFERENCE.md +10 -0
- pfdha-0.3.0/tests/benchmarks/geometry/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/geometry/test_trace_projection_reference.py +30 -0
- pfdha-0.3.0/tests/benchmarks/iaea/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/iaea/kumamoto_case2/REFERENCE.md +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/kumamoto_case2/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/iaea/kumamoto_case2/configuration/job_kumamoto_case2_Chiou2025.ini +38 -0
- pfdha-0.3.0/tests/benchmarks/iaea/kumamoto_case2/configuration/kumamoto_case2_Chiou2025_pfdha_logic_tree.xml +49 -0
- pfdha-0.3.0/tests/benchmarks/iaea/kumamoto_case2/configuration/kumamoto_case2_Chiou2025_source_model_logic_tree.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/kumamoto_case2/source/source_model_kumamoto_uto.xml +52 -0
- pfdha-0.3.0/tests/benchmarks/iaea/kumamoto_case2/test_kumamoto_case2.py +39 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/REFERENCE.md +29 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/archived_pfdha_results.json +42 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/config_norcia_case3_iaea_pfdha_logic_tree.xml +82 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/config_norcia_case3_iaea_source_model_logic_tree.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/job_norcia_case3_iaea_curve.ini +44 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/source_model_norcia_case3.xml +74 -0
- pfdha-0.3.0/tests/benchmarks/iaea/norcia_case3/test_norcia_case3.py +70 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/README.md +122 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/cases.py +251 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/C24_principal.xml +22 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/K24_principal.xml +23 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/L23_principal_psr085.xml +24 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/L23_principal_psr100.xml +24 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/P11_distributed.xml +40 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/P11_principal.xml +22 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/T13_distributed.xml +42 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/logic_trees/T13_principal.xml +22 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/smlt_base.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/smlt_basecase.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/smlt_floating.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/smlt_sens1.xml +13 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/smlt_sens4.xml +13 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/sources/source_model_basecase.xml +96 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/sources/source_model_futagawa_floating.xml +37 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/sources/source_model_sens1_suizenji.xml +28 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/sources/source_model_sens4.xml +96 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/kumamoto/sources/source_model_uto.xml +28 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/logic_trees/K24_principal.xml +23 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/logic_trees/L23_principal_psr065.xml +24 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/logic_trees/M11_principal.xml +22 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/logic_trees/T13_distributed.xml +42 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/logic_trees/T13_principal.xml +22 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/logic_trees/V24_distributed.xml +42 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/smlt_base.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/smlt_basecase.xml +68 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/smlt_dipflip.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/smlt_sens4.xml +13 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L21_M6p23.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L21_M6p48.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L21_M6p73.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L2p83_M4p7.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L2p83_M4p9.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L2p83_M5p1.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L4p6_M4p8.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L4p6_M4p9.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L4p6_M5.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L5p8_M5p32.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L5p8_M5p52.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_basecase_L5p8_M5p72.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_lrf.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_lrf_dipNW.xml +27 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/le_teil/sources/source_model_sens4.xml +66 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/c3/KuehnEtAl2024PrimaryFD.json +439 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/logic_trees/K24_principal.xml +23 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/logic_trees/L23_principal_psr100.xml +24 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/logic_trees/V24_distributed.xml +43 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/logic_trees/Y03_distributed.xml +42 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/logic_trees/Y03_principal.xml +22 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/smlt_base.xml +12 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/smlt_sens3.xml +13 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/sources/source_model_mvfs.xml +38 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/inputs/norcia/sources/source_model_sens3.xml +62 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig15c_kumamoto_distributed_r10.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig15d_kumamoto_distributed_suizenji.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig19c_leteil_distributed_dipNW.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig19d_leteil_distributed_3faults.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig22b_norcia_distributed_sl.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig22c_norcia_distributed_2sources.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig4a_kumamoto_principal.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig4b_kumamoto_principal_floating.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig4c_leteil_principal.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig4c_leteil_principal_M11.csv +29 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig4d_norcia_principal.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig6a_kumamoto_distributed.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig6b_leteil_distributed.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/reference/fig6c_norcia_distributed.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/snapshots.json +662 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/takao_legacy_snapshots.json +62 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/takao_survival_audit.json +347 -0
- pfdha-0.3.0/tests/benchmarks/iaea/tecdoc2092/test_tecdoc2092.py +129 -0
- pfdha-0.3.0/tests/benchmarks/mammarella2024/REFERENCE.md +66 -0
- pfdha-0.3.0/tests/benchmarks/mammarella2024/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/mammarella2024/mammarella2024_cpsr.csv +10 -0
- pfdha-0.3.0/tests/benchmarks/mammarella2024/test_cpsr_reference.py +55 -0
- pfdha-0.3.0/tests/benchmarks/papers/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/papers/moss_ross_2011/REFERENCE.md +10 -0
- pfdha-0.3.0/tests/benchmarks/papers/moss_ross_2011/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/papers/moss_ross_2011/test_fig6.py +35 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/REFERENCE.md +12 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/__init__.py +0 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/reference_data/case2_combinationA.csv +29 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/reference_data/case2_combinationB.csv +19 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/reference_data/case2_total.csv +22 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/reference_data/visini2025_case1.csv +9 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/reference_data/visini2025_case2.csv +12 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/reference_data/visini2025_case3.csv +12 -0
- pfdha-0.3.0/tests/benchmarks/visini2025/test_reference_data.py +26 -0
- pfdha-0.3.0/tests/component_job.py +59 -0
- pfdha-0.3.0/tests/conftest.py +14 -0
- pfdha-0.3.0/tests/data/regen_mammarella_pins.py +94 -0
- pfdha-0.3.0/tests/data/review_two_fault/job.ini +34 -0
- pfdha-0.3.0/tests/data/review_two_fault/lt/pfdha_lt.xml +35 -0
- pfdha-0.3.0/tests/data/review_two_fault/lt/sm.xml +25 -0
- pfdha-0.3.0/tests/data/review_two_fault/lt/smlt.xml +11 -0
- pfdha-0.3.0/tests/data/smoke/job.ini +54 -0
- pfdha-0.3.0/tests/data/smoke/job_map.ini +43 -0
- pfdha-0.3.0/tests/data/smoke/logic_tree/pfdha_logic_tree.xml +55 -0
- pfdha-0.3.0/tests/data/smoke/logic_tree/rank1p5_traces.xml +30 -0
- pfdha-0.3.0/tests/data/smoke/logic_tree/source_model/source_model.xml +54 -0
- pfdha-0.3.0/tests/data/smoke/logic_tree/source_model_logic_tree.xml +14 -0
- pfdha-0.3.0/tests/integration/__init__.py +0 -0
- pfdha-0.3.0/tests/integration/test_logic_tree_invariants.py +158 -0
- pfdha-0.3.0/tests/test_a6_regressions.py +309 -0
- pfdha-0.3.0/tests/test_applicability_reporting.py +252 -0
- pfdha-0.3.0/tests/test_blind_map_trace_sites.py +160 -0
- pfdha-0.3.0/tests/test_branch_scoped_surface_filter.py +79 -0
- pfdha-0.3.0/tests/test_c3_openquake_gc2_independent_parity.py +83 -0
- pfdha-0.3.0/tests/test_c3_paper_response_and_orientation_contracts.py +48 -0
- pfdha-0.3.0/tests/test_c3_real_event_site_coordinate_oracles.py +132 -0
- pfdha-0.3.0/tests/test_c3_real_event_weighted_gc2_oracles.py +91 -0
- pfdha-0.3.0/tests/test_c3_ridgecrest_lcp_author_cost_parity.py +96 -0
- pfdha-0.3.0/tests/test_c3_supplied_reference_dispatch.py +481 -0
- pfdha-0.3.0/tests/test_ci_ruff_contract.py +16 -0
- pfdha-0.3.0/tests/test_cli.py +113 -0
- pfdha-0.3.0/tests/test_compare_geometry_baseline.py +167 -0
- pfdha-0.3.0/tests/test_component_rate_io.py +57 -0
- pfdha-0.3.0/tests/test_component_rate_transport.py +124 -0
- pfdha-0.3.0/tests/test_config_parsing.py +160 -0
- pfdha-0.3.0/tests/test_config_robustness.py +161 -0
- pfdha-0.3.0/tests/test_coupling_rules.py +199 -0
- pfdha-0.3.0/tests/test_debug_print_guard.py +29 -0
- pfdha-0.3.0/tests/test_disagg_lazy.py +175 -0
- pfdha-0.3.0/tests/test_disaggregation_pairing_contract.py +92 -0
- pfdha-0.3.0/tests/test_displacement_adapter_transform.py +118 -0
- pfdha-0.3.0/tests/test_displacement_components.py +249 -0
- pfdha-0.3.0/tests/test_displacement_config.py +206 -0
- pfdha-0.3.0/tests/test_displacement_logic_tree_preflight.py +97 -0
- pfdha-0.3.0/tests/test_displacement_provenance.py +56 -0
- pfdha-0.3.0/tests/test_displacement_release_contract.py +72 -0
- pfdha-0.3.0/tests/test_displacement_validator_metadata.py +22 -0
- pfdha-0.3.0/tests/test_driver_split.py +130 -0
- pfdha-0.3.0/tests/test_eight_papers_2026_10_27.py +336 -0
- pfdha-0.3.0/tests/test_end_to_end_published.py +82 -0
- pfdha-0.3.0/tests/test_fault_trace_export.py +30 -0
- pfdha-0.3.0/tests/test_fd_orientation_through_adapter.py +74 -0
- pfdha-0.3.0/tests/test_fdhi_geometry_preflight_regression.py +70 -0
- pfdha-0.3.0/tests/test_floating_endpoint_regression.py +70 -0
- pfdha-0.3.0/tests/test_gc2_independent_integral_oracles.py +71 -0
- pfdha-0.3.0/tests/test_geometry_c0_c1.py +392 -0
- pfdha-0.3.0/tests/test_geometry_c1_openquake_gate.py +245 -0
- pfdha-0.3.0/tests/test_geometry_c2.py +353 -0
- pfdha-0.3.0/tests/test_geometry_c3_straight_reference.py +142 -0
- pfdha-0.3.0/tests/test_geometry_map_scientific_oracles.py +87 -0
- pfdha-0.3.0/tests/test_hazard_kernel.py +309 -0
- pfdha-0.3.0/tests/test_headless_plotting.py +14 -0
- pfdha-0.3.0/tests/test_iaea_followup_2026_10_26.py +178 -0
- pfdha-0.3.0/tests/test_kite_source_admission.py +30 -0
- pfdha-0.3.0/tests/test_kuehn2024_original_paper_orientation.py +54 -0
- pfdha-0.3.0/tests/test_leonard2010_paper.py +67 -0
- pfdha-0.3.0/tests/test_leonard2014_paper.py +149 -0
- pfdha-0.3.0/tests/test_logic_tree_io.py +27 -0
- pfdha-0.3.0/tests/test_logic_tree_statistics.py +272 -0
- pfdha-0.3.0/tests/test_mammarella_independent_continuous_oracles.py +171 -0
- pfdha-0.3.0/tests/test_map_antimeridian_preflight_regression.py +30 -0
- pfdha-0.3.0/tests/test_map_component_accumulation.py +43 -0
- pfdha-0.3.0/tests/test_map_inversion_vectorized.py +70 -0
- pfdha-0.3.0/tests/test_map_output_retention.py +347 -0
- pfdha-0.3.0/tests/test_map_selected_global_indices.py +106 -0
- pfdha-0.3.0/tests/test_map_smlt_dominant_selected_sites.py +115 -0
- pfdha-0.3.0/tests/test_model_audit_2026_10_26.py +281 -0
- pfdha-0.3.0/tests/test_model_contract_inheritance.py +107 -0
- pfdha-0.3.0/tests/test_model_option_domain_regression.py +63 -0
- pfdha-0.3.0/tests/test_model_registry.py +132 -0
- pfdha-0.3.0/tests/test_model_regression.py +1272 -0
- pfdha-0.3.0/tests/test_model_resource_limits_regression.py +55 -0
- pfdha-0.3.0/tests/test_model_review_followup.py +276 -0
- pfdha-0.3.0/tests/test_moss2013_vs30_regression.py +76 -0
- pfdha-0.3.0/tests/test_moss2024_md_analytical_quadrature.py +137 -0
- pfdha-0.3.0/tests/test_moss_papers_2026_10_27.py +78 -0
- pfdha-0.3.0/tests/test_moss_support_transfer_expectation.py +53 -0
- pfdha-0.3.0/tests/test_multigroup_parallel_execution.py +54 -0
- pfdha-0.3.0/tests/test_naming_consistency.py +40 -0
- pfdha-0.3.0/tests/test_native_placement_diagnostics.py +179 -0
- pfdha-0.3.0/tests/test_native_rupture_streaming_regression.py +111 -0
- pfdha-0.3.0/tests/test_nrml_subset_writer.py +19 -0
- pfdha-0.3.0/tests/test_nurminen2020_published_table2_oracles.py +100 -0
- pfdha-0.3.0/tests/test_nurminen_rank2_expectation.py +67 -0
- pfdha-0.3.0/tests/test_output_branch_provenance.py +45 -0
- pfdha-0.3.0/tests/test_output_review_regressions.py +147 -0
- pfdha-0.3.0/tests/test_output_volume.py +119 -0
- pfdha-0.3.0/tests/test_petersen_chen_2026_10_27.py +210 -0
- pfdha-0.3.0/tests/test_petersen_location_quadrature.py +123 -0
- pfdha-0.3.0/tests/test_physical_geometry_cache_scope.py +53 -0
- pfdha-0.3.0/tests/test_principal_beta_md_quadrature.py +78 -0
- pfdha-0.3.0/tests/test_probability_axis_contract.py +78 -0
- pfdha-0.3.0/tests/test_probability_utils.py +139 -0
- pfdha-0.3.0/tests/test_provenance_inputs.py +95 -0
- pfdha-0.3.0/tests/test_rake_and_youngs_efficiency.py +50 -0
- pfdha-0.3.0/tests/test_rake_boundary_chain_regression.py +76 -0
- pfdha-0.3.0/tests/test_rank1p5_source_filter.py +101 -0
- pfdha-0.3.0/tests/test_readme_scientific_geometry_docs.py +109 -0
- pfdha-0.3.0/tests/test_release_metadata.py +127 -0
- pfdha-0.3.0/tests/test_rereview_input_validation.py +352 -0
- pfdha-0.3.0/tests/test_review_2026_10_23.py +781 -0
- pfdha-0.3.0/tests/test_review_model_sensitivities.py +175 -0
- pfdha-0.3.0/tests/test_review_physical_geometry.py +170 -0
- pfdha-0.3.0/tests/test_review_preflight_extensions.py +46 -0
- pfdha-0.3.0/tests/test_review_regressions.py +938 -0
- pfdha-0.3.0/tests/test_review_support_geometry.py +172 -0
- pfdha-0.3.0/tests/test_review_visini_offsets.py +68 -0
- pfdha-0.3.0/tests/test_review_visini_rank2_cli.py +229 -0
- pfdha-0.3.0/tests/test_review_visini_rank2_expectation.py +191 -0
- pfdha-0.3.0/tests/test_round10_audit.py +173 -0
- pfdha-0.3.0/tests/test_round11_audit.py +155 -0
- pfdha-0.3.0/tests/test_round12_review.py +289 -0
- pfdha-0.3.0/tests/test_round13_model_contracts.py +98 -0
- pfdha-0.3.0/tests/test_round6_regressions.py +190 -0
- pfdha-0.3.0/tests/test_run_audit.py +194 -0
- pfdha-0.3.0/tests/test_rupture_distance_and_filter.py +594 -0
- pfdha-0.3.0/tests/test_sampling_reproducibility.py +232 -0
- pfdha-0.3.0/tests/test_shape_contract_censoring.py +217 -0
- pfdha-0.3.0/tests/test_sinuous_trace_preflight_regression.py +87 -0
- pfdha-0.3.0/tests/test_small_probability_unions.py +56 -0
- pfdha-0.3.0/tests/test_smoke_end_to_end.py +226 -0
- pfdha-0.3.0/tests/test_source_model_lt_filters.py +21 -0
- pfdha-0.3.0/tests/test_source_policy.py +261 -0
- pfdha-0.3.0/tests/test_source_reachability.py +52 -0
- pfdha-0.3.0/tests/test_stage1_independent_scientific_oracles.py +125 -0
- pfdha-0.3.0/tests/test_stage1_multisite_output_oracles.py +136 -0
- pfdha-0.3.0/tests/test_stage1_source_alternative_analytic_scaling.py +120 -0
- pfdha-0.3.0/tests/test_stage1_surface_rate_oracles.py +83 -0
- pfdha-0.3.0/tests/test_style.py +140 -0
- pfdha-0.3.0/tests/test_surface_filter_rate_closure_regression.py +71 -0
- pfdha-0.3.0/tests/test_takao_end_cells.py +111 -0
- pfdha-0.3.0/tests/test_takao_survival_quadrature.py +48 -0
- pfdha-0.3.0/tests/test_todorovska_section9.py +85 -0
- pfdha-0.3.0/tests/test_v030_bpt.py +162 -0
- pfdha-0.3.0/tests/test_v030_floating_lattice.py +109 -0
- pfdha-0.3.0/tests/test_v030_forecast_diagnostics.py +130 -0
- pfdha-0.3.0/tests/test_v030_gis_adapter.py +124 -0
- pfdha-0.3.0/tests/test_v030_source_export.py +209 -0
- pfdha-0.3.0/tests/test_v030_source_mfd.py +137 -0
- pfdha-0.3.0/tests/test_v030_temporal_admission.py +82 -0
- pfdha-0.3.0/tests/test_v030_temporal_branches.py +61 -0
- pfdha-0.3.0/tests/test_v030_temporal_disaggregation.py +201 -0
- pfdha-0.3.0/tests/test_v030_temporal_driver.py +206 -0
- pfdha-0.3.0/tests/test_v030_temporal_hazard.py +272 -0
- pfdha-0.3.0/tests/test_v030_temporal_maps.py +101 -0
- pfdha-0.3.0/tests/test_v030_temporal_probability.py +123 -0
- pfdha-0.3.0/tests/test_v030_temporal_storage.py +62 -0
- pfdha-0.3.0/tests/test_v030_termination_routing.py +71 -0
- pfdha-0.3.0/tests/test_validation_reporting.py +47 -0
- pfdha-0.3.0/tests/test_vertical_conversion_contract.py +167 -0
- pfdha-0.3.0/tests/test_visini2025_author_length_sampling.py +165 -0
- pfdha-0.3.0/tests/test_visini2025_original_paper_tables.py +144 -0
- pfdha-0.3.0/tests/test_visini_author_distance_convention_gate.py +42 -0
- pfdha-0.3.0/tests/test_visini_b_near_far_principal_reference.py +125 -0
- pfdha-0.3.0/tests/test_visini_b_side_admission_regression.py +42 -0
- pfdha-0.3.0/tests/test_visini_config_robustness.py +31 -0
- pfdha-0.3.0/tests/test_visini_displacement_transform.py +120 -0
- pfdha-0.3.0/tests/test_visini_event_participation.py +75 -0
- pfdha-0.3.0/tests/test_visini_geospatial_reference_diagnostic.py +123 -0
- pfdha-0.3.0/tests/test_visini_monte_carlo_cache_precision.py +61 -0
- pfdha-0.3.0/tests/test_visini_preflight.py +248 -0
- pfdha-0.3.0/tests/test_visini_published_slice_distance.py +264 -0
- pfdha-0.3.0/tests/test_visini_rank15_site_independence.py +110 -0
- pfdha-0.3.0/tests/test_visini_rank2_fulljob_sensitivity.py +53 -0
- pfdha-0.3.0/tests/test_visini_scientific_fail_closed.py +217 -0
- pfdha-0.3.0/tests/test_wp1_author_signed_classification.py +28 -0
- pfdha-0.3.0/tests/test_wp1_sampling_and_bins.py +86 -0
- pfdha-0.3.0/tests/test_wp1f_sampling_conventions.py +56 -0
- pfdha-0.3.0/tests/test_wp2_visini_figure13_oracles.py +117 -0
- pfdha-0.3.0/tests/test_wp3_visini_original_geometry.py +155 -0
- pfdha-0.3.0/tests/test_wp3r1_author_link_precedence.py +81 -0
- pfdha-0.3.0/tests/test_wp3r1_rank15_feature_identity.py +203 -0
- pfdha-0.3.0/tests/test_wp3r2_finite_site_domain.py +140 -0
- pfdha-0.3.0/tests/test_wp3r3_c_feature_evidence.py +240 -0
- pfdha-0.3.0/tests/test_wp3r4_dependence_bounds.py +175 -0
- pfdha-0.3.0/tests/test_wp3r4_original_overlap.py +103 -0
- pfdha-0.3.0/tests/test_wp3r5_fulljob_qualification.py +134 -0
- pfdha-0.3.0/tests/test_wp4_fdhi_ridgecrest_measured_sites.py +92 -0
- pfdha-0.3.0/tests/test_wp4_ridgecrest_lcp_sites.py +126 -0
- pfdha-0.3.0/tests/test_wp4_ridgecrest_original_chiou_sites.py +125 -0
- pfdha-0.3.0/tests/test_wp4r4_original_paired_reference.py +101 -0
- pfdha-0.3.0/tests/test_wp4r4_paired_ridgecrest.py +145 -0
- pfdha-0.3.0/tests/test_wp5_integration_docs_contract.py +69 -0
- pfdha-0.3.0/tests/test_wp5r1_la23_segment_scs.py +250 -0
- pfdha-0.3.0/tests/test_wp5r2_moss24_event_ecs.py +235 -0
- pfdha-0.3.0/tests/test_wp5r3_file_nrml_c3.py +230 -0
- pfdha-0.3.0/tests/test_wp5r3_lt_hazard_disagg.py +297 -0
- pfdha-0.3.0/tests/test_wp5r4_manifest_final_gate.py +90 -0
- pfdha-0.3.0/tools/capture_v030_baseline.py +73 -0
- pfdha-0.3.0/tools/capture_v030_extended_baseline.py +79 -0
- pfdha-0.3.0/tools/check_debug_prints.py +78 -0
- pfdha-0.3.0/tools/check_installed_integrated_job.py +115 -0
- pfdha-0.3.0/tools/check_time_window_gis_irmt.py +131 -0
- pfdha-0.3.0/tools/check_time_window_gis_qgis.py +58 -0
- pfdha-0.3.0/tools/compare_geometry_baseline.py +720 -0
- pfdha-0.3.0/tools/load_time_window_gis_qgis.py +135 -0
- pfdha-0.3.0/tools/plot_readme_benchmark.py +100 -0
- pfdha-0.3.0/tools/run_qgis_provider_check.py +95 -0
- pfdha-0.3.0/tools/select_qgis_workspace_windows.py +67 -0
- pfdha-0.3.0/tools/v030_geometry_convergence.py +94 -0
- pfdha-0.3.0/tools/v030_geometry_hazard_study.py +194 -0
- pfdha-0.3.0/tools/v030_iaea_attribution.py +106 -0
- pfdha-0.3.0/tools/v030_iaea_history.py +113 -0
- pfdha-0.3.0/tools/v030_mesh_boundary_study.py +53 -0
- pfdha-0.3.0/tools/v030_mfd_reuse_audit.py +121 -0
- pfdha-0.3.0/tools/v030_streaming_memory.py +106 -0
- pfdha-0.3.0/tools/v030_surface_length_study.py +209 -0
- pfdha-0.3.0/tools/v030_takao_iaea_snapshot_audit.py +155 -0
- pfdha-0.3.0/tools/v030_takao_quadrature.py +121 -0
- pfdha-0.3.0/tools/v030_temporal_reuse_audit.py +98 -0
- pfdha-0.3.0/tools/v030_tip_coverage.py +110 -0
- pfdha-0.3.0/tools/v030_tip_diagnosis.py +75 -0
- pfdha-0.3.0/tools/validate_windows_release_artifacts.py +278 -0
- pfdha-0.3.0/tools/verify_wp1_derived_evidence.py +57 -0
- pfdha-0.3.0/tools/wp1_assert_independent_census.py +41 -0
- pfdha-0.3.0/tools/wp1_compare_fratios_to_production.py +65 -0
- pfdha-0.3.0/tools/wp1_compare_source_geometry.py +191 -0
- pfdha-0.3.0/tools/wp1_diagnose_parent_distances.py +90 -0
- pfdha-0.3.0/tools/wp1_interpm_sensitivity.py +121 -0
- pfdha-0.3.0/tools/wp1_reconstruct_fratios.py +141 -0
- pfdha-0.3.0/tools/wp1_reconstruct_parent_distances.py +212 -0
- pfdha-0.3.0/tools/wp1_site_level_reference_sensitivity.py +93 -0
- pfdha-0.3.0/tools/wp1_verify_source_archives.py +90 -0
- pfdha-0.3.0/tools/wp1f_aeqd_geodesic_reference.py +135 -0
- pfdha-0.3.0/tools/wp1f_original_trace_site_sensitivity.py +188 -0
- pfdha-0.3.0/tools/wp1f_sampling_conventions.py +187 -0
- pfdha-0.3.0/tools/wp2_compare_montecarlo_contracts.py +75 -0
- pfdha-0.3.0/tools/wp2_visini_figure13_oracle.py +197 -0
- pfdha-0.3.0/tools/wp3_visini_original_geometry.py +404 -0
- pfdha-0.3.0/tools/wp3r1_original_parent_links.py +236 -0
- pfdha-0.3.0/tools/wp3r3_original_c_ontology.py +110 -0
- pfdha-0.3.0/tools/wp3r4_original_overlap_dependence.py +165 -0
- pfdha-0.3.0/tools/wp4_chiou_real_lcp_sensitivity.py +156 -0
- pfdha-0.3.0/tools/wp4_fdhi_ridgecrest_measured_sites.py +113 -0
- pfdha-0.3.0/tools/wp4_pinned_lcp_fixtures.py +115 -0
- pfdha-0.3.0/tools/wp4_ridgecrest_lcp_sites.py +185 -0
- pfdha-0.3.0/tools/wp4r4_paired_ridgecrest_sensitivity.py +310 -0
- pfdha-0.3.0/tools/wp5r1_la23_author_parity.py +272 -0
- pfdha-0.3.0/tools/wp5r2_moss24_paper_ecs_oracle.py +206 -0
pfdha-0.3.0/CHANGELOG.md
ADDED
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to PFDHA are documented here. The format is based loosely on
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/).
|
|
5
|
+
|
|
6
|
+
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
## [0.3.0]
|
|
9
|
+
|
|
10
|
+
### Source forecasts and geometry
|
|
11
|
+
|
|
12
|
+
- Add an opt-in geological source builder for native OpenQuake simple faults,
|
|
13
|
+
characteristic, Gaussian characteristic, truncated Gutenberg–Richter,
|
|
14
|
+
Youngs–Coppersmith and supplied incremental MFDs. Explicitly balance discrete
|
|
15
|
+
seismic moment rates, preserve source-trace provenance and export NRML source
|
|
16
|
+
alternatives. Retain native area-based floating earthquake rupture generation.
|
|
17
|
+
- Document rupture mesh convergence and termination applicability, including
|
|
18
|
+
refusal of ambiguous geometry and unresolved near-tip sensitivity. No generic
|
|
19
|
+
surface-length generator or extra surface-coverage multiplier is introduced.
|
|
20
|
+
- Refuse explicit non-Poisson and clustered occurrence semantics in stationary
|
|
21
|
+
calculations rather than flattening them into independent annual rates.
|
|
22
|
+
|
|
23
|
+
### Time-window hazard (opt-in Python API)
|
|
24
|
+
|
|
25
|
+
- Integrate Poisson, fated, negative-binomial, supplied finite event-count PMFs
|
|
26
|
+
and Brownian passage-time renewal counts over explicitly declared independent
|
|
27
|
+
parent event populations. Preserve complete MFD mark-rate budgets and apply
|
|
28
|
+
surface-rupture probability once. The renewal count truncation and residual
|
|
29
|
+
tail are explicit.
|
|
30
|
+
- Mix complete epistemic realization probabilities after time-window integration.
|
|
31
|
+
Provide separate total, principal and distributed PoEs, expected exceedance
|
|
32
|
+
counts, reference rates and clearly labelled equivalent-rate diagnostics.
|
|
33
|
+
- Export curves and target-PoE maps on the supplied curve sites with no out-of-grid
|
|
34
|
+
extrapolation. Attribute exceedance probability to a uniformly selected
|
|
35
|
+
exceeding event, including supported physical disaggregation bins and
|
|
36
|
+
outside-bin mass.
|
|
37
|
+
|
|
38
|
+
### Forecast diagnostics and GIS
|
|
39
|
+
|
|
40
|
+
- Export native rupture geometries, occurrence-rate balance, moment budgets,
|
|
41
|
+
surface-coverage diagnostics and sparse selected-site reference rate
|
|
42
|
+
contributions without altering the default stationary calculation.
|
|
43
|
+
- Export total/principal/distributed probability curves and target-PoE map
|
|
44
|
+
GeoJSON with explicit quantity, duration, component and censoring metadata.
|
|
45
|
+
Optionally include already calculated total-probability disaggregation by site.
|
|
46
|
+
The QGIS-console loader passed the QGIS/IRMT offscreen provider and widget
|
|
47
|
+
checks, including distinct statistic labels and exact plotted ordinates;
|
|
48
|
+
existing stationary GeoPackage products are retained.
|
|
49
|
+
|
|
50
|
+
### Stationary map output retention
|
|
51
|
+
|
|
52
|
+
- Add explicit `[output] map_retention = minimal | standard | full`. Standard
|
|
53
|
+
omits per-branch HDF5 grids; minimal additionally omits extra presentation
|
|
54
|
+
exports. Preserve aggregate rates, native displacement maps and requested
|
|
55
|
+
disaggregation. The default remains full for backward compatibility.
|
|
56
|
+
- Exact matched synthetic regression confirms unchanged numerical outputs,
|
|
57
|
+
including multiple source alternatives and parallel branch execution.
|
|
58
|
+
|
|
59
|
+
### Qualification scope
|
|
60
|
+
|
|
61
|
+
- The v0.3.0 candidate passed 2,599 core tests (17 skipped), 10 selected
|
|
62
|
+
published-reference tests (one skipped), all 70 IAEA TECDOC-2092 tests and
|
|
63
|
+
isolated wheel/sdist installation on Windows x64, Ubuntu 24.04 x64 and
|
|
64
|
+
macOS 15 ARM64. See the [validation record](docs/10-Validation.md).
|
|
65
|
+
Before cross-platform qualification, the three Takao principal AD survival
|
|
66
|
+
snapshots were revised against an independently converged quadrature reference;
|
|
67
|
+
published benchmark acceptance criteria were unchanged.
|
|
68
|
+
- Temporal verification covers exact simple-fault trees with explicitly
|
|
69
|
+
independent parent processes and IID event marks. Sampled temporal trees,
|
|
70
|
+
native nonparametric sources, dependent parent processes, broader source types,
|
|
71
|
+
and regional-scale temporal performance remain outside the verified scope.
|
|
72
|
+
Site-specific mesh convergence near rupture endpoints remains an engineering
|
|
73
|
+
check. See the [validation record](docs/10-Validation.md) for the scope and evidence.
|
|
74
|
+
|
|
75
|
+
### Internal module naming
|
|
76
|
+
|
|
77
|
+
- Rename the four reference-geometry modules to `reference_manifest`,
|
|
78
|
+
`straight_reference`, `supplied_reference` and `generalized_coordinate_integral`.
|
|
79
|
+
Update runtime imports, diagnostic tools, tests and distribution checks.
|
|
80
|
+
Existing job configuration keys and numerical algorithms are unchanged.
|
|
81
|
+
|
|
82
|
+
## [0.2.0]
|
|
83
|
+
|
|
84
|
+
- Visini Rank-2 hazard jobs default to deterministic expectation for uniform
|
|
85
|
+
placement with truncated lognormal length sampling. Set `rank2_method = monte_carlo`
|
|
86
|
+
and retain the original seed and sample count to reproduce earlier runs.
|
|
87
|
+
Other placement or length-sampling choices continue to default to Monte Carlo.
|
|
88
|
+
|
|
89
|
+
### Geometry and numerical calculations
|
|
90
|
+
|
|
91
|
+
- Use the participating physical fault trace for distributed displacement
|
|
92
|
+
geometry and rupture length. Validate finite site supports and carry their
|
|
93
|
+
stable site IDs through the calculation.
|
|
94
|
+
- Update Youngs and Moss–Ross beta-distribution integration, split Petersen
|
|
95
|
+
rupture-location quadrature at occurrence breakpoints, and preserve ordered
|
|
96
|
+
Moss distance survival probabilities.
|
|
97
|
+
- Resolve Takao segment placement at rupture ends, verify the Quigley endpoint
|
|
98
|
+
taper, and align scaling-relation rake routing with PFDHA fault styles.
|
|
99
|
+
- Add a Todorovska Section 9 diagnostic and record the unresolved production
|
|
100
|
+
qualification.
|
|
101
|
+
|
|
102
|
+
### Performance and outputs
|
|
103
|
+
|
|
104
|
+
- Batch Takao quadrature and logic-tree fractiles, reuse Visini scaling across
|
|
105
|
+
sites, and pool map realizations without a second full-size rate array.
|
|
106
|
+
- Accept a single displacement threshold for curves. Maps require at least
|
|
107
|
+
two thresholds for inversion. Document `region_grid_spacing` in degrees.
|
|
108
|
+
- Record selection fingerprints for curve branches and the installed OpenQuake
|
|
109
|
+
version in run provenance. Remove the unused `numerical_checks_ok` field.
|
|
110
|
+
|
|
111
|
+
### Model contracts and vertical conversion
|
|
112
|
+
|
|
113
|
+
- Apply inherited aggregate-displacement and style restrictions to registered
|
|
114
|
+
model extensions while preserving their effective parameter defaults.
|
|
115
|
+
- Resolve support-transfer footprint defaults and retain both rectangular
|
|
116
|
+
dimensions in validation and provenance; preserve the explicit mixed-support opt-in.
|
|
117
|
+
- Validate extension options, fixed occurrence probabilities and unqualified
|
|
118
|
+
Kuehn orientation before hazard calculation.
|
|
119
|
+
- Use the current rupture dip for LA23/QEA25 vertical conversion unless an
|
|
120
|
+
explicit near-surface dip overrides it. Preserve the pure dip-slip projection,
|
|
121
|
+
reject unsupported slip directions, and record internal conversion provenance
|
|
122
|
+
and resolved per-rupture parameters. Earlier implicit 45-degree conversions
|
|
123
|
+
require an explicit `near_surface_dip_deg = 45` setting for reproduction.
|
|
124
|
+
- Expose QEA25 parent percentile and displacement-profile variability options.
|
|
125
|
+
- Include documentation PNG/SVG assets in source distributions.
|
|
126
|
+
|
|
127
|
+
### Model options and output volume (November 2026)
|
|
128
|
+
|
|
129
|
+
Later geometry and numerical corrections can change hazard rates.
|
|
130
|
+
|
|
131
|
+
- **Vertical-component principal adapters** (`primary_surf_displ/vertical_component_fd.py`): LA23 and QEA25 converted to
|
|
132
|
+
vertical with the source dip; MEA24 native vertical with `md_bound` = cap | truncate.
|
|
133
|
+
- **MEA22 occurrence on a site support** (`secondary_surf_rup/mea22_support_transfer_ssr.py`) and the MEA22 named
|
|
134
|
+
displacement sensitivities (`secondary_surf_displ/mea22_workflow_sfd.py`).
|
|
135
|
+
- **Exact support-polygon distances** (`calc/utils/support_geometry.py`), passed to Visini (VEA25) through the rupture
|
|
136
|
+
context (`calc/contexts.py`, `calc/hazard.py`, `calc/model_adapter.py`); per-site VEA25 options (`occurrence_offset_m`,
|
|
137
|
+
`b_occurrence_offset_m`, `b_side`, `near_far_reference`, `support_polygon`).
|
|
138
|
+
- **VEA25 Rank-2:** `rank2_method = expectation` evaluates the exact expected value with site-centred windows.
|
|
139
|
+
- **VEA25 TPFm:** the continuous window average replaces the grid-node mean. The six IAEA TECDOC-2092 `distributed_V24`
|
|
140
|
+
snapshots are regenerated (largest change 1.9e-3 relative, at a 1.1e-14 /yr rate; 9.6e-12 /yr absolute); the original
|
|
141
|
+
grid-node method reproduces the old snapshots to 1e-6.
|
|
142
|
+
- **Output volume.** `[output].max_curve_fractile_plots` and
|
|
143
|
+
`[disaggregation].max_site_outputs` default to 10 sites and accept a count,
|
|
144
|
+
`0`, or `all`. The disaggregation cap applies to per-site products for
|
|
145
|
+
curves and maps. The HDF5 archives retain all selected sites.
|
|
146
|
+
|
|
147
|
+
### October 23 package review fixes
|
|
148
|
+
|
|
149
|
+
Changes that alter results or require configuration changes:
|
|
150
|
+
|
|
151
|
+
- **Fractiles (B1):** joint realizations take the same branch from a branch set shared by several source groups, weighted once. Fractiles of trees with shared sets change; means do not.
|
|
152
|
+
- **Monte Carlo logic-tree sampling (B2):** samples are whole logic-tree paths, so no source group can be left out; fractiles use the sampled paths.
|
|
153
|
+
- **Moss et al. (2024) distributed models (S1, S2):** the GIRS-2022-05 distance-frequency factor (1 - F(r)) is restored in `MossEtAl2024SecondarySR` (new `complexity` option, matched by the FD), and the distributed MD sigma is 0.20.
|
|
154
|
+
- **Visini (N2):** `pixel_size` is now required on `VisiniEtAl2025SecondarySR` branches.
|
|
155
|
+
- **Mixed distributed footprints:** validation and run stop when secondary SR branches use different cell sizes, unless `[calculation] allow_mixed_site_footprints = true`.
|
|
156
|
+
- **Distributed distances (N3):** distributed models receive `r_physical_km` (equal to the legacy distance except for simple faults with bends on coarse meshes).
|
|
157
|
+
- **Along-strike windows (T2-12):** Visini and Nurminen centre the site window on the site, not mid-rupture.
|
|
158
|
+
- **Complex and kite sources (N1):** Mammarella P_SR uses the source's seismogenic thickness.
|
|
159
|
+
- **Map grid (T4-23):** no `np.arange` overshoot; polygon regions are not reduced to their bounding box; antimeridian regions are rejected.
|
|
160
|
+
- **Map inversion (B3):** values in a bracket whose upper level has zero rate are NaN and flagged `censored_high`.
|
|
161
|
+
|
|
162
|
+
From the 26 October implementation cross-check:
|
|
163
|
+
|
|
164
|
+
- **Aggregate primary FD + distributed models rejected:** Kuehn (2024) and LA23 `metric=aggregate` already include distributed slip.
|
|
165
|
+
- **Mammarella P_SR:** `hdr_mode=matlab` fixed (truncated-normal width weights dropped the lower node) and made the default; it matches all nine archived CPSR.m values within 2e-4.
|
|
166
|
+
- **LA23 sum-of-principal, full rupture:** P(zero slip) uses mu_agg' as in the authors' code and fdhpy.
|
|
167
|
+
- **Moss (2024) MD `completeness=all`** is rejected in job configurations (GIRS-2022-05 Table 4.4: not for hazard).
|
|
168
|
+
|
|
169
|
+
From the IAEA TECDOC-2092 benchmark (26 October):
|
|
170
|
+
|
|
171
|
+
- **Petersen et al. (2011) distributed rupture beyond 2 km:** the Table 4 power law is extrapolated with a warning, as the paired FD already was. It previously returned zero, which made distributed hazard silently zero at the exercise sites at 5.2 and 10 km.
|
|
172
|
+
- **Takao distributed displacement:** the principal PAD/PMD lognormal is now integrated untruncated by default, matching `TakaoEtAl2013PrimaryFD` (previously a fixed ±3 sigma; tail rates beyond ~1 m rise, e.g. 2.3x at 5 m for Mw 6.5, r = 5.2 km). New `truncation_sigma` selects a truncation; trapezoid end weights make truncated integrals agree with adaptive quadrature to within 2e-7.
|
|
173
|
+
- **Takao coupling:** `TakaoEtAl2018SecondarySR` may pair with `TakaoEtAl2013SecondaryFD` (the TECDOC-2092 T13 chain); the 2013 SR still requires its 2013 FD.
|
|
174
|
+
- **`max_distance_km`:** accepted in `[hazard_curve.calculation]`; read from every section that may set it, with conflicting values rejected. Sites with no rupture inside it now log a warning instead of silently reporting zero hazard.
|
|
175
|
+
- **Youngs et al. (2003) distributed FD:** Figure 11 anchors corrected to the paper's 0.35 exp(-0.091 r) / 0.16 exp(-0.137 r) (were 0.353 / 0.163), and the WC94 MD lognormal is convolved untruncated by default (`truncation_sigma` selects a truncation). Distributed tail rates change by up to ~16% (IAEA Norcia), moving closer to the published team curves.
|
|
176
|
+
- **Logic-tree fractiles:** cumulative weights are compared with q using a 1e-9 tolerance, so equal-weight (Monte Carlo) trees and weights such as 0.03/0.04/0.43 select the same branch regardless of floating-point round-off and branch ranking.
|
|
177
|
+
- **Takao et al. (2013) principal FD now includes P2p** (Eqs. 1-2, Fig. 3; `include_p2p`, default true): the probability that principal surface slip reaches the site, with x/L and the 10 km rule evaluated on the surface-rupture segment. Principal T13 rates are multiplied by P2p in effect (about 0.1 near rupture tips at Mw 6.5, about 0.58 mid-rupture, and 1 above Mw 7.5). The IAEA T13 principal curves are now reproduced without the fitted 0.48 factor (Kumamoto 1.2%). The fallback source length is Takemura (1998), as in the paper.
|
|
178
|
+
- **Youngs (2003) Eq. 8 event term:** new opt-in `event_term = "marginal"` on `YoungsEtAl2003SecondarySR` integrates z_i ~ N(0, 1) (about 1.2x the default z_i = 0 "average behavior"); the paper does not prescribe which to use in hazard, so the default is unchanged.
|
|
179
|
+
- **Kuehn et al. (2024):** warns below M 6 for strike-slip and normal faulting, where the authors do not recommend the model (p. 19). Coefficients and posterior draws verified against Table A1.
|
|
180
|
+
- **C3 references:** a warning is logged when a supplied ECS/LCP reference length differs from the rupture's surface length by more than 10%; KEA24 normalises x by the surface rupture length (pp. 4, 7), so the reference must span the rupture tips.
|
|
181
|
+
- **Moss et al. (2024) and Chiou et al. (2025) checked against the articles:** equations and tables reproduce independent quadrature; the C3 geometry for both is now cited (MEA24: L = total surface rupture length; CEA25: GC2 U along the LCP main trace divided by its length). Chiou's M 6.0–8.3 range is reported by the applicability tracker. No other results change.
|
|
182
|
+
- **Moss & Ross (2011) and Moss et al. (2013) checked against the papers:** all coefficients match. Added range warnings (Mw 5.5-8 for Moss & Ross surface rupture; Mw 4.2-8.7 for Moss 2013) and a warning when one rupture's sites straddle the Moss 2013 stiff/soft 600 m/s boundary, since its Vs30 is a fault-trace average.
|
|
183
|
+
- **Petersen et al. (2011) normalized distributed displacement fixed:** Eq. 19 slope -0.1826 (was -0.1862) and sigma 1.1388 (was 1.138), and the Wells & Coppersmith D_ave lognormal is now integrated (Eq. 4) instead of a fixed elliptical-model mean. Affects `version = d/ad` only.
|
|
184
|
+
- **Petersen principal:** the bilinear crossover follows Eq. 9 without clipping; new `norm_disp_type = AD` gives the paper's normalized Eqs. 14-17.
|
|
185
|
+
- **Principal location uncertainty (Chen & Petersen 2019):** optional `rupture_location_sigma_km` (km or a Petersen Tables 2-3 category) with `site_dimension_km` weights the principal term by the probability that the rupture crosses the footprint. Off by default.
|
|
186
|
+
- **Characteristic sources use their declared trace:** a surface-reaching `simpleFaultGeometry` trace is attached at parsing and used as physical support, as for simple fault sources (the resampled mesh edge can sit about 135 m off a bent trace). IAEA distributed results change by under 0.2%.
|
|
187
|
+
- **Curvature guard measures straightness:** FDHI models are refused on a trace only if a vertex lies more than 1% of the chord length off the chord, not for any trace with more than two vertices. IAEA Norcia K24 now runs with a C3 reference (the declared trace); Norcia L23 is refused, since the trace was always curved and was previously hidden by the mesh.
|
|
188
|
+
- **Visini:** `r_threshold_km` below 5 m is rejected (the authors excluded data within 5 m of the principal fault).
|
|
189
|
+
- **New `RPO2023SecondaryFD`:** the Rodriguez Padilla & Oskin (2023) displacement term (Eqs. 3-7, 9), paired with `RPO2023SecondarySR`.
|
|
190
|
+
- **RPO23 site footprint (Eq. 12):** `pixel_size` (across strike) and new `along_strike_width` (whole metres, default 1 × 1, unchanged results) aggregate the RPO occurrence and displacement terms over a site footprint as 1 − Π(1 − ν·P(S > S0)) over independent 1 m² cells; both RPO branches must use the same footprint.
|
|
191
|
+
- **Moss et al. (2013) `fault_vs30`:** optional trace-averaged Vs30 (the paper's predictor, p. 485) that replaces the site Vs30; without it, results are unchanged.
|
|
192
|
+
- **Distributed location uncertainty (Petersen et al. 2011, Eq. 2):** optional `distributed_location_uncertainty = true` averages the distributed term over the rupture-offset density, counting an offset as distributed only if the shifted rupture misses the footprint, so it partitions the offsets exactly with the principal P2. Off by default; not available with Visini.
|
|
193
|
+
- **Quigley et al. (2025) `dad_variability = gamma`:** optional within-rupture D/AD scatter from Yang et al. (2021) Fig. 11D (gamma parameters digitised from the figure), convolved with the AD scatter. Default unchanged.
|
|
194
|
+
- **End-to-end published benchmark:** Chen & Petersen (2019) Fig. 5 through the full engine, seven peaks within 4 cm.
|
|
195
|
+
- **README rewritten (27 October):**
|
|
196
|
+
- Practical sections come first, with a table of the included models, exact installation commands, an abridged job file, the real output tree and the CSV columns.
|
|
197
|
+
- The validation evidence is current: paper checks, the IAEA TECDOC-2092 suite and the Chen & Petersen end-to-end check.
|
|
198
|
+
- New benchmark figure (IAEA Kumamoto principal), regenerated by `tools/plot_readme_benchmark.py`.
|
|
199
|
+
- Added the SIGMA3 Deliverable 3.1 citation to NOTICE and the References.
|
|
200
|
+
- README contract tests updated to the new structure. The validation note's IAEA counts are corrected to 23 quantitative and 3 refused cases.
|
|
201
|
+
- **Open items closed (27 October, second round):**
|
|
202
|
+
- Quigley gamma D/AD parameters are now fitted to the vector curves of Yang et al. (2021) Fig. 11D in the published PDF (k = 1.1228, 1.7407, 3.4385, 2.6554; θ = 0.5005, 0.4966, 0.3168, 0.4616); the page-image values were within 2%. Affects `dad_variability = gamma` only.
|
|
203
|
+
- rx = 0 is hanging wall in every side-dependent model (Youngs SR/FD, Moss 2024 SR/FD and Ferrario & Livio used rx > 0). Changes results only for sites exactly on the extended strike line.
|
|
204
|
+
- Models are evaluated only where their zone has non-zero weight (identical results; a 400-site Kuehn run 1.7x faster). Range warnings no longer fire for sites whose term is zero.
|
|
205
|
+
- `percentile` semantics are classified per model, and a sensitivity-type percentile is flagged with a warning.
|
|
206
|
+
- RPO23: the published equations are followed; the paper's printed 0.39 example is treated as an error.
|
|
207
|
+
- **Independent review fixes (27 October):** location uncertainty treats sites beyond a rupture end correctly (a perpendicular offset moves only the perpendicular part of the distance; P2 is zero once the site is more than z/2 past the tip); the curvature guard uses each rupture's own trace; preflight now rejects invalid `dad_variability`, Petersen `norm_disp_type`, Pizza `style` and non-positive `fault_vs30`; warnings when location uncertainty is on without the distributed option or with a mismatched cell size; unshifted distributed terms are no longer computed when they are averaged.
|
|
208
|
+
- **Stray model keys rejected:** in a job file, a model option written beside `type` (e.g. `[models.primary_surf_displ] version = bilinear`) was silently ignored and the model default used; it now raises and points to `[models.<slot>.parameters]`.
|
|
209
|
+
- **LA23 gap probability** (Eq. 25) clipped to [0, 1]; it went slightly negative only below about M 4.5 (normal).
|
|
210
|
+
- **New docs:** a one-page [model selection guide](docs/13-Model-Selection-Guide.md) and an [assumptions register](docs/14-Assumptions-Register.md) listing every choice made where a paper is silent, ambiguous or inconsistent.
|
|
211
|
+
- **IAEA Norcia K24 tolerance** relaxed to 0.25 (observed 0.197): the declared single-strand trace stands in for the ECS, whose exact definition the exercise does not publish.
|
|
212
|
+
- **Pizza et al. (2023):** `style = all` selects the published all-type curve. **Yang et al. (2021):** warns outside Mw 4.0-6.6.
|
|
213
|
+
- **Epistemic-sample reduction defaults to the mean** (was median); no current model is affected, because Kuehn already defaulted to the mean.
|
|
214
|
+
- **Chiou et al. (2025) Model8.1:** `m1` is now the published Table 1 value 3.2110 (was 3.23195, which equals 3.2110 + m2). Model8.1 median displacement changes by +2.7% at M 6.0, +0.5% at M 7.0 and not at all at M ≥ 7.32; other variants are unchanged.
|
|
215
|
+
- **Applicability report:** Petersen (2011) distributed models now flag sites beyond the paper's 2 km data range.
|
|
216
|
+
- **New benchmark suite** `tests/benchmarks/iaea/tecdoc2092`: all 33 published team curves plus 3 base-case variants (36 cases, 71 tests).
|
|
217
|
+
|
|
218
|
+
Other fixes: Thingbaijam (2017) strike-slip width intercept -0.543 (S3); whole-rupture x/L orients disconnected segments head-to-tail (T2-21); Takao (2013) FD uses the rupture length; `pfdha validate` runs the displacement-component check (B4); LA23 validates x/L before clipping; the model registry loads on lookup; clearer message for unparsable displacement levels.
|
|
219
|
+
|
|
220
|
+
### October 18 integration review (unreleased; no version increment)
|
|
221
|
+
|
|
222
|
+
- Added an **opt-in** source/rupture/model-keyed `c3_references_file` JSON scientific input for explicitly reviewed SCS/ECS/LCP references, with SHA-based provenance. The input does **not** generate model reference geometry automatically.
|
|
223
|
+
- Qualified LA2023 individual-segment SCS aggregate response against a pinned original-author routine; qualified Moss2024 reverse-event ECS EQS D/AD and capped D/MD probabilities against an independent paper-equation adaptive integrator. Retained separate net and vertical components and refused undocumented mixing.
|
|
224
|
+
- Added file-driven synthetic NRML hazard/disaggregation integration tests, complete frozen Windows original-data and core regressions, and isolated wheel/source-distribution checks. Frozen predecessor: Actions `38963517037`, commit `46cf13a0f5ff9d58306a573cf05e2fe4530b9c63`, 1,672 core tests passed / 5 skipped.
|
|
225
|
+
- Integration hardening on the **review-only** branch makes manifest-enabled unsupported primary FDMs fail closed and prevents C3 reference aliasing across multiple source-model realizations. This state passed Windows Actions `39126075819` at `fe2bbad1550a93754cb1e8802e8014e665af5678` (1,678 core tests passed / 5 skipped); its original WP5-R4 predecessor is retained as historical evidence.
|
|
226
|
+
- Subsequent pre-release review adds a real two-alternative NRML source-model negative regression and checks the C3 guard before creating output directories in the public unified-INI workflow. This additional change requires its own exact-head Windows qualification.
|
|
227
|
+
- Original-author Ridgecrest LCP U/T calibration parity, LA individual-event SCS sites, Moss reverse ECS observed calibration sites and cross-platform CI remain unqualified; successful software tests must not be represented as empirical author-site agreement.
|
|
228
|
+
- Cumulative review includes historical scientific branches but is **not merged, tagged or uploaded to PyPI**.
|
|
229
|
+
|
|
230
|
+
### October 12 geometry-parity qualification
|
|
231
|
+
|
|
232
|
+
- Correct Rank-1.5 distance projections so unchanged sites retain the same
|
|
233
|
+
distance and hazard rate when other grid or trace sites are appended,
|
|
234
|
+
removed or reordered. The historical multi-site outputs remain available
|
|
235
|
+
for comparison but are not used as a numerical correctness oracle.
|
|
236
|
+
- Independently validate map trace sampling, site-population invariance,
|
|
237
|
+
per-site/batch hazard consistency, and component rate conservation in the
|
|
238
|
+
supported OpenQuake 3.26.2 environment.
|
|
239
|
+
- Add private Windows release-candidate checks for scientific benchmarks,
|
|
240
|
+
source-distribution and wheel builds, isolated installation, and checksums.
|
|
241
|
+
Ubuntu and macOS hosted validation was deferred due to a GitHub Actions
|
|
242
|
+
billing/spending-limit block and is not represented as passed.
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### October 6 reliability and rate reporting
|
|
246
|
+
|
|
247
|
+
- Preserve explicitly named sample/site/displacement axes for Kuehn posterior
|
|
248
|
+
predictions, including equal-sized axes and squeezed single-site outputs.
|
|
249
|
+
Reject ambiguous undeclared multidimensional layouts, nonfinite percentiles,
|
|
250
|
+
and nonfinite probability-of-exceedance inputs.
|
|
251
|
+
- Add contextual typed validation and JSON reports while preserving existing
|
|
252
|
+
issue codes and text reports.
|
|
253
|
+
- Carry principal and distributed rates through curve/map workers and source
|
|
254
|
+
alternatives; append their weighted means to CSV/HDF5 and Python results.
|
|
255
|
+
Preserve total accumulation, displacement axes and total fractile conventions.
|
|
256
|
+
- Add qualified applicability reports with scoped evaluation counts and explicit
|
|
257
|
+
unknown calibration coverage. Reporting does not modify hazard contributions.
|
|
258
|
+
- Resolve source identity through bounded Git queries, including worktrees and
|
|
259
|
+
packed references; add effective configuration/model-resource hashes and job
|
|
260
|
+
audit summaries referencing authoritative reports. Dirty source checkouts now
|
|
261
|
+
state explicitly that the recorded commit is only the base revision.
|
|
262
|
+
- Record manifest-authoritative surface-filter, resolved displacement, censoring
|
|
263
|
+
and stochastic-model settings in the audit; add explicit rate-reporting
|
|
264
|
+
metadata without changing total-rate or total-fractile calculations.
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
### October 1 whole-package R12 remediation
|
|
268
|
+
|
|
269
|
+
- Honour Visini `near_or_far` overrides in the combined A/B hazard path and
|
|
270
|
+
preserve distance-based classification when no override is supplied.
|
|
271
|
+
- Treat Visini `site_width` as the documented alias of `along_strike_width`,
|
|
272
|
+
reject conflicting dimensions, and record effective across-/along-strike
|
|
273
|
+
footprint dimensions in branch provenance.
|
|
274
|
+
- Select Kuehn's default posterior-mean reduction from the resolved model
|
|
275
|
+
identity, so accepted spelling/case aliases cannot change the calculation.
|
|
276
|
+
- Reuse the same filtered Visini site/scenario arguments for epsilon
|
|
277
|
+
normalization as for positive-displacement hazard.
|
|
278
|
+
- Reject ambiguous `LEONARD2014` scaling at preflight; use the explicit
|
|
279
|
+
`LEONARD2014SCR` or `LEONARD2014INTERPLATE` regime.
|
|
280
|
+
- Expose validated positive `fault_length_km` overrides for Visini SR/FD,
|
|
281
|
+
reject inconsistent SR/FD values, and convert kilometres to metres once.
|
|
282
|
+
- Replace the broad CI `print()` grep with an AST guard that permits only
|
|
283
|
+
intentional presentation output while still rejecting computational debug
|
|
284
|
+
prints. Add source-distribution CI that runs the archived test suite.
|
|
285
|
+
- Add `MANIFEST.in` so the sdist includes pytest configuration, smoke fixtures,
|
|
286
|
+
independent benchmark resources, and regression tests while the wheel stays
|
|
287
|
+
runtime-only. See `docs/review/2026-10-01-round12-dispositions.md`.
|
|
288
|
+
|
|
289
|
+
### September 30 Leonard paper corrections
|
|
290
|
+
|
|
291
|
+
- L14 length now follows separate interplate/SCR and dip-slip/strike-slip
|
|
292
|
+
geometry, including small square ruptures and strike-slip width saturation.
|
|
293
|
+
Average slip uses the published moment convention and 33 GPa rigidity;
|
|
294
|
+
OpenQuake area medians are preserved. Conflicting paper/spreadsheet entries
|
|
295
|
+
are documented in `docs/review/2026-09-30-leonard2014-paper-resolution.md`.
|
|
296
|
+
- L10's false Mw 7.1 discontinuity was replaced with the published interplate
|
|
297
|
+
dip-slip moment-area-width relations and their consistent inverse. The
|
|
298
|
+
unsupported 0.23 scatter was removed. See the L10 paper resolution note.
|
|
299
|
+
|
|
300
|
+
### September 30 next audit revision
|
|
301
|
+
|
|
302
|
+
- Restore Nurminen map/curve calculations at zero-DN rupture endpoints while
|
|
303
|
+
rejecting nonpositive user-supplied DN. Add a complete Nurminen map smoke job.
|
|
304
|
+
- Validate source rake against model-specific applicability, including Yang's
|
|
305
|
+
60–120° range and strike-slip boundary rakes; reject ignored occurrence
|
|
306
|
+
settings and unsafe principal-zone thresholds below 1 m.
|
|
307
|
+
- Preserve trace-site provenance when grid/trace coordinates coincide. Allow
|
|
308
|
+
disabling curve PNGs, report unknown per-source filter IDs first, and log
|
|
309
|
+
normal branch progress at INFO.
|
|
310
|
+
- Correct Thingbaijam 2017 reverse/normal area intercepts to −4.362/−2.551.
|
|
311
|
+
Recompute results using these scaling options; see the dated review
|
|
312
|
+
disposition and subsequent Leonard paper resolution notes.
|
|
313
|
+
|
|
314
|
+
### September 30 follow-up review
|
|
315
|
+
|
|
316
|
+
- Admit per-source surface-filter overrides and curve plot limits through INI;
|
|
317
|
+
refine partial-burial checks by magnitude and map trace/grid deduplication.
|
|
318
|
+
- Reject Youngs and LA23 typos, unsupported model styles, irrelevant adapter
|
|
319
|
+
options and selected invalid model parameters during preflight. Bound
|
|
320
|
+
occurrence sampling and Mammarella uncertainty integration inputs.
|
|
321
|
+
- Warn when NEA20's small-site independence rule is extrapolated to wide
|
|
322
|
+
footprints. Do not globally normalize additive fault disaggregation weights.
|
|
323
|
+
- Preserve zero-hazard principal-slip taper endpoints while rejecting explicit
|
|
324
|
+
nonpositive throw. See `docs/review/2026-09-30-round10-dispositions.md`.
|
|
325
|
+
|
|
326
|
+
### 0.1.0a6 review changes (2026-09-29)
|
|
327
|
+
|
|
328
|
+
- Moss 2024 principal FD now defaults to the complete subset and linearly
|
|
329
|
+
extrapolates the published gamma bin-centre coefficients to folded x/L=0.5,
|
|
330
|
+
matching fdhpy's centre-point policy. Explicit `completeness=all` remains
|
|
331
|
+
available. Its optional GIRS D/MD coefficient a1 changes from 1.424 to
|
|
332
|
+
1.422 pending direct report confirmation. Recompute any Moss principal
|
|
333
|
+
results and retain earlier manifests.
|
|
334
|
+
- Mammarella CPSR adds `hdr_mode=matlab` with the discrete grids and
|
|
335
|
+
reallocation procedure; default `continuous` retains analytical integration.
|
|
336
|
+
Six stable archived cases match within 0.002, while three float-boundary
|
|
337
|
+
cases still need an official MATLAB P(Mw) dump. Keep the two modes separate.
|
|
338
|
+
- Nurminen wide-site occurrence uses one along-strike event per site and
|
|
339
|
+
refuses a footprint crossing the principal trace. Recompute wide-site jobs.
|
|
340
|
+
- Visini's scalar API calculates the along-strike probability separately on
|
|
341
|
+
both sides of the fault; context overrides, missing source IDs, oversized
|
|
342
|
+
principal-zone thresholds and invalid disaggregation dimensions fail closed.
|
|
343
|
+
- Annual rates no longer appear under the misleading `poes` key. A
|
|
344
|
+
non-unit `investigation_time` now errors; convert rates explicitly for
|
|
345
|
+
PoE over a chosen time window. Standard-output bundle errors fail the run.
|
|
346
|
+
- The synthetic Rank-1.5 smoke trace is offset from the principal trace.
|
|
347
|
+
- Kuehn posterior exceedance probabilities average by default in the hazard
|
|
348
|
+
calculator; explicit `primary_sr_reduction` can select another reduction.
|
|
349
|
+
Petersen distributed occurrence now uses the published Table 5 near-field
|
|
350
|
+
anchors by default; `version=power_law` preserves the earlier extrapolation.
|
|
351
|
+
Recompute affected Kuehn and Petersen results from saved inputs.
|
|
352
|
+
- Nonempty output directories now fail before writing, to prevent a rerun from
|
|
353
|
+
mixing branch files. Duplicate source-model traces and trace sites are
|
|
354
|
+
removed from map outputs, and a labeled curve figure is written for each
|
|
355
|
+
site, including all-zero sites.
|
|
356
|
+
- Per-realization PFDHA tree validation checks `applyToSources` names against
|
|
357
|
+
the union of source-model alternatives, while executing each realization
|
|
358
|
+
with only its present sources.
|
|
359
|
+
- NumPy 2 test compatibility, UTF-8 BOM and inline-comment INI parsing,
|
|
360
|
+
complex-fault converter spacing, and validation parity were updated.
|
|
361
|
+
- This archive is for review, not for upload to PyPI or use as a qualified
|
|
362
|
+
hazard calculation. See `docs/review/2026-09-29-a6-dispositions.md`.
|
|
363
|
+
|
|
364
|
+
### 2026-09-29 re-review revision
|
|
365
|
+
- Restored the report-backed 85th-percentile Moss distributed `d/MD` coding envelope as the default. Jobs that used the interim 50th-percentile default will produce different distributed hazard and should be rerun.
|
|
366
|
+
- Made Nurminen sampling reproducible by default and accounted for site width across the 10 m along-strike slices. Reject unsupported footprint sizes for models calibrated to fixed footprints.
|
|
367
|
+
- Clipped planar and complex trace geometry at surface exposure, guarded single-vertex contact, admitted supported Kite fault traces, and removed blind faults from map trace sites.
|
|
368
|
+
- Scoped surface-expression CSV decisions to source-model branch IDs, rejected blind labels on surface-reaching geometry, and required a decision for fully buried characteristic geometry.
|
|
369
|
+
- Isolated source annotations between realizations that reuse a source object, and applied map-specific source-group weight checks so valid per-source map trees pass preflight.
|
|
370
|
+
- Rejected branch parameters that override rupture/site context, contradictory style overrides, wrong-slot direct API models, ambiguous Booleans, missing map return periods, unsorted displacement levels, invalid sample counts, and invalid selected map-site indices during preflight.
|
|
371
|
+
- Guarded incompatible Moss and Visini secondary model pairings without changing analyst-authored logic-tree weights.
|
|
372
|
+
- Corrected selected-site curve disaggregation, filtered per-site Visini inputs, Rank-1.5 malformed coordinate handling, sampling identity, single-site CSV columns, censored-high map colours, and Chiou displacement metadata.
|
|
373
|
+
- Added regressions for the new re-review findings; see `docs/review/2026-09-29-rereview-dispositions.md` for each ID and the remaining Mammarella archive-parity limitation.
|
|
374
|
+
- Full suite after this revision: 651 passed, 3 skipped, 23 scientific-range warnings.
|
|
375
|
+
|
|
376
|
+
### Changed
|
|
377
|
+
- Reject OpenQuake source types outside the verified simple-, complex-, characteristic-, and kite-fault core before mapped-fault PFDHA calculations.
|
|
378
|
+
- Add the optional `source_surface_expression_file` CSV with branch/source IDs, `mapped`/`blind`/`unknown` status, evidence references, and notes. Explicitly documented blind sources are skipped; unresolved status and unsupported buried mapped-source projection fail clearly.
|
|
379
|
+
- Fail on magnitude bins with no surface-reaching rupture geometry instead of silently assigning zero hazard. Keep `surface_rupture_tolerance_km` as a numerical tolerance only.
|
|
380
|
+
- Preserve enumerated epistemic branch weights and fail on incompatible model pairs rather than filtering or renormalizing them. Keep genuine conditional SFD alternatives in the joint branch probability.
|
|
381
|
+
- Clarify that non-parametric `probs_occur` PMFs need time-window integration and cannot be converted to a generic source annual rate.
|
|
382
|
+
- Integrate Mammarella et al.'s uniform HDR prior analytically from the published surface-reach condition, eliminating the reconstructed-boundary one-ULP classification error and reducing cold-call runtime.
|
|
383
|
+
- Apply Moss et al.'s report-described `D/MD` cap as `min(D/MD, 1)` rather than renormalizing the gamma distribution below one; clamp EQS table interpolation to its tabulated end bins.
|
|
384
|
+
- Use the Moss report's 85th-percentile `d/MD` envelope by default and retain the median as an explicit choice.
|
|
385
|
+
- Correct Moss primary-displacement metadata and model documentation to identify the vertical displacement component.
|
|
386
|
+
|
|
387
|
+
### Added
|
|
388
|
+
- Added regression tests for source admission, surface-expression provenance, buried-fault guards, no-surface-rupture bins, and coupling-weight preservation.
|
|
389
|
+
- Added paper-based regressions for Mammarella HDR integration and Moss D/MD truncation, x/L endpoints, 85th-percentile default, near-fault occurrence cap, and vertical-displacement metadata.
|
|
390
|
+
- Added a packaged `source_surface_expression.template.csv` and documented its use in the configuration guide.
|
|
391
|
+
|
|
392
|
+
### Verification
|
|
393
|
+
- Earlier review baseline: 585 passed, 3 skipped, 23 warnings; byte-code compilation and smoke-job validation passed. See the re-review disposition for current verification. Wheel build/install and GDAL-backed checks remain unverified in this environment.
|
|
394
|
+
|
|
395
|
+
## [0.1.0a5] - 2026-09-23
|
|
396
|
+
|
|
397
|
+
### Fixed
|
|
398
|
+
- Preserved original global hazard-map site IDs in `dominant_contributions.csv` and all `dominant_long/*.csv` outputs when selected-site lazy disaggregation is active.
|
|
399
|
+
- Propagated selected global site IDs through per-source-model dominant grids into top-level SMLT aggregation.
|
|
400
|
+
- Added fail-closed consistency checks for mismatched dominant-grid global site IDs across source-model branches.
|
|
401
|
+
|
|
402
|
+
### Tests
|
|
403
|
+
- Added regression coverage showing non-contiguous selected sites such as 19 and 41 remain 19 and 41 in both main and long-format dominant CSVs rather than being renumbered to local rows 0 and 1.
|
|
404
|
+
- Full lightweight test suite: 407 passed, 11 skipped, 10 expected scientific warnings.
|
|
405
|
+
|
|
406
|
+
## [0.1.0a4] - 2026-09-22
|
|
407
|
+
|
|
408
|
+
### Fixed
|
|
409
|
+
- Corrected lazy hazard-map disaggregation indexing for non-contiguous selected global site IDs. Epsilon arrays now translate global map-site IDs to the compact local site axis before aggregation.
|
|
410
|
+
- Corrected dominant-contribution aggregation for lazy selected-site maps so non-contiguous global IDs (for example 0, 19, 41, ...) are preserved instead of being mistaken for local positions.
|
|
411
|
+
- Strengthened selected-site branch consistency checks: mixed full-grid/selected-grid arrays, inconsistent selected-site grids, and missing requested sites now fail explicitly rather than being silently truncated.
|
|
412
|
+
|
|
413
|
+
### Tests
|
|
414
|
+
- Added regression coverage for non-contiguous selected global map-site IDs in epsilon aggregation, dominant-contribution output, and fail-closed site mapping.
|
|
415
|
+
- Full lightweight test suite: 406 passed, 11 skipped.
|
|
416
|
+
|
|
417
|
+
## [0.1.0a3] - 2026-09-22
|
|
418
|
+
|
|
419
|
+
Release-validation correction following the Calabria/Tarsia end-to-end run.
|
|
420
|
+
|
|
421
|
+
### Fixed
|
|
422
|
+
|
|
423
|
+
- Fixed top-level source-model-logic-tree dominant-contribution aggregation when
|
|
424
|
+
hazard-map disaggregation uses lazy selected-site allocation. The 0.1.0a2
|
|
425
|
+
implementation allocated full-grid arrays but added selected-site arrays, causing
|
|
426
|
+
broadcasting failures such as `(1208,)` versus `(3,)` after a completed map run.
|
|
427
|
+
- Top-level dominant fields now aggregate on the exact per-SMLT dominant site grid,
|
|
428
|
+
verify that source-model branches use the same selected sites, and fail closed if
|
|
429
|
+
they do not.
|
|
430
|
+
- Removed a function-local `log` reassignment in `logic_tree/driver.py` that could
|
|
431
|
+
mask a provenance-copy `OSError` with `UnboundLocalError`.
|
|
432
|
+
- Added a type-check-only `PFDHAContext` import in the model adapter.
|
|
433
|
+
|
|
434
|
+
### Validation
|
|
435
|
+
|
|
436
|
+
- Added regression coverage for selected-site SMLT dominant aggregation and for the
|
|
437
|
+
provenance-copy logger failure path.
|
|
438
|
+
- Corrected the optional live-fdhpy benchmark inputs/API mapping established during
|
|
439
|
+
0.1.0a2 qualification; the pinned external comparison passes 11/11 cases.
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
## [0.1.0a2] - 2026-09-22
|
|
443
|
+
|
|
444
|
+
Windows/OpenQuake validation hardening following the first full 0.1.0a1 test run.
|
|
445
|
+
|
|
446
|
+
### Fixed
|
|
447
|
+
|
|
448
|
+
- Preserved the shared `[parameters]` section when a unified one-INI job is split
|
|
449
|
+
into curve/map child configurations; this fixes silent loss of Visini `case`
|
|
450
|
+
and other scientific parameters.
|
|
451
|
+
- Added working top-level `pfdha --version` / `pfdha -V` handling and CLI
|
|
452
|
+
regression tests.
|
|
453
|
+
- Updated the stale Visini Boolean-coercion test to the current API and added a
|
|
454
|
+
collection gate to CI.
|
|
455
|
+
- Repaired the smoke fixture so paired Visini SR/FD branches use the same A+B
|
|
456
|
+
combination.
|
|
457
|
+
- Reworked the Kumamoto benchmark to retain fail-closed model applicability while
|
|
458
|
+
validating the on-fault WC1993 + Chiou2025 principal contribution.
|
|
459
|
+
- Made the intended Norcia `case3` / Visini-A interpretation explicit and moved
|
|
460
|
+
exact historical-PFDHA vector parity to an opt-in diagnostic.
|
|
461
|
+
- Made analytical two-branch fixtures non-degenerate and aligned map inversion
|
|
462
|
+
checks with the final QGIS-facing CSV schema.
|
|
463
|
+
- Increased only the internal Mammarella frozen-regression absolute tolerance from
|
|
464
|
+
`1e-5` to `2e-5` after Windows validation with NumPy 2.2.6 / SciPy 1.15.3; the
|
|
465
|
+
independent CPSR strict diagnostic remains unchanged.
|
|
466
|
+
|
|
467
|
+
### Packaging / environment
|
|
468
|
+
|
|
469
|
+
- Raised supported Python to `>=3.11`, matching the validated OpenQuake line.
|
|
470
|
+
- Constrained OpenQuake to `>=3.26.2,<3.27` for the alpha release line.
|
|
471
|
+
- Split documentation dependencies from `dev` and pinned an OpenQuake-compatible
|
|
472
|
+
Sphinx/docutils stack.
|
|
473
|
+
- Replaced third-party `toml` reads with Python 3.11+ standard-library `tomllib`.
|
|
474
|
+
|
|
475
|
+
## [0.1.0a1] - 2026-09-22
|
|
476
|
+
|
|
477
|
+
First public-facing alpha baseline for the PFDHA repository.
|
|
478
|
+
|
|
479
|
+
### Added
|
|
480
|
+
|
|
481
|
+
- Probabilistic fault-displacement hazard curves and maps with source-model and
|
|
482
|
+
PFDHA model logic trees.
|
|
483
|
+
- Principal and distributed surface-rupture/displacement model implementations,
|
|
484
|
+
disaggregation, epsilon outputs, censoring diagnostics, and GIS-ready outputs.
|
|
485
|
+
- Exact complete-realization map fractiles for multiple physical/source-model
|
|
486
|
+
branches.
|
|
487
|
+
- Source-aware Rank-1.5 trace handling for Visini combination B and explicit
|
|
488
|
+
`c_feature_present` handling for combination C.
|
|
489
|
+
- Whole-rupture and component-relative x/L modes for disconnected ruptures;
|
|
490
|
+
`whole_rupture` is the default.
|
|
491
|
+
- Reproducibility metadata, SHA-256 input provenance, branch manifests, and
|
|
492
|
+
branch-index sidecars.
|
|
493
|
+
- Layered validation suite containing analytical invariants, external frozen
|
|
494
|
+
references, published/intercomparison benchmarks, and full-OpenQuake smoke
|
|
495
|
+
tests.
|
|
496
|
+
|
|
497
|
+
### Fixed / hardened
|
|
498
|
+
|
|
499
|
+
- Removed fictitious connectors between disconnected MultiSurface components.
|
|
500
|
+
- Made trace geometry, rupture-depth geometry, model output axes, Boolean model
|
|
501
|
+
parameters, conditional SFD coupling, and Visini spatial requirements fail
|
|
502
|
+
closed when ambiguous or invalid.
|
|
503
|
+
- Restored vectorized/cached rupture-distance performance while preserving
|
|
504
|
+
single-component numerical results.
|
|
505
|
+
- Added namespace-independent NRML 0.4/0.5 handling and complete source-model
|
|
506
|
+
logic-tree uncertainty filters.
|
|
507
|
+
- Removed approximate weighted-fractile fallbacks and other silent scientific
|
|
508
|
+
approximations from production paths.
|
|
509
|
+
|
|
510
|
+
### Naming and versioning reset
|
|
511
|
+
|
|
512
|
+
- Standardized all remaining legacy project identifiers to `PFDHA` / `pfdha`,
|
|
513
|
+
including benchmark fixture filenames and XML uncertainty types.
|
|
514
|
+
- Reset the public version line to `0.1.0a1`. Earlier `v5.4.x` and
|
|
515
|
+
`0.1.1`-`0.1.3` labels were unpublished internal development snapshots and
|
|
516
|
+
are not public releases.
|
|
517
|
+
|
|
518
|
+
Historical internal patch notes are retained under `docs/development_history/`
|
|
519
|
+
for auditability only.
|
pfdha-0.3.0/CITATION.cff
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
message: "If you use PFDHA in research or engineering analysis, please cite the software using this metadata and cite the original publications for the scientific models used."
|
|
3
|
+
title: "PFDHA: Probabilistic Fault Displacement Hazard Analysis"
|
|
4
|
+
type: software
|
|
5
|
+
authors:
|
|
6
|
+
- family-names: "Tang"
|
|
7
|
+
given-names: "Yuxiang (Gideon)"
|
|
8
|
+
affiliation: "The University of Melbourne"
|
|
9
|
+
email: "yuxiang.tang@unimelb.edu.au"
|
|
10
|
+
version: "0.3.0"
|
|
11
|
+
repository-code: "https://github.com/Y-Tang99/PFDHA"
|
|
12
|
+
url: "https://github.com/Y-Tang99/PFDHA"
|
|
13
|
+
license: "AGPL-3.0-or-later"
|
|
14
|
+
keywords:
|
|
15
|
+
- PFDHA
|
|
16
|
+
- fault displacement
|
|
17
|
+
- surface rupture
|
|
18
|
+
- earthquake engineering
|
|
19
|
+
- engineering seismology
|
|
20
|
+
- seismic hazard
|
|
21
|
+
- OpenQuake
|
|
22
|
+
abstract: "Python framework for earthquake-based probabilistic fault displacement hazard analysis, including published model implementations, logic trees, hazard curves, hazard maps, disaggregation, and uncertainty propagation."
|