Commit graph

2392 commits

Author SHA1 Message Date
Nicola Tarocco
41ea92cac2 deployment refactoring
- update CI to correctly build docker images
- add requirement.txt
- update Dockerfile to correctly build the app
2024-09-02 17:39:49 +02:00
Nicola Tarocco
66a5944489 ci: refactor tests/deploy 2024-09-02 17:39:49 +02:00
lrdossan
dd6723e7e8 adjustments to cern_caimira .toml file 2024-09-02 17:39:49 +02:00
lrdossan
d08852716c handled CI/CD and .toml files 2024-09-02 17:39:49 +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
Luis Aleixo
6f77b6e725 Merge branch 'feature/CO2_fitting_refinement' into 'master'
CO2 fitting algorithm refinement

See merge request caimira/caimira!503
2024-09-02 15:37:21 +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
e98d5f6d25 Fit data button update -> Confirm and Fit Data 2024-08-30 10:48:50 +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
012bfdd56f applied different smoth technique to find change points 2024-08-30 10:48:50 +02:00
lrdossan
2b3b567a31 renamed "find_change_points_with_scipy" to "find_change_points" for maintainability 2024-08-30 10:48:49 +02:00
lrdossan
afea54b0e6 minor modification in vent_states 2024-08-30 10:48:49 +02:00
lrdossan
be74b52b91 avoid using "Excel" term to enhance comprenshiveness 2024-08-30 10:48:49 +02:00
lrdossan
47fa54fa7b removed sentence from form (related to the suggestion algorithm) 2024-08-30 10:48:49 +02:00
lrdossan
8b092cd3ab handled casts 2024-08-30 10:48:49 +02:00
lrdossan
e476c671d1 optimised the frontend method that handles the display of transition times in HH:MM format 2024-08-30 10:48:48 +02:00
lrdossan
0d035aad05 replaced Pelt algorithm by scipy find peaks method 2024-08-30 10:48:48 +02:00
lrdossan
9f8cf3b807 extracted report data of co2 fitting algorithm to a separate file 2024-08-30 10:48:48 +02:00
lrdossan
84ffcb5e23 removed fitting ventilation type input (not needed) 2024-08-30 10:48:48 +02:00
lrdossan
f83a886928 added tests with RMSEP 2024-08-30 10:44:45 +02:00
lrdossan
3285643266 adapted pelt algorithm suggested times 2024-08-30 10:44:45 +02:00
Andre Henriques
dbdc6b5760 Merge branch 'feature/ACH_to_L_s_person' into 'master'
Fitting results: added flow rate data (l/s/p)

Closes #416

See merge request caimira/caimira!504
2024-08-30 09:22:32 +02:00
lrdossan
fa0e7fab85 typo 2024-08-30 08:56:40 +02:00
lrdossan
9e3e66b484 adapted tooltip and removed note on empty room capacity 2024-08-28 15:28:58 +02:00
lrdossan
adce41b52e adapted tooltip message 2024-08-28 11:07:34 +02:00
lrdossan
9743bf8901 UI modifications for optional room_capacity input 2024-08-28 10:57:45 +02:00
lrdossan
4f984b201b added room_capacity as optional (and therefore results in l/s/p) 2024-08-28 10:47:38 +02:00
lrdossan
37c5deaede adjusted report page 2024-08-26 15:51:27 +02:00
lrdossan
eb9e1dcee6 removed restriction of total_people <= room_capacity 2024-08-26 15:51:18 +02:00
lrdossan
309b00a7cd added room_capacity as prop of room 2024-08-26 15:50:46 +02:00
lrdossan
9103831a17 added calculation of flow rate in L/s 2024-08-22 13:04:02 +01:00
lrdossan
bea7edb048 adapted test 2024-08-20 15:53:32 +01:00
lrdossan
53b3a52513 added new input "room_capacity" and adapted the calculations of the flow rate (l/s/p) accordingly 2024-08-20 15:53:23 +01:00
Andre Henriques
0624697f49 Merge branch 'feature/general_fixes' into 'master'
General fixes

See merge request caimira/caimira!498
2024-08-05 15:57:18 +02:00
lrdossan
627a090171 adjusted predictive CO2 graph on its minimum y axis domain 2024-08-01 09:54:02 +02:00
lrdossan
1368e33864 complete removal of cases class and related logic 2024-07-31 16:47:42 +02:00
lrdossan
0bec4041ae handled cases data to be updated only when probabilistic exposure (incidence rate) is checked 2024-07-31 16:47:41 +02:00
lrdossan
1215f1d7b7 temporarily disabled ARVE sensors data 2024-07-31 16:47:41 +02:00
lrdossan
c9b296bd0d added fix to predictive CO2 concentration plot 2024-07-31 16:47:41 +02:00
lrdossan
680faf0d8b read raw values from xlsx files 2024-07-31 16:47:40 +02:00
Andre Henriques
b42870dac2 Merge branch 'bugfix/conditional_prob_data' into 'master'
Conditional probability data update

See merge request caimira/caimira!499
2024-07-31 11:50:52 +02:00
lrdossan
d392fa2fe0 slight update to conditional rendering of conditional probability checkbox 2024-07-18 17:06:25 +02:00
lrdossan
22b4abe464 added fix to mpl subplots after 3.9.1 release 2024-07-18 17:02:04 +02:00
lrdossan
f5e1ea728a added cast to list 2024-07-18 17:01:49 +02:00
lrdossan
e3472edd7e fixed variable name error 2024-07-18 17:01:49 +02:00
lrdossan
a11a559710 handled display of data 2024-07-18 17:01:48 +02:00
lrdossan
eb0f5cc881 modified methods to get conditional probability data 2024-07-18 17:01:48 +02:00
lrdossan
1ddbf64de3 fixed bug in plot for conditional probability of infection 2024-07-18 16:55:04 +02:00