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

improve parsing for stratified parameters #4930

Merged
merged 6 commits into from
Sep 27, 2024

Conversation

mwdchang
Copy link
Member

@mwdchang mwdchang commented Sep 25, 2024

Summary

Improve parser to reduce the number of false positives where we incorrectly identify something as stratified but it is not. Use the context (grounding info) data, if applicable to determine whether a parameter is the result of an earlier stratification process.

Testing

Load and view the attached AMR model

SEIRHD.vacc.model.for.LA.County.t0.10_28_2021.1.json

parameters like NPI_mult and vacc_mult will denoted as stand-alone parameters and not grouped under a stratified category. Ditto for ther_* variables.

Closes: #4764

@mwdchang mwdchang marked this pull request as ready for review September 26, 2024 18:01
Copy link
Member

@YohannParis YohannParis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Yohann Paris <github@yohannparis.com>
Copy link
Contributor

@blanchco blanchco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and looks good

@mwdchang mwdchang merged commit 4c53dd9 into main Sep 27, 2024
4 checks passed
@mwdchang mwdchang deleted the improve-stratify-param-parsing branch September 27, 2024 17:26
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.

[BUG]: Model page shows incorrect/missing metadata when models has parameters named *_*
3 participants