Commit graph

12 commits

Author SHA1 Message Date
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
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
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
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
f4c9c5fa96 added test for dynamic occupancy from input form 2024-09-16 11:42:27 +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
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