Commit graph

45 commits

Author SHA1 Message Date
5e2f013a8e
Changed link to template.xlsx
Point to a local template
2025-08-15 15:39:01 +02:00
1e81c39bb2
Added CO2 template to structure 2025-08-15 15:33:49 +02:00
4496c4d271
Create CO2_template.xlsx 2025-08-15 15:33:15 +02:00
Nicolas Mounet
f15fa1c0fd CHANGELOG and version number updated 2025-07-24 16:16:01 +02:00
Nicolas Mounet
e0088c49ec Fixing report text in the static case (removing reference to a group id) 2025-07-24 11:41:46 +02:00
Nicolas Mounet
71fa7df8a2 Updating some mypy and pyinstrument dependencies 2025-07-24 10:42:12 +02:00
Nicolas Mounet
c8904b983e Fixing typing issues 2025-07-24 10:40:12 +02:00
lrdossan
2658e36add updated expiration definition 2025-05-09 11:59:18 +02:00
lrdossan
a56ad5f77a updates following reviewing process:
- replaced 'dynamic_exposed_occupancy', 'dynamic_infected_occupancy' and 'dynamic_occupancy' by 'occupancy' that encompasses both
- developed respective functionality, including CAiMIRA UI and REST API
- simplified logic with entry overlaps and respective validation
- simplified CO2 logic with dynamic groups
- simplified logic with alternative scenarios
- changed default identifier of unique group
- handled naming conventions
- updated existing tests and added new tests for the most recent structure
- generate docscrings update
2025-03-21 17:35:49 +01:00
lrdossan
61c6b2c2c3 Enhancements for Dynamic and Static Occupancy Handling
- Added default 'static' keyword to single group with static occupancy
- Added default values for 'dynamic_exposed_occupancy' and 'dynamic_infected_occupancy'
- Adapted default model to use ExposureModelGroup instance when static occupancy is defined
- Updated JS methods to generate multiple plots when dynamic occupancy is defined
- Handled the alternative scenario generation when dynamic occupancy is defined
- Improved results generation for exposure groups
- Updated HTML report for visualising results across multiple groups
- Enhanced model representations
2025-03-19 15:45:05 +01:00
lrdossan
cd3df90c4c Added dynamic groups in backend and propagated required changes to requests
- Correction of typos

- Changes do model to accommodate group of exposure models

- Handled virus validator to accommodate group of exposure models

- Modifications to accomodate generation of results for exposure model group

- Added data registry attribute to exposuremodelgroups class

- Fixed test for dynamic models

- Defined ExposureModelGroup with required methods

- Adapted virus report data to generate results for groups of exposed population

- Build same distributions for different models

- Fixed bug with defaults

- Handled definition of a single ExposureModel root obj when only one group is defined

- Added short-range expirations per group

- Added full validation on short_range interactions with dynamic exposure model

- Added full set of tests

- Updated docstrings

- Added support for number of people in exposed population, which should be identical within each group

- Added type checks

- Added UI adjustments for expected new cases

- Adapted exposed population data format to accommodate constant total_people
2025-03-19 15:45:05 +01:00
Nicola
d78865ab88
release: v4.17.8 2025-03-13 14:47:49 +01:00
lrdossan
356dfca1df updated version 2025-02-10 11:44:49 +01:00
lrdossan
04fb99848a increased version 2024-12-04 16:21:33 +01:00
lrdossan
a2c76d8551 updated copyright 2024-12-02 11:33:43 +01:00
Nicola Tarocco
6b3efb9345 releases: add PyPI config
- closes #430
2024-11-29 17:14:46 +01:00
lrdossan
9f3a406d46 Update on entire docs:
- Added landing page for REST API and handled route package structure
- Alphabetically ordered form inputs and fixed documentation on REST API
- Added new logo in documentation UI and added section for REST API in documentation
2024-11-29 11:26:44 +01:00
lrdossan
700bd786dd Corrected user guide and about doc refs 2024-11-20 16:41:31 +01:00
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
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
lrdossan
d00df39d1b update on labels 2024-10-15 16:47:55 +02:00
lrdossan
cd9214a727 added eACH to HEPA question 2024-10-11 16:17:14 +02:00
lrdossan
bbd1ae094b Version update 2024-09-19 17:27:46 +02:00
lrdossan
7a5e33c524 removed unused instruction 2024-09-19 11:12:06 +02:00
lrdossan
f7a4b32da1 version update 2024-09-16 16:23:05 +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
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
fbdeccd7c0 added new inputs for dynamic occupancy 2024-09-16 11:22:05 +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
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