Skip to content

Releases: The-Strategy-Unit/nhp_model

v4.4.1

16 Mar 15:09
c0e5ff4

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.3.1...v4.4.1

v4.4.0

29 Jan 12:13
91b60a4

Choose a tag to compare

What's Changed

no changes

Full Changelog: v4.3.1...v4.4.0

v4.3.1

23 Jan 14:40
91b60a4

Choose a tag to compare

What's Changed

  • Be more explicit on barriers to running model for external users by @yiwen-h in #520
  • unpin pandas-flavor and specify pyjanitor version by @yiwen-h in #521

Full Changelog: v4.3.0...v4.3.1

v4.3.0

27 Nov 11:09
b383154

Choose a tag to compare

What's Changed

Full Changelog: v4.2.1...v4.3.0

v4.2.1

07 Oct 12:52
775bbda

Choose a tag to compare

What's Changed

New Contributors

  • @Copilot made their first contribution in #501

Full Changelog: v4.2.0...v4.2.1

v4.2.0

01 Oct 10:14
4f50474

Choose a tag to compare

What's Changed

Full Changelog: v4.1.0...v4.2.0

v4.1.0

03 Sep 13:09
33790cc

Choose a tag to compare

What's Changed

Full Changelog: v4.0.1...v4.1.0

v4.0.1

06 Aug 10:41
d12280f

Choose a tag to compare

What's Changed

improve progress reporting #437

Implements progress reporting by updating metadata on the file uploaded to the queue container. This allows up to report back progress to the inputs app

improve exception handling in containers #451

There were cases where the python code would crash in the docker container, but the python process would never terminate, leaving the container running unnecessarily.

We now handle these exceptions more gracefully, which allows the containers to terminate immediately on errors.

Tidying up

New Contributors

Full Changelog: v4.0.0...v4.0.1

v4.0.0

11 Jul 13:13
dc0bc56

Choose a tag to compare

What's Changed

Bugs fixed

Fixes aggregation issue #413

There has existed a bug for a while that affected OP/A&E activity: if any of the columns which we use in any of the results contained a null value, then that row of activity was lost. We now ensure that any nulls are kept in the grouping, and replaced with the value "unknown"

allow 0 to be set as minimum value in params schema #422

The schema was only allowing values > 0 for the mitigators to be set. This should have been >= 0.

New Features

uses new tretspef/tretpef_grouped columns #411

Previously, we had a bit of a bodge with the tretspef (treatment specialty function) column. When we extracted the data, we grouped these specialties to only keep the specialties used in RTT reporting. We later added in the ungrouped tretspef column, but in order not to break other code we added this as tretspef_raw.

We now handle this a bit more cleanly by having the actual values in tretspef, introducing a new column called tretspef_grouped. This has resulted in the aggregations changing names.

2022 based ONS population projections

ONS have released the 2022-based subnational population projections. This release updates the model to use these instead of the 2018 based projections previously used.

  • updates variant lookup for 2022 based pop projections by @tomjemmett in #423
  • Add the population variants to the json schema by @matt-dray in #425
  • Update schema with correct pop projections for v4.0.0, add params validation to tests by @yiwen-h in #427
  • adds an argument to select the projection_year for demographics by @tomjemmett in #431
  • Separate demographics births by @yiwen-h in #433
  • uses the extracted tables for the demographic/birth data for national run by @tomjemmett in #436

Refactor code base #406

all of the python code now sits under the src folder, so the code base can be built as a package.

General tidying up

New Contributors

Full Changelog: v3.6.0...v4.0.0

v3.6.1

26 Jun 16:19
b8b8bd4

Choose a tag to compare

backports #413 to fix #412, which caused some results to be missing rows of data due to the presense of NA's.

Full Changelog: v3.6.0...v3.6.1