CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 25
Releases: Casal2/CASAL2
Casal2 v25.06
Compare
Casal2 Version 2025.06 (June) is a quality and bug fix release. This releases focuses on two major outcomes.
- Implementing unit tests for all missing scientific code. All processes, observations etc now have at least one unit test.
- Improving the way the user configuration is validated. A whole new validation system has been implemented that allows for declarative validation instead of functional. This ensures the code is more consistent and gaps in validation are easily identified and fixed. For example, You can just use myParameter->GreaterThanOrEqualTo(PARAM_OTHER) now instead of manually loading and doing the comparison. This extended to tables now as well which has resulted in a reduction of approximately 75% in the Observation validation code.
Breaking Changes:
This version of Casal2 introduces one breaking change. When defining selectivities on an observation you must provide at least one selectivity label per category, including categories that have been combined. For example, defining categories male+female will require two selectivities instead of one. This has been introduced to standardise behaviour across the entire Casal2 platform.
Functional Fixes:
- FIX: AddressableTransformation.Orthogonal had calculation error with restoring transform
- FIX: Corrected the allowed likelihood types in Observation.Proportions_by_category to Binomial
- FIX: alpha parameter removed from Selecitivites.Compound_all as it's not used
- FIX: alpha parameter removed from Selecitivites.Compound_left as it's not used
- FIX: alpha parameter removed from Selecitivites.Compound_middle as it's not used
- FIX: alpha parameter removed from Selecitivites.Compound_right as it's not used
- FIX: Selectivities.DoubleNormalPlateau correctly validates Beta in length models now
- FIX: Process.Maturation was using 0 for non-specified years and projections instead of final year
- CHG: Process.Maturation now has new parameters to ensure behaviour is known (MISSING_YEARS_METHOD, PROJECTION_YEARS_METHOD)
- CHG: Process.Maturation missing_years_method defaults to error, will error if user doesn't provide all years
- CHG: Process.Maturation now has zero or final years values for projection_years_method and missing_years_method
- FIX: AgeingError.Normal was not correctly applying k to the last row of the matrix resulting on only half-row being set to 0.0
- FIX: AgeingError.OffByone was not correctly applying k to the last row of the matrix resulting on only half-row being set to 0.0
- FIX: Length process Recruitment Beverton Holt has typos for initial_mean_length and initial_length_cv
- FIX: GrowthIncrements was using the bitwise (&) instead of logical (&&) when checking for length_plus_group.
- FIX: Timevarying.AnnualShift was over-writing the addressable parameter value, not shifting it.
- CHG: TimeVarying.Linear has been disabled because it's very broken.
- CHG: TimeVarying.Random_Walk has been disabld because it's very broken.
- FIX: Process.Mortality.InitialisationEventBiomass wasn't doing any mortality as it wasn't finished. Fixed
- CHG: Anywhere a selectivity could be defined with something other than selectivities (e.g. relative_m_by_age) now also supports using selectivities keyword via a new parameter alias feature.
- FIX: #426 - Observations Age.ProportionsAtLength and others now have correct selectivity iteration
- FIX: Observations Age.TagRecaptureByAge, Age.ProportionsByCategory and Age.ProportionsByCategoryByLength now have correct category iterations with doing the comparisons.
- FIX: Observations.Length.TagRecaptureByLengthForGrowth was ignoring user supplied process_error
General Improvements:
- FIX: Build system now works with Python 3.12+
- FIX: Github actions deprecated functions have been updated.
- FIX: Checking for correct values in Likelihood.Bernoulli to prevent calculation errors.
- FIX: Added better parameter validation in AddressableTransformations to prevent undefined behaviour.
- FIX: Optimised the MortalityDiseaseRate processes because they were calculating too much.
- ADD: The parameter system now has a new validation system to standardise parameter validation.
- ADD: The parameter system now has a new table validation system to standardise table validation.
- DEL: The documentation builder no longer scrapes the code for syntax building, this was obsolete.
- ADD: New TwoSexComplex test case model for better unit testing coverage
Assets 4
Casal2 24.06
Compare
This release contains a bunch of improvements and bug fixes for Casal2.
- The user manual has been updated for both Age and Length variants.
- A large number of basic code improvements, error handling and user messages have been updated.
- Building Casal2 and associated documentation has been fixed.
- GitHub Actions have been fixed.
- A new writing your first model tutorial is now available at: https://casal2.readthedocs.io/en/latest/
- Contributor guides, github.io pages etc have all been updated.
- README has been updated.
- Broken unit tests and builds on various Linux platforms and compilers have been fixed.
- Casal2 now supports multiple input configuration files with the -c command like argument
- Added sqrt transformations to manual
- Added mortality constant exploitation process
- Implemented double tag loss
- Added disease mortaloty as an age model process
- Added constant difference parameter transformation
Assets 4
Production release 2022-10
Compare
This version of Casal2 was built from the main development branch on 2022-10-10.
Model output will include "Version: v22.10".
Windows files (built on Windows Server 2019): Casal2-Windows-build.zip
Debian/Ubuntu Linux files (built on Ubuntu 20.04): Casal2-Linux-build.zip
Older Linux files (built on CentOS 7.9): Casal2.tar.gz
Assets 5
Production release 2022-08
Compare
Release notes are available on the Casal2 GitHub webpages.
This version of Casal2 was built from the main development branch on 2022-08-31.
Model output will include "Version: v22.08 (2022-08-31)".
Windows files (built on Windows Server 2019): Casal2-Windows-build.zip
Debian/Ubuntu Linux files (built on Ubuntu 20.04): Casal2-Linux-build.zip
Older Linux files (built on CentOS 7.9): Casal2.tar.gz
What's Changed
- Length based model 202204 by @Craig44 in #386
- Sim casal2 202206 by @Craig44 in #394
- Age size observation 202206 by @Craig44 in #397
- ADD fishing mortality process, plus improvements 202207 by @Craig44 in #400
- Recruitment ycs syntax change 202208 by @Craig44 in #404
Full Changelog: v21.11...v22.08
Assets 5
Development release 2022-07
Compare
This version of Casal2 was built from the main development branch on 2022-07-28.
Model output will include "Version: v22.07".
Windows files (built on Windows Server 2019): Casal2-Windows-build.zip
Debian/Ubuntu Linux files (built on Ubuntu 20.04): Casal2-Linux-build.zip
Older Linux files (built on CentOS 7.9): Casal2.tar.gz
What's Changed
Full Changelog: dev.202206...dev.2207
Assets 5
Development release 2022-06
85ba18d
Compare
This version of Casal2 was built from the main development branch on 2022-06-29.
Model output will include "Version: v22.06".
Windows files (built on Windows Server 2019): Casal2-Windows-build.zip
Debian/Ubuntu Linux files (built on Ubuntu 20.04): Casal2-Linux-build.zip
Older Linux files (built on CentOS 7.9): Casal2.tar.gz
What's Changed
Full Changelog: dev.202205...dev.202206
Assets 5
Development release 2022-05
Compare
This version of Casal2 was built from the main development branch on 2022-05-24.
Model output will include "Version: v22.05".
Windows files (built on Windows Server 2019): Casal2-Windows-build.zip
Debian/Ubuntu Linux files (built on Ubuntu 20.04): Casal2-Linux-build.zip
Older Linux files (built on CentOS 7.9): Casal2.tar.gz
What's Changed
Full Changelog: dev.202204...dev.202205
Assets 5
Development release 2022-04
Compare
THIS SOFTWARE HAS NOT BEEN VALIDATED
This version of Casal2 was built from the main development branch on 2022-04-13.
Model output will include "Version: v22.04 (2022-04-13)".
Windows files (built on Windows Server 2019): Casal2-Windows-build.zip
Debian/Ubuntu Linux files (built on Ubuntu 20.04): Casal2-Linux-build.zip
Older Linux files (built on CentOS 7.9): Casal2.tar.gz
Full Changelog: dev.202203...dev.202204
Assets 5
dev.202203
Compare
THIS SOFTWARE HAS NOT BEEN VALIDATED.
This version of Casal2 was built from the main development branch on 2022-03-17.
Model output will include "Version: v22.03 (2022-03-17)".
Windows files (built on Windows Server 2019): Casal2-Windows-build.zip
Debian/Ubuntu Linux files (built on Ubuntu 20.04): Casal2-Linux-build.zip
Full Changelog: dev.202202...dev.202203
Assets 4
Development version as of 2022-02-28
Compare
THIS SOFTWARE HAS NOT BEEN VALIDATED.
This version of Casal2 was built from the main development branch on 2022-02-25.
Model output will include "Version: v22.02 (2022-02-25)".
Windows files: Casal2-Windows-build.zip
Debian/Ubuntu Linux files: Casal2-Linux-build.zip
CentOS Linux files: Casal2.tar.gz