lrdossan
8146224392
Added the two plot img, plot data to the return data of the fetch return (context). Adapted orders of labels
2024-11-05 09:48:07 +01:00
lrdossan
b92bbb6334
changes after rebase from master
2024-09-16 14:48:46 +02:00
lrdossan
3c20ed0306
handled expected number of new cases calculation (including tests)
2024-09-16 11:43:36 +02:00
lrdossan
20b0467f89
Backend separation
...
- extract, isolate and package it in a completely independent Python module, versioned and in a way that allows releases on PyPI.org
- fixed error in placeholder for secondary school (data registry defaults)
- added restriction in pytest version to install
- expected number of new cases fix
- data registry update (schema v2.1.1)
- github update
- deprecate ExpertApplication and CO2Application
- changes to reflect schema update 2.0.2
- version update
- Fixed error with f_inf (short-range)
- new folder layout
- Conditional probability data update
- General fixes
- Fitting results in L/S/person
- CO2 fitting algorithm refinement
2024-09-02 17:39:46 +02:00
lrdossan
e0675ba634
adated docscrings and comments troughout the code following review
2024-09-02 11:23:52 +02:00
lrdossan
24062ffab9
fixed merge conflicts
2024-08-30 12:27:47 +02:00
lrdossan
7918779157
added tests for all the different scenarios
2024-08-30 10:48:50 +02:00
lrdossan
a217a83fcc
wrote find state change tests for all data scenarios
2024-08-30 10:48:50 +02:00
lrdossan
f83a886928
added tests with RMSEP
2024-08-30 10:44:45 +02:00
lrdossan
309b00a7cd
added room_capacity as prop of room
2024-08-26 15:50:46 +02:00
lrdossan
bea7edb048
adapted test
2024-08-20 15:53:32 +01:00
lrdossan
ada64d6acc
added test for lsp ventilation
2024-07-18 12:32:04 +02:00
lrdossan
b3f7321a28
added table for l/s/p results
2024-07-18 12:20:31 +02:00
lrdossan
fa38282186
removed aerosols_without_mask in order to always use aerosols method with the correction conversion factor
2024-07-05 12:09:27 +02:00
lrdossan
7cb762ec1f
fixed error with f_inf (short-range)
2024-07-05 12:09:26 +02:00
Luis Aleixo
d79ef934cb
finished injection of data_service param
2023-12-14 15:34:08 +01:00
Luis Aleixo
20e8bf1df7
added data_service attr where needed
2023-12-14 15:34:08 +01:00
Nicola Tarocco
bb51eaa360
config: inject data registry instance instead of static config
...
* closes #365
2023-12-14 15:34:08 +01:00
Nicolas Mounet
5b4345e40a
Multiplying all known concentrations in test_exposure_model by f_inf=0.5, as concentration is now with f_inf included
2023-12-01 07:32:03 +01:00
Luis Aleixo
f6abdc91c6
merged tests (custom and fixed)
2023-11-22 14:45:57 +01:00
Luis Aleixo
eca8e035c4
added test for natural and mechanical ventilation fitting algorithm
2023-11-22 10:15:04 +01:00
Luis Aleixo
ddfe158467
added report data
2023-11-21 09:42:15 +01:00
Luis Aleixo
e75846a3b2
generate initial CO2 plot
2023-11-21 09:40:27 +01:00
Luis Aleixo
c8f2b32fef
modified CO2 concentration when ventilation is close to 0. (RR)
2023-10-04 16:00:11 +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
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
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
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
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
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
e82f6e58d2
test for host immunity vectorisation
2022-11-10 16:09:32 +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
Luis Aleixo
5a6f4d54a1
Added tests for ExposureModel __post_init__ conditions
2022-10-18 15:35:35 +02:00
Luis Aleixo
12b7b57593
moved default infectiousness_days value to SARSCoV2 class and added another test scenario
2022-10-10 11:15:05 +02:00