Commit graph

520 commits

Author SHA1 Message Date
Nicola Tarocco
a34efcac88 Project documentation and CI/CD improvements:
- Added docs folder with MkDocs and Sphinx integration for documentation.
- Updated GitLab CI/CD configuration to include documentation jobs.
- Improved Dockerfile for streamlined builds.
- Added JavaScript file to support MathJax for equations in MkDocs.
- Created and included a UML diagram for architectural overview.
- Removed unused files to clean up the repository.
- Updated project and package README files for consistency.
- Revised diameter-dependent documentation for clarity.
- Added detailed REST API documentation.
- Updated project version for release tracking.
- Included open-source acknowledgments in the documentation.
- Added repository details and UI instructions to the user guide.
- Integrated CO2 fitting algorithm into the project.
- Included logo on the main documentation page and added CI/CD prod job.
2024-11-20 15:23:46 +01:00
lrdossan
9cf5f5d7a5 Updated minor version 2024-11-05 09:48:07 +01:00
lrdossan
2703553a36 added ignore types upon package update (setuptools) 2024-11-05 09:48:07 +01:00
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
1b56a6acd9 added conditionals type checks 2024-10-22 09:56:16 +02:00
lrdossan
5ae84aeda3 version update (4.17.3) 2024-10-16 10:45:48 +02:00
Nicola Tarocco
0ccbfe4f9a
api: add Ddocker example
* partially closes #424
2024-10-08 23:29:14 +02:00
lrdossan
bbd1ae094b Version update 2024-09-19 17:27:46 +02:00
lrdossan
11f90a3b15 added missing catch exceptions 2024-09-19 17:26:25 +02:00
lrdossan
3926bb7c34 fixed router and controllers 2024-09-19 11:12:06 +02:00
lrdossan
492587b8b3 updated version to 4.17.0a2 2024-09-19 10:44:19 +02:00
lrdossan
f7a4b32da1 version update 2024-09-16 16:23:05 +02:00
lrdossan
bfa20d5e06 updated validation method (and extra test) 2024-09-16 16:22:54 +02:00
lrdossan
b92bbb6334 changes after rebase from master 2024-09-16 14:48:46 +02:00
lrdossan
e545d99190 handled probabilistic exposure from review 2024-09-16 11:43:36 +02:00
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
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
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
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
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