Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC: refactor v2 #26

Open
10 of 11 tasks
chrisdicaprio opened this issue Mar 21, 2024 · 0 comments
Open
10 of 11 tasks

EPIC: refactor v2 #26

chrisdicaprio opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels

Comments

@chrisdicaprio
Copy link
Collaborator

chrisdicaprio commented Mar 21, 2024

A ground-up rewrite of toshi-hazard-post is wanted due to:

  • changes in how realizations are accessed via toshi-hazad-store
  • changes to how sources are defined for component branches in runzi and nzshm-model
  • changes to how logic trees are stored/defined in nzhsm-model
  • changes to the logic tree classes in nzhsm-model

Steps

All steps require test coverage

  • refactor v2: skeleton #25
  • implement calculation of weights
  • implement calculation of composite rates
  • config class #28
  • build full logic tree #29
  • mock use toshi-hazard-store v2 to retrieve component probabilities
  • implement calculation of aggregate rates
  • use toshi-hazard-store v2 to retrieve component probabilities
  • save results with toshi-hazard-store
  • add logging
  • add script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant