sid-dev

Simulate the spread of COVID-19 with different policies

https://github.com/covid-19-impact-lab/sid

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Simulate the spread of COVID-19 with different policies

Basic Info
Statistics
  • Stars: 18
  • Watchers: 3
  • Forks: 0
  • Open Issues: 7
  • Releases: 10
Created almost 6 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.rst

sid
===

.. start-badges

.. image:: https://img.shields.io/pypi/v/sid-dev?color=blue
    :alt: PyPI
    :target: https://pypi.org/project/sid-dev

.. image:: https://img.shields.io/pypi/pyversions/sid-dev
    :alt: PyPI - Python Version
    :target: https://pypi.org/project/sid-dev

.. image:: https://img.shields.io/conda/vn/conda-forge/sid-dev.svg
    :target: https://anaconda.org/conda-forge/sid-dev

.. image:: https://img.shields.io/conda/pn/conda-forge/sid-dev.svg
    :target: https://anaconda.org/conda-forge/sid-dev

.. image:: https://img.shields.io/pypi/l/sid-dev
    :alt: PyPI - License
    :target: https://pypi.org/project/sid-dev

.. image:: https://readthedocs.org/projects/sid-dev/badge/?version=latest
    :target: https://sid-dev.readthedocs.io/en/latest

.. image:: https://img.shields.io/github/workflow/status/covid-19-impact-lab/sid/Continuous%20Integration%20Workflow/main
   :target: https://github.com/covid-19-impact-lab/sid/actions?query=branch%3Amain

.. image:: https://codecov.io/gh/covid-19-impact-lab/sid/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/covid-19-impact-lab/sid

.. image:: https://results.pre-commit.ci/badge/github/covid-19-impact-lab/sid/main.svg
    :target: https://results.pre-commit.ci/latest/github/covid-19-impact-lab/sid/main
    :alt: pre-commit.ci status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black

.. end-badges


Features
--------

sid is an agent-based simulation model for infectious diseases like COVID-19. It scales
from simple examples to complex models which makes it an ideal tool for prototyping,
educational purposes, and research.

sid's focus is on predicting the effects of non-pharmaceutical interventions on the
spread of an infectious disease. To accomplish this task it is built to capture
important aspects of contacts between people. In particular, sid has the following
features:

1. At the core of the model, people meet people based on a matching algorithm. It is
   possible to represent a variety of contact types like households, leisure activities,
   school classes and nurseries with teachers and several types of contacts at the
   workplace. Contact types can be random or recurrent and vary in frequency.

2. Policies allow to shut down contact types entirely or partially. The reduction of
   contacts can be random or systematic, e.g., to allow for essential workers.

3. Infection probabilities vary across contact types and depending on the age of the
   susceptible individual, but are invariant to policies which reduce contacts. The
   invariance is an essential property for predicting the effects of policies for which
   empirical data does not exist.

4. The model achieves a good fit on German infection and fatality rate data even if only
   the infection probabilities are fit to the data and the remaining parameters are
   calibrated from the medical literature and data on contact frequencies.

5. The model allows for two testing mechanisms, representing PCR and rapid tests. PCR
   tests always reveal the true health status of the tested individual after some days
   which can be used for testing policies or to differentiate between known and unknown
   infections.

   In contrast, rapid tests immediately return the test outcome and identify infected
   people based on the sensitivity and specificity of the test. It is possible to
   implement reactions to the outcome of the test enabling individuals to plan meetings,
   test with a rapid test, and to refrain from meeting if the test is positive.

6. Mutations may lead to multiple, prevalent virus strains with different
   characteristics. For now, sid is able to model an unlimited amount of virus strains
   with different degrees of infectiousness.

7. It is possible to implement models for vaccinating people who, then, gain perfect
   immunity from the disease.


.. start-installation

Installation
------------

sid is available on `PyPI `_ and on `Anaconda.org
`_ and can be installed with

.. code-block:: bash

    $ pip install sid-dev

    # or

    $ conda install -c conda-forge sid-dev

.. end-installation


Publications
------------

The main publication featuring sid is

- Gabler, J., Raabe, T., Röhrl, K., & von Gaudecker, H. M. (2021). `The Effectiveness of
  Strategies to Contain SARS-CoV-2: Testing, Vaccinations, and NPIs
  `_. arXiv.

Other related publications are

- Dorn, F., Gabler, J., von Gaudecker, H. M., Peichl, A., Raabe, T., & Röhrl, K. (2020).
  `Wenn Menschen (keine) Menschen treffen: Simulation der Auswirkungen von
  Politikmaßnahmen zur Eindämmung der zweiten Covid-19-Welle
  `_. ifo Schnelldienst Digital, 1(15).

- Gabler, J., Raabe, T., Röhrl, K., & Gaudecker, H. M. V. (2020). `Die Bedeutung
  individuellen Verhaltens über den Jahreswechsel für die Weiterentwicklung der
  Covid-19-Pandemie in Deutschland `_ (No. 99). Institute
  of Labor Economics (IZA).

- Gabler, J., Raabe, T., Röhrl, K., & Gaudecker, H. M. V. (2021). `Der Effekt von
  Heimarbeit auf die Entwicklung der Covid-19-Pandemie in Deutschland
  `_ (No. 100). Institute of Labor Economics (IZA).


Citation
--------

If you rely on sid for your own research, please cite it with

.. code-block::

    @misc{Gabler2021,
      title={
        The Effectiveness of Strategies to Contain SARS-CoV-2: Testing,
        Vaccinations, and NPIs
      },
      author={
        Janoś Gabler and Tobias Raabe and Klara Röhrl
        and Hans-Martin von Gaudecker
      },
      year={2021},
      eprint={2106.11129},
      archivePrefix={arXiv},
      primaryClass={q-bio.PE}
    }

Owner

  • Name: covid-19-impact-lab
  • Login: covid-19-impact-lab
  • Kind: organization
  • Email: covid-19-impact-lab@outlook.com

Our goal is to analyse the effect of the current crisis and countermeasures on people’s behaviour, fears, and beliefs.

Citation (CITATION)

@article{Gabler2020,
  Title = {
    People Meet People: A Microlevel Approach to Predicting the Effect of Policies
    on the Spread of COVID-19
  },
  Author = {Gabler, Janos and Raabe, Tobias and R{\"o}hrl, Klara},
  Year = {2020},
  Publisher = {IZA Discussion Paper}
}

GitHub Events

Total
  • Push event: 18
Last Year
  • Push event: 18

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 130
  • Total Committers: 5
  • Avg Commits per committer: 26.0
  • Development Distribution Score (DDS): 0.492
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tobias Raabe r****e@p****e 66
pre-commit-ci[bot] 6****]@u****m 23
Janos Gabler j****r@g****m 21
Klara Röhrl k****l@g****m 19
Tim Mensinger t****m@m****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 12
  • Total pull requests: 88
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 7 days
  • Total issue authors: 3
  • Total pull request authors: 5
  • Average comments per issue: 0.42
  • Average comments per pull request: 1.15
  • Merged pull requests: 84
  • Bot issues: 0
  • Bot pull requests: 24
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • tobiasraabe (7)
  • roecla (4)
  • janosg (1)
Pull Request Authors
  • tobiasraabe (42)
  • pre-commit-ci[bot] (24)
  • roecla (10)
  • janosg (8)
  • timmens (4)
Top Labels
Issue Labels
enhancement (7) bug (2)
Pull Request Labels
ready-for-review (4)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 42 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 2
    (may contain duplicates)
  • Total versions: 18
  • Total maintainers: 3
pypi.org: sid-dev

Simulate the spread of COVID-19 with different policies.

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 42 Last month
Rankings
Dependent packages count: 10.0%
Stargazers count: 13.9%
Average: 20.0%
Dependent repos count: 21.7%
Downloads: 24.6%
Forks count: 29.8%
Maintainers (3)
Last synced: 8 months ago
conda-forge.org: sid-dev
  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 1
Rankings
Dependent repos count: 24.3%
Average: 48.0%
Stargazers count: 50.2%
Dependent packages count: 51.6%
Forks count: 66.1%
Last synced: 8 months ago

Dependencies

environment.yml conda
  • anaconda-client
  • black
  • bokeh
  • conda-build
  • conda-verify
  • dask
  • estimagic
  • fastparquet !=0.6.1
  • furo
  • holoviews
  • hypothesis
  • jupyterlab
  • nbsphinx
  • numba >=0.48
  • pandas >=1
  • pdbpp
  • pip
  • pre-commit
  • pytest
  • pytest-cov
  • pytest-regressions
  • pytest-xdist
  • python >=3.6
  • python-snappy
  • seaborn
  • setuptools_scm
  • snakeviz
  • sphinx
  • sphinx-autoapi
  • sphinx-autodoc-typehints
  • sphinx-copybutton
  • sphinx-panels
  • toml
  • tox-conda
  • tqdm
.github/workflows/continuous-integration-workflow.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
.github/workflows/publish-to-pypi.yml actions
  • actions/checkout master composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish master composite