{"id":18852557,"url":"https://github.com/quva-lab/fbt","last_synced_at":"2026-02-04T16:30:14.429Z","repository":{"id":188296696,"uuid":"671118055","full_name":"QUVA-Lab/fbt","owner":"QUVA-Lab","description":"to be announced","archived":false,"fork":false,"pushed_at":"2023-08-16T06:37:12.000Z","size":853,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-12-30T17:43:06.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QUVA-Lab.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-26T15:20:53.000Z","updated_at":"2023-12-08T15:34:53.000Z","dependencies_parsed_at":"2024-11-08T03:40:44.086Z","dependency_job_id":"f26ce191-fc12-4c22-b4a1-048e24c90566","html_url":"https://github.com/QUVA-Lab/fbt","commit_stats":null,"previous_names":["quva-lab/fbt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QUVA-Lab%2Ffbt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QUVA-Lab%2Ffbt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QUVA-Lab%2Ffbt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QUVA-Lab%2Ffbt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QUVA-Lab","download_url":"https://codeload.github.com/QUVA-Lab/fbt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239793107,"owners_count":19697892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T03:40:33.956Z","updated_at":"2026-02-04T16:30:14.375Z","avatar_url":"https://github.com/QUVA-Lab.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Research virus spread and contact tracing\n\nThis repo contains accompanying code for the Master Thesis \"Beyond risk scores\" by Sander Broos.\n\n## Typical usage\n\nStarting point for experiments will be the following command:\n\n```\npython3 fbt/experiments/compare_stats.py \\\n    --inference_method \"dummy\" \\\n    --experiment_setup \"prequential\" \\\n    --config_data intermediate_graph_abm_02 \\\n    --config_model model_IG02\n```\n\nExperiments take two configs: one for the model and one for the simulator (data).\nWhenever 'abm' is in the data config, the ABM simulator will be used.\n\nExperimental setup could be 'single', where inference will be performed on a single, static graph, or 'prequential',\nwhere an experiment with conditional testing and quarantining will be performed (similar to related research like CRISP and SIB).\n\n## Code convention\n\nCode convention: We care deeply about good code and scientific reproducibility. As of July 2023, the code contains\n42 unittests, spanning more than one thousands line of code (`make test` or `nose2 -v`).\n\nThe code includes abundant type hints (`make hint` or `pytype fbt`).\n\nCode is styled with included '.pylintrc' and pycodestyle (`make lint` or `pylint fbt`)\n\n## Installation\n\nFor GSL, follow [these instructions](https://coral.ise.lehigh.edu/jild13/2016/07/11/hello/)\n\n```\n# get the installation file\nwget ftp://ftp.gnu.org/gnu/gsl/gsl-latest.tar.gz\n\n# Unpack archive\ntar -zxvf gsl-latest.tar.gz\n\n# make a directory for the gsl installation\nmkdir /var/scratch/${USER}/projects/gsl\n\n# installation\n./configure --prefix=/var/scratch/${USER}/projects/gsl\nmake\nmake check\nmake install\n```\n\n[SWIG](https://www.swig.org/) install\n```\nsudo apt-get update\nsudo apt-get -y install swig\n```\n\nABM install\n```\n# Get the ABM code\ncd ../\n\nmkdir abm\ncd abm\n\ngit clone https://github.com/aleingrosso/OpenABM-Covid19.git .\n\ncd src\nmake all\n\nmake swig-all\n```\n\n## Run a sweep with WandB\nTo run a sweep with WandB, run the following command\n\n`$ wandb sweep sweep/default.yaml`\n\nCopy the sweepid. Then on the cluster, or another computer, start up an agent with\n\n```\n$ export SWEEP=sweepid\n$ wandb agent \"$USERNAME/fbt-fbt_experiments/$SWEEP\"\n```\n\n## Analysis of results\nSome analysis plots of example results can be found in the file testing_policy_analysis.ipynb.\n\n## Attribution\n\nThis repo continued from a fork of upstream repo [NTTW](https://github.com/QUVA-Lab/nttw)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquva-lab%2Ffbt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquva-lab%2Ffbt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquva-lab%2Ffbt/lists"}