CDCgov / CDCgov/PyRenew

Extend Continuous Integration for macOS and Windows

Open
#120 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

developer
Dominant language
Python
Stars
29
Forks
9
Avg merge
9d 9h
Merged PRs (30d)
8

Description

Goal

If we want make PyRenew widely usable, we should extend our CI to run across multiple platforms and ensure that our code works as expected.

Context

While working through our tutorials on macOS, I found that model/docs/example-with-datasets.qmd cannot be rendered on macOS because jnp.abs(1 - jnp.sum(inf_hosp_int)) $\approx$ 1e-07 > 1e-20, which causes inf_hosp_int = deterministic.DeterministicPMF(inf_hosp_int) to error.
This error does not occur in linux.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reviewing the repository's existing CI configuration and the rendering path for model/docs/example-with-datasets.qmd. Reproduce the macOS failure around jnp.abs(...) and DeterministicPMF, then add macOS and Windows CI coverage. Done means the relevant checks run successfully on both platforms and the tutorial renders without the reported tolerance error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.