AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗This Python package is a wrapper of the C++ library epiworld. It provides a general framework for modeling disease transmission using agent-based models. Some of the main features include:
An evolving cross-framework benchmark compares epiworldpy, epiworld, epiworldR, and other epidemic ABM engines. In the SEIRH network scenarios currently covered, the epiworld family is among the fastest, while native epiworld is among the lower-memory implementations. These results are a snapshot of the tested versions, workloads, and environment rather than a universal ranking; the benchmark welcomes additional scenarios, engines, corrections, and implementation improvements through issues and pull requests.
See the intro for demos!
Installation can be performed through pip (pip installs packages), or
through your favorite Python package manager (uv is preferable).
pip install epiworldpy
If there’s a feature that’s only available on the repository, and hasn’t yet been published to PyPi, please create an issue so we know to get on publishing. In the meantime, you can clone the repository though Git, and install locally in your virtual environment.
git clone https://github.com/uofUEpiBio/epiworldpy
cd epiworldpy
git checkout $COMMIT
uv install .
pip install .
For a quickstart, please see the intro.
This is a short introduction to epiworldPy; for complete documentation, see the API documentation page on the website.
Several alternatives to epiworldPy exist and provide researchers with a range of options, each with its own unique features and strengths, enabling the exploration and analysis of infectious disease dynamics through agent-based modeling. For convenience, the below table is orthogonal to the table on the epiworldR repository.
| Package / Framework | Multiple Viruses (support >1 pathogen) | Multiple Tools (e.g. interventions, contact tracing, NPIs, behavior etc.) | Multiple Runs (i.e. ability to run many replicates, parameter sweeps) | Global Actions (e.g. policies that affect everyone / global interventions) | Built-in Epidemiological Models (SIR, SEIR, etc.) | Dependencies / Notes | Activity / Maturity |
|---|---|---|---|---|---|---|---|
| epiworldPy | yes | yes | yes | yes | yes | Python ≥ 3.7; available on PyPI; supports parallel simulations | Active; wrapper of epiworld C++ library |
| Mesa | no (by default; you’d implement multiple pathogens yourself) | yes (you can code interventions etc.) | yes (you can script many runs) | yes (you can apply global interventions) | no built-in epidemic models per se; it’s a general ABM toolkit | Python, uses standard scientific stack (NumPy, etc.); has visualization components | Active, widely used; good documentation |
| AgentPy | not clearly documented multiple virus support | yes | yes | yes | no default epidemic models; more general ABM framework | Python, integrates with Jupyter etc. | Relatively newer but seems stable |
| Epiabm | probably no multiple viruses (CovidSim / SEIR base is for one pathogen) | yes (modular scenarios, age, spatial heterogeneity, interventions) | yes | yes (global NPIs etc.) | yes (SEIR, more compartments) | Python & C++ backends; modular; has docs, tests | Recently published, growing |
| PyRoss | not clearly multiple viruses (focus seems single disease with structure) | yes (structured contact matrices, NPIs etc.) |
The epiworldPy project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
| yes |
| yes |
| yes (age structured ODE/compartmental etc.) |
| Python, requires numpy, scipy etc. |
| Relatively mature; used in COVID work |
| BESSIE | ambiguous / not clearly multiple viruses; seems built for one epidemic at a time | yes (behavior, synthetic population, interventions) | yes | yes (policies / behavior modules) | yes (standard epidemic spread etc.) | Python; synthetic populations, behavior plugins | Active, though specific to research contexts |
| Epydemix | unclear; seems more about epidemic modelling tasks than full ABM with multiple pathogens | yes (data analysis, simulation, visualization) | yes | likely supports global interventions, but unclear | yes (epidemic models) | Python package, uses scientific stack | Newer; preprint stage; less ABM complexity |