Commit graph

65 commits

Author SHA1 Message Date
Luis Aleixo
c4d527f1a5 solved seed problem with conditional prob test 2023-08-02 14:49:03 +02:00
Luis Aleixo
b6e1afc2a6 Increased test sample size 2023-07-31 17:05:48 +02:00
Luis Aleixo
88c23da962 increased sample size 2023-07-28 17:39:17 +02:00
Luis Aleixo
7d338d3e2d separated vl method and added a test file 2023-07-28 17:39:17 +02:00
Nicolas Mounet
d26218c7e5 Inputing arguments as keywords in populations definition, in test_exposure_model 2023-07-28 10:34:21 +02:00
Luis Aleixo
8e877ec357 created a simple population class for the CO2 concentration model 2023-07-25 13:18:33 +02:00
Luis Aleixo
e732fb48d7 data service: add toggle env var to make it optional 2023-07-19 11:39:39 +02:00
Luis Aleixo
f9fb2a12fb added a test file 2023-07-17 17:28:09 +02:00
Luis Aleixo
07d692b964 expanded pytest raises on tests to each single case 2023-06-29 10:02:26 +01:00
Luis Aleixo
422d2245c5 dose list implementation 2023-06-08 16:46:05 +02:00
Luis Aleixo
a16957d319 updated deposited_exposure method and infection probability tests 2023-06-08 16:46:05 +02:00
Luis Aleixo
df77bdd1b5 tests for incidence rate 2023-06-08 16:46:05 +02:00
Luis Aleixo
1171e51f90 removed private reference for DEFAULT_DATA variables 2023-05-25 16:43:45 +02:00
Luis Aleixo
7fd0e0f8ec updated env var EXTRA_PAGES structure 2023-05-09 17:13:46 +02:00
Luis Aleixo
fb18a2a715 added tests for generic pages 2023-05-08 11:18:11 +02:00
Luis Aleixo
2d3a925fc5 adapted init methods to consider readme and about pages as generic 2023-05-08 10:55:02 +02:00
Luis Aleixo
022abad186 updated branch according to review: - new presence_interval() method in the population class that avoids repetition of if conditions through the code. - typo fix. -tests were updated accordingly 2023-04-28 12:05:30 +02:00
Luis Aleixo
bcb1d1012a modified dynamic tests for InfectedPopulation 2023-04-28 08:54:59 +02:00
Nicolas Mounet
fe19cb5976 Change all normalization factors and emission rates (when present) into 'per person' quantities (i.e. do not normalize anymore by the number of infected people) - to allow dynamic number of infected people. Changing the test accordingly, and the documentation. Adding a __post_init__ check in ExposureModel to forbid the use of dynamic number of exposed people, for now. 2023-04-28 08:54:59 +02:00
Luis Aleixo
e494151d78 added test for dynamic and static population 2023-04-28 08:54:59 +02:00
Luis Aleixo
70f7e86524 test for dynamic occupants 2023-04-28 08:54:58 +02:00
Luis Aleixo
fe7cbf45b7 added expert apps validation for presence times 2023-04-28 08:54:58 +02:00
Luis Aleixo
8a72d27fb1 updated expert app notebook and tests 2023-03-23 12:02:19 +01:00
Luis Aleixo
ee29f12f35 updated typos and got back the state tests 2023-03-23 11:37:48 +01:00
Luis Aleixo
9c810e17e8 updated ventilation scheme 2023-03-23 11:37:47 +01:00
Luis Aleixo
830c0d0edb modified test values to consider min ventilation 2023-03-23 11:35:40 +01:00
Luis Aleixo
8782069a9c added services and fixed ventilation 2023-03-23 11:35:40 +01:00
Luis Aleixo
24e530cb11 adapted test test_webapp.py 2023-03-17 12:09:15 +01:00
Andre Henriques
52d634923b Merge branch 'feature/CO2_profile' into 'master'
CO2 concentration

See merge request caimira/caimira!412
2023-01-31 09:20:41 +01:00
Luis Aleixo
6197e3962f Updated documentation and added a docstring to the newly created tests 2023-01-30 16:30:31 +01:00
Luis Aleixo
f880046384 added a test for the zero ventilation rate case 2023-01-27 16:46:52 +01:00
Luis Aleixo
f14aa0a8a5 added logic for precise breaks for both infected and exposed 2023-01-23 11:11:08 +01:00
Luis Aleixo
e59d4b3d59 updated background_concentration name to min_background_concentration 2023-01-11 13:54:05 +01:00
Luis Aleixo
2043f34b69 updated atmospheric concentration to background concentration (more generic) 2023-01-10 13:06:02 +01:00
Luis Aleixo
2b71d586ef added tests on vectorisation for an integrated concentration 2023-01-10 12:31:24 +01:00
Luis Aleixo
1e0d0a8de2 updated documentation and added tests for the integrated concentration 2023-01-10 09:51:44 +01:00
Nicolas Mounet
ec6add4881 Solving a failing mypy test in test_full_algorithm 2023-01-10 09:51:44 +01:00
Nicolas Mounet
266a3727e8 Changing structure of CO2 concentration model. Renaming one input of ConcentrationModel (infected->population) since it is now inherited from _ConcentrationModelBase, which requires subsequent changes in the apps. 2023-01-10 09:51:44 +01:00
Luis Aleixo
d2ea27ce79 removed ARIA references 2022-12-06 10:03:24 +01:00
Luis Aleixo
388465ba9b added tests for simulation time start and end with breaks 2022-12-06 09:59:57 +01:00
Luis Aleixo
0b37aeca7d added tests for aria breaks and precise activities 2022-12-06 09:59:57 +01:00
Andre Henriques
20b65b6081 Merge branch 'feature/HI_data' into 'master'
Host Immunity Data

See merge request cara/caimira!401
2022-11-23 16:54:52 +01:00
Luis Aleixo
e3215d0f5c added return type for function that has variable annotations 2022-11-18 11:55:09 +01:00
Luis Aleixo
e82f6e58d2 test for host immunity vectorisation 2022-11-10 16:09:32 +01:00
Luis Aleixo
e35edeab44 updated exh_coef variable name 2022-11-09 11:13:27 +01:00
Luis Aleixo
599603126f Updated methods docstrings 2022-11-08 17:40:25 +01:00
Luis Aleixo
230f1cedff Adapted dilution factor formula with exhalation coefficient 2022-11-08 17:40:25 +01:00
Luis Aleixo
44f016bb16 updated message errors and added room volume vectorisation test when as a ventilation parameter 2022-11-02 14:57:43 +01:00
Luis Aleixo
ecf99b34cc Updated tests and model post_init method 2022-10-20 14:19:49 +02:00
Luis Aleixo
24ef358571 adapted post_init method for diameter-independent elements of the IVRR 2022-10-19 17:55:18 +02:00