Skip to content

v0.7.0 2025-08-15

Latest

Choose a tag to compare

@kemccusker kemccusker released this 15 Aug 16:09
· 29 commits to main since this release
f6b04f1

Added

Changed

  • The function signature for calculate_labor_batch_damages() in src/dscim/preprocessing/input_damages.py was updated to include additional args with default values that allow the labor SCC application to run without modifying dscim code in the future. This is backwards compatible. (PR #415, @JMGilbert).
  • Python version for running automated tests in CI upgraded from Python 3.10 to 3.12 (PR #270, @brews).

Fixed

  • Fixed how quantile regression SCCs (quantreg) are calculated by allowing for the full cloud of damage points in the damage function fit stage (previously the batch dimension was incorrectly reduced before damage function fit even if quantreg=True) (PR #405, @JMGilbert).
  • Minor code cleanup. Switch old %-string formatting to use f-strings (PR #351, @brews).
  • Pin numcodecs package to 0.15.1 to fix automated tests in CI. This works with zarr < 3. (PR #406, @JMGilbert).
  • Pin statsmodels to 0.14.5 to fix automated tests in CI. (PR #429, @C1587S).

Removed

  • Removed preprocessing/climate and preprocessing/misc subpackages. (PR #249, @JMGilbert)
    • The modules in these subpackages referenced hard coded filepaths and were used for old versions of climate files and inputs that are now properly formatted by default
  • Removed utils/generate_yaml and utils/plotting_utils modules. (PR #249, @JMGilbert)
    • generate_yaml seems to have been designed for an old version of dscim-epa and that functionality has now been transferred to the scripts/directory_setup.py script in the dscim-epa and dscim-facts-epa repositories
    • plotting utils was only in use for a single diagnostic and was transferred to the script that generated that diagnostic
  • Removed midprocessing update_damage_function_library and utils constant_equivalent_discount_rate, calculate_constant_equivalent_discount_rate, and get_model_weights functions. (PR #249, @JMGilbert)
    • update_damage_function_library was previously used to move files prior to the functionality that directly saved files into the appropriate location
    • constant_equivalent_discount_rate and calculate_constant_equivalent_discount_rate are used for integration paper tables, and have been transferred to the appropriate scripts
    • get_model_weights is used for a few diagnostics and has been transferred to the appropriate scripts

New Contributors

Full Changelog: v0.6.0...v0.7.0