Skip to content

Tags to initialise attributes#453

Merged
justin-ven merged 9 commits intosimpaths:developfrom
justin-ven:develop
Apr 20, 2026
Merged

Tags to initialise attributes#453
justin-ven merged 9 commits intosimpaths:developfrom
justin-ven:develop

Conversation

@justin-ven
Copy link
Copy Markdown
Contributor

This pull request adds new tags - @lag and @NullInitialised - that automate initialisation of attribute values at the start of each simulated period. These tags have been added to attributes wherever it was found that the change had minimal effects on simulated projections. Nevertheless, a fair few attributes -particularly in the person object – continue to lack tags for initialization, as I found that including these either led to model crashes or altered projections. It would be useful to crawl over the attributes that remain untagged, to ensure that their values at the beginning of each period are properly treated, and to omit any associated code inconsistencies.

Replace <h3> with <h2> to solve error in PR simpaths#453.
@matteorichiardi
Copy link
Copy Markdown
Contributor

@justin-ven : can you please add a list of the variables w/o tag that need checking?

@justin-ven
Copy link
Copy Markdown
Contributor Author

@justin-ven : can you please add a list of the variables w/o tag that need checking?

Done - see SimPaths #119

@justin-ven justin-ven merged commit ae9eea2 into simpaths:develop Apr 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants