Commit graph

2305 commits

Author SHA1 Message Date
lrdossan
e1339e3832 added env variable for running tests 2024-05-27 15:53:22 +02:00
lrdossan
b616bc2ab1 updated conf file of readthedocs 2024-05-27 15:53:09 +02:00
Luis Aleixo
c8b6d882cc Merge branch 'changes/schema_update' into 'master'
Data registry update (schema v2.1.1)

See merge request caimira/caimira!487
2024-05-27 11:10:20 +02:00
Luis Aleixo
fd8f28f888 updated version (minor) 2024-05-27 10:51:11 +02:00
Luis Aleixo
fc03fce082 wrapped data service enabled env. variable in try/except block 2024-05-27 10:50:59 +02:00
Luis Aleixo
ee98b1d308 added breathing cycle to short range dilution factor 2024-05-27 10:42:46 +02:00
Luis Aleixo
3c3758dfcd removal of viable_to_RNA_ratio_distribution and infectious_dose_distribution from data registry 2024-05-27 10:42:46 +02:00
Luis Aleixo
39fc9d8e96 handled way to visualize custom value types (namely constant values); handled display of conditional probability plot 2024-05-27 10:42:46 +02:00
Luis Aleixo
9bc6252a4b added cast to int when fetching env. var. that enables data service 2024-05-27 10:42:46 +02:00
Luis Aleixo
bf0d64063a modifed symptomatic_vl_frequencies to fetch data from registry 2024-05-27 10:42:46 +02:00
Luis Aleixo
1b5f55fc06 modified data service host (QA) 2024-05-27 10:42:46 +02:00
Luis Aleixo
3914dabebb changes on custom distributions definitions 2024-05-27 10:42:46 +02:00
Luis Aleixo
c02737cf92 updated schema to reflect v2.0.0 2024-05-27 10:42:46 +02:00
Luis Aleixo
74849cdee0 Merge branch 'feature/expected_reproduction_sr' into 'master'
Expected number of new cases fix

See merge request caimira/caimira!493
2024-05-24 16:56:48 +02:00
Luis Aleixo
8ea055a8e1 changed docstring for expected_new_cases method 2024-05-24 16:42:03 +02:00
Luis Aleixo
ac04710d1b ui modifications 2024-05-24 16:42:03 +02:00
Luis Aleixo
aa2e3be2cc replaced max_people_for_sr to max_occupants_for_sr 2024-05-24 16:42:03 +02:00
Luis Aleixo
0c41b8e98a changed the default value of short_range_occupants to be 0 2024-05-24 16:42:03 +02:00
Luis Aleixo
a0d8f45424 renamed new input "short_range_total_people" to "short_range_occupants" 2024-05-24 16:42:03 +02:00
Luis Aleixo
e61700aaad added test for expected new cases 2024-05-24 16:42:03 +02:00
Luis Aleixo
10146f9a18 added baseline model with sr 2024-05-24 16:42:03 +02:00
Luis Aleixo
04b8e91639 updated new cases method 2024-05-24 16:42:03 +02:00
Luis Aleixo
ed5b0d0e27 minor version update 2024-05-24 16:42:03 +02:00
Luis Aleixo
a54da08789 renamed and moved total_people for short-range interactions to the exposure model 2024-05-24 16:42:03 +02:00
Luis Aleixo
70dc4a93d6 simplified report logic 2024-05-24 16:42:03 +02:00
Luis Aleixo
507e586757 re-factor expected new cases method 2024-05-24 16:42:03 +02:00
Luis Aleixo
abd6bb0767 display the input in form 2024-05-24 16:41:33 +02:00
Luis Aleixo
862010a9e0 added validation 2024-05-24 16:41:33 +02:00
Luis Aleixo
0352675878 added input to model generator from form 2024-05-24 16:41:33 +02:00
Luis Aleixo
e97a4cc805 added new model input 2024-05-24 16:41:33 +02:00
Luis Aleixo
3327b6e461 Merge branch 'feature/activity_types_fix' into 'master'
Fixed error in placeholder for secondary school (data registry defaults)

See merge request caimira/caimira!494
2024-05-24 16:14:06 +02:00
Luis Aleixo
cf99568a70 modified way to restrict pytest version to be installed 2024-05-23 14:52:18 +02:00
Luis Aleixo
6202ac0874 fixed error in placeholder for secondary school (data registry defaults) 2024-05-23 14:47:49 +02:00
Luis Aleixo
477e5707c6 Merge branch 'bugfix/r0_short_range' into 'master'
Fixed bug with expected new cases when short range interactions are defined

See merge request caimira/caimira!492
2024-04-21 13:07:04 +02:00
Luis Aleixo
00b5dc535d fixed bug with expected new cases when short range interactions are defined 2024-04-20 13:54:46 +01:00
Luis Aleixo
585dba57e9 Merge branch 'changes/form_data_schema_data' into 'master'
Added placeholder for activity types

See merge request caimira/caimira!489
2024-04-18 10:48:21 +02:00
Luis Aleixo
6f537e1df3 updated patch version 2024-04-18 10:35:22 +02:00
Luis Aleixo
6a69f91c90 added placeholder for activity types and fetched this data directly in form calculator 2024-04-18 10:28:39 +02:00
Luis Aleixo
a843c47b83 Merge branch 'feature/parallel-deposited-exposures-version' into 'master'
Increased calculator (minor) version with parallel computing

See merge request caimira/caimira!491
2024-04-12 15:35:31 +02:00
Luis Aleixo
f06bb83d30 increased minor version with parallel computing 2024-04-11 15:44:40 +02:00
Luis Aleixo
5042f5d82f Merge branch 'feature/parallel-deposited-exposures' into 'master'
model: compute deposited exposures in parallel

See merge request caimira/caimira!490
2024-03-26 14:23:34 +01:00
Luis Aleixo
ddf7684798 added executor factory to ConcentrationModelJsonResponse class 2024-03-20 11:32:01 +01:00
Nicola Tarocco
c52d017a31
model: compute deposited exposures in parallel
* compute deposited exposures by calculating each time window in a thread,
  in parallel
* compute the CO2 concentration calcuation of each window in parallel
* the usage of multithreading speeds up the overall calculation by at
  least by a factor of 3.
2024-03-17 18:12:39 +01:00
Luis Aleixo
4ed285d84a Merge branch 'bugfix/env_var_and_report_bug' into 'master'
Bugfix/env var and report bug

See merge request caimira/caimira!488
2024-03-11 15:22:47 +01:00
Luis Aleixo
24b3eba422 fixed bug on displaying inf. probability > 99.9% 2024-03-11 13:45:41 +01:00
Luis Aleixo
5e9d6501ae added cast to int when fetching env. variables 2024-03-11 13:44:58 +01:00
Luis Aleixo
600830a495 Merge branch 'changes/enable_env_vars' into 'master'
Handled environment variables to be consistent

See merge request caimira/caimira!486
2024-03-08 09:38:21 +01:00
Luis Aleixo
b0c9aefe34 disabled data service (OKD template) 2024-03-08 09:29:57 +01:00
Luis Aleixo
c5963a978a Added timeout to fetch method 2024-03-06 14:26:35 +01:00
Luis Aleixo
c8cc0b0908 handled environment variables to be consistent 2024-03-05 17:03:19 +01:00