https://github.com/cdcgov/cfa-ring-vax-widget
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.7%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: CDCgov
- License: apache-2.0
- Language: Python
- Default Branch: main
- Size: 297 KB
Statistics
- Stars: 0
- Watchers: 15
- Forks: 2
- Open Issues: 14
- Releases: 0
Metadata Files
README.md
Ring vaccination widget
Overview
This repo contains code for investigating the potential efficacy of ring vaccination for a disease interactively via a streamlit app.
Model description
The model is a branching process with the following description. Note that we the model does not track (and indeed has no notion of) susceptibles.
- Disease progression:
- Exposed/latent (i.e., will go on to infection)
- Infectious
- Recovered
- Infection process
- There are a finite number of generations
- Default is 3 (beyond the index infection, i.e., generation 0): generation 1 (contacts), generation 2 (contacts of contacts), and generation 3 (potential escaping infections)
- Number and timing of infections generated by infected people
- Assumed to be a Poisson process: draw inter-infection times from
$\mathrm{Exp}(1/\lambda)$ until infectious period ends or infection is
detected
- N.B.: All "contacts" here are effective contacts, i.e., encounters that result in transmission
- Passive detection (i.e., self-detection)
- Each infection has an independent probability of potential passive detection
- N.B.: To actually be passively detected, the detection must occur at a time before recovery and before being detected by other means.
- If passively detected, detection occurs at some time distribution since exposure.
- Start with Dirac delta distribution (i.e., all passively-detected infections are detected at some fixed delay after exposure)
- N.B.: This assumes that progression of infectiousness and symptoms are independent. We could not say that, e.g., symptoms begin immediately upon onset of infectiousness, and the delay to self-detection is some time after that.
- N.B.: There is no assumption that index case is passively detected. If the index case does not self-detect, this is not an automatic fail, since they might not infect anyone, or their infectees might self-detect.
- Contact tracing (i.e., active detection)
- Every detected infection (whether passive or active) automatically contact tracing
- Contact tracing has an independent probability of detecting each infection caused by the detected infection
- N.B.: To actually be actively detected, the detection must occur at a time before recovery and before being detected by other means.
- N.B.: Contact tracing goes only forward and only one generation. For example, say index infects A infects B infects C, and the index is not detected, but A is passively detected. Then this creates an chance to actively detect B, but not the index or C (although C might be detected if the detection of A leads to contact tracing that detects B that in turn leads to contact tracing that detects C).
- N.B.: "Detection" here means detection and successful intervention. We do not separately model the detected infection's probability of divulging contact information, the ability of public health to find that contact, or the probability of that contact to comply with quarantine/isolation.
- There is a distribution of times between triggering detection and contact tracing completion. Start with Dirac delta.
- Input parameters/assumptions for this model
- Latent period $t_\mathrm{latent}$ distribution (time from contact to onset of infectiousness). Start with Dirac delta.
- Infectious period $t_\mathrm{inf}$ distribution. Start with Dirac delta.
- Infectious rate. Start with identical for all people.
- Passive detection probability and delay distribution: Dirac delta
- Active detection probability and delay distribution: Dirac delta
- Initialization: Seed a single infection (e.g., exposed via travel)
- Outputs
- High-level aggregate summaries of all simulations
- Visual of history of each individual simulation.
Scope
The scope of this repo is a model which is a (1) branching processes where (2) the offspring distribution (including the times at which subsequent infections are caused) for any infection depends only on the history of the process up until the time at which they are infected. For practical purposes, this most likely means the scope can be considered to be density-independent branching processes.
The model implemented herein may be iterated upon subject to preserving this basic structure. For example, any model which requires tracking susceptibles or a network structure is out of scope. But replacing Dirac delta distributions with other probability distributions for disease history would be in scope.
Analysis
- Define a "successful" simulation as one with zero 3rd-generation infections (i.e., no infected contacts-of-contacts-of-contacts)
Project Admins
- Scott Olesen (CDC/CFA) ulp7@cdc.gov
- Andy Magee (CDC/CFA) rzg0@cdc.gov
General Disclaimer
This repository was created for use by CDC programs to collaborate on public health related projects in support of the CDC mission. GitHub is not hosted by the CDC, but is a third party website used by CDC and its partners to share information and collaborate on software. CDC use of GitHub does not imply an endorsement of any one particular service, product, or enterprise.
Public Domain Standard Notice
This repository constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. This repository is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication. All contributions to this repository will be released under the CC0 dedication. By submitting a pull request you are agreeing to comply with this waiver of copyright interest.
License Standard Notice
This repository is licensed under ASL v2 or later.
This source code in this repository is free: you can redistribute it and/or modify it under the terms of the Apache Software License version 2, or (at your option) any later version.
This source code in this repository is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache Software License for more details.
You should have received a copy of the Apache Software License along with this program. If not, see http://www.apache.org/licenses/LICENSE-2.0.html
The source code forked from other open source projects will inherit its license.
Privacy Standard Notice
This repository contains only non-sensitive, publicly available data and information. All material and community participation is covered by the Disclaimer and Code of Conduct. For more information about CDC's privacy policy, please visit http://www.cdc.gov/other/privacy.html.
Contributing Standard Notice
Anyone is encouraged to contribute to the repository by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.) By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Apache Software License v2 or later.
All comments, messages, pull requests, and other submissions received through CDC including this GitHub page may be subject to applicable federal law, including but not limited to the Federal Records Act, and may be archived. Learn more at http://www.cdc.gov/other/privacy.html.
Records Management Standard Notice
This repository is not a source of government records but is a copy to increase collaboration and collaborative potential. All government records will be published through the CDC web site.
Owner
- Name: Centers for Disease Control and Prevention
- Login: CDCgov
- Kind: organization
- Email: data@cdc.gov
- Location: Atlanta, GA
- Website: http://open.cdc.gov/
- Twitter: CDCgov
- Repositories: 114
- Profile: https://github.com/CDCgov
CDC's collaborative software projects to protect America from health, safety, and security threats, both foreign and in the U.S.
GitHub Events
Total
- Create event: 37
- Issues event: 45
- Watch event: 2
- Delete event: 33
- Issue comment event: 80
- Member event: 1
- Public event: 1
- Push event: 110
- Pull request event: 63
- Pull request review event: 124
- Pull request review comment event: 132
- Fork event: 3
Last Year
- Create event: 37
- Issues event: 45
- Watch event: 2
- Delete event: 33
- Issue comment event: 80
- Member event: 1
- Public event: 1
- Push event: 110
- Pull request event: 63
- Pull request review event: 124
- Pull request review comment event: 132
- Fork event: 3
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 15
- Total pull requests: 22
- Average time to close issues: 26 days
- Average time to close pull requests: 11 days
- Total issue authors: 3
- Total pull request authors: 5
- Average comments per issue: 0.6
- Average comments per pull request: 0.55
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 5
Past Year
- Issues: 15
- Pull requests: 22
- Average time to close issues: 26 days
- Average time to close pull requests: 11 days
- Issue authors: 3
- Pull request authors: 5
- Average comments per issue: 0.6
- Average comments per pull request: 0.55
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 5
Top Authors
Issue Authors
- swo (17)
- afmagee42 (9)
- eqmooring (1)
Pull Request Authors
- swo (23)
- afmagee42 (12)
- dependabot[bot] (6)
- dinacmistry (1)
- eschrom (1)
- paigemiller (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- python 3.13-slim build
- actions/cache v4 composite
- ./.github/actions/pre-commit * composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- altair 5.5.0
- attrs 24.2.0
- blinker 1.9.0
- cachetools 5.5.0
- certifi 2024.8.30
- charset-normalizer 3.4.0
- click 8.1.7
- colorama 0.4.6
- exceptiongroup 1.2.2
- gitdb 4.0.11
- gitpython 3.1.43
- graphviz 0.20.3
- idna 3.10
- iniconfig 2.0.0
- jinja2 3.1.4
- jsonschema 4.23.0
- jsonschema-specifications 2024.10.1
- markdown-it-py 3.0.0
- markupsafe 3.0.2
- mdurl 0.1.2
- narwhals 1.18.3
- numpy 2.2.0
- packaging 24.2
- pandas 2.2.3
- pillow 11.0.0
- pluggy 1.5.0
- protobuf 5.29.1
- pyarrow 18.1.0
- pydeck 0.9.1
- pygments 2.18.0
- pytest 8.3.4
- python-dateutil 2.9.0.post0
- pytz 2024.2
- referencing 0.35.1
- requests 2.32.3
- rich 13.9.4
- rpds-py 0.22.3
- six 1.17.0
- smmap 5.0.1
- streamlit 1.41.0
- tenacity 9.0.0
- toml 0.10.2
- tomli 2.2.1
- tornado 6.4.2
- typing-extensions 4.12.2
- tzdata 2024.2
- urllib3 2.2.3
- watchdog 6.0.0
- pytest ^8.3.4 develop
- graphviz ^0.20.3
- numpy ^2.2.0
- python ^3.10
- streamlit ^1.41.0