Make NDG3 the default non-demographic growth variant

Open Beginner friendly
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
r
Domain
backend

Research direction

Read R/write_params_json.R, especially the argument matching and parameter writing points linked in the issue. Search the repository for other places that set the default non-demographic growth variant, then confirm NDG3 is selected by default and NDG2 remains available as the alternative. The issue says this change should align with Wave 2, expected at the end of Q1 2027.

Written by the indexing model from the issue text.

Description

enhancement priority: must

Given https://github.com/The-Strategy-Unit/nhp_inputs/issues/752, we'll be making NDG3 the default variant, with NDG2 as the alternative. Therefore we should change the default when building the params files.

Note that this will be happening with the release of model v6.2, so the change in this repo doesn't need to happen until then (scheduled for 8 Dec). Wave 2 not coming until end of Q1 2027, it seems.

Looks to me like we can invert the order of the arguments here (given that there's an arg match):

https://github.com/The-Strategy-Unit/nhp_set_model_params/blob/6afbc60ed46098df3ea57793a8bf104e5c521f56/R/write_params_json.R#L12

https://github.com/The-Strategy-Unit/nhp_set_model_params/blob/6afbc60ed46098df3ea57793a8bf104e5c521f56/R/write_params_json.R#L48

Anywhere else?

Dominant language
R
Stars
0
Forks
1
Avg merge
1d 14m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from The-Strategy-Unit/nhp_set_model_params

All issues in The-Strategy-Unit/nhp_set_model_params

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.