Commit graph

2412 commits

Author SHA1 Message Date
lrdossan
3c20ed0306 handled expected number of new cases calculation (including tests) 2024-09-16 11:43:36 +02:00
lrdossan
13c112b656 added validation for short range interactions 2024-09-16 11:42:28 +02:00
lrdossan
a4be817c72 added dynamic occupancy possibility to co2 fitting algorithm 2024-09-16 11:42:28 +02:00
lrdossan
f4c9c5fa96 added test for dynamic occupancy from input form 2024-09-16 11:42:27 +02:00
lrdossan
2f8b053bb1 added "occupancy_format" input that controls the definition of dynamic activities 2024-09-16 11:31:43 +02:00
lrdossan
e3bd714834 added validation for dynamic infected population 2024-09-16 11:26:25 +02:00
lrdossan
ed354a1276 removed unused method 2024-09-16 11:26:25 +02:00
lrdossan
527dd5ffa2 added methods to read and parse dynamic occupancy. Probabilistic exposure and expected new cases were removed from results 2024-09-16 11:25:54 +02:00
lrdossan
fbdeccd7c0 added new inputs for dynamic occupancy 2024-09-16 11:22:05 +02:00
Nicola Tarocco
559c202782
ci: do not run tests on tags 2024-09-13 17:39:10 +02:00
Nicola Tarocco
259caa4b5c
ci: fix tags reference 2024-09-13 17:32:09 +02:00
Luis Aleixo
048c791fb1 Merge branch 'feature/backend_separation' into 'master'
CAiMIRA API development

See merge request caimira/caimira!502
2024-09-13 17:26:48 +02:00
Nicola Tarocco
2998df06e3
release: v4.17.0a1 2024-09-13 17:19:52 +02:00
Nicola Tarocco
fcb419cc8e
tests: remove unused model version 2024-09-13 17:03:21 +02:00
Nicola Tarocco
27f90dd9c6
update versions 2024-09-13 16:57:46 +02:00
Nicola Tarocco
c7a5948cd2
caimira: inject package version 2024-09-13 16:46:15 +02:00
Nicola Tarocco
73bed86bca
update root README and remove other READMEs 2024-09-13 16:33:14 +02:00
lrdossan
cfb63ae36e updated readme 2024-09-10 11:19:18 +02:00
lrdossan
36691d9138 polished cern caimira frontned model related methods 2024-09-04 16:22:28 +02:00
lrdossan
ebde0e1ae4 extracted CO2 logic to a dedicated route 2024-09-03 16:53:13 +02:00
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