Closed gvegayon closed 6 days ago
Attention: Patch coverage is 50.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 92.47%. Comparing base (
4e707f5
) to head (001db38
).
Files | Patch % | Lines |
---|---|---|
model/src/pyrenew/latent/infections.py | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think
latent_infections_varname
would be clearer, to disambiguate fromobserved_infections
.
I made a comment at nearly the same time. Are we sure latent_infections_varname
will always be the most fitting name here?
@damonbayer
I think
latent_infections_varname
would be clearer, to disambiguate fromobserved_infections
.I made a comment at nearly the same time. Are we sure
latent_infections_varname
will always be the most fitting name here?@damonbayer
Yes. These are changes in the latent
sub-module.
Ah, yes, I should have remembered more of what's in ./pyrenew/model/
.
Given you statement @damonbayer, I also think infections_varname
→ latent_infections_varname
is clearer.
Now would be a good time to remove the default values for the varnames as well, per #198
I can do this after our 1-1.
Just saw the error. Will fix in a couple of hours
Upon further inspection, I elected to remove this altogether. We already had a numpyro.deterministic
sample for all_latent_infections
(which includes both the seed_infections
and the post_seed_infections
) in the model class, so saving these separately was redundant.
I think there could be an argument for keeping them within the infections module and removing them from the model code.
Renames
infections_mean_varname
toinfections_varname
inlatent.infections
andlatent.infectionswithfeedback
.