Contains projects associated to the development of modeling products
Find a file
2023-08-31 00:06:03 +01:00
.github/workflows Recolved merge conflicts 2023-08-25 12:15:19 +01:00
.idea Added slack to CostOptimiser in the case of no feasible solution 2023-08-30 11:00:45 +01:00
backend correct docker image 2023-08-24 20:46:48 +01:00
conservation_areas restructure wip 2023-07-20 12:37:03 +01:00
data_collection adzuna wip 2023-06-29 21:08:21 +01:00
datatypes Adding recommendation materials details to recommendations outputs 2023-08-21 14:39:34 +01:00
infrastructure/terraform added ecr module to terraform repo 2023-08-22 09:19:56 +01:00
land_registry creating land registry repo 2023-07-20 14:47:19 +01:00
model_data added factory pattern 2023-08-31 00:06:03 +01:00
open_uprn further breaking up code 2023-07-20 12:24:34 +01:00
recommendations Adding placeholder random sampling for sap points, for demo 2023-08-30 10:30:43 +01:00
utils documented function 2023-07-20 15:50:12 +01:00
.coveragerc moved rdsap_tables to recommendations 2023-07-21 18:22:05 +01:00
.dockerignore Adding instructions to run docker locally 2023-08-24 13:34:14 +01:00
.gitignore added predictions to gitignore file 2023-08-30 10:22:05 +01:00
__init__.py added checking for directory before creation and made some minor style changes 2023-08-25 15:21:17 +01:00
package-lock.json restructuring openUrpn code 2023-07-20 11:41:43 +01:00
package.json restructuring openUrpn code 2023-07-20 11:41:43 +01:00
pytest.ini Added unit tests for recommendation utils and still restructuing repo 2023-07-21 11:49:58 +01:00
README.md Updated lamdba's dockerfile and serverless script to try and build the lambda from the docker image in ecr 2023-08-24 10:20:23 +01:00
run_lambda_local.sh Adding doumentation on lambda emulation locally 2023-08-24 18:21:06 +01:00
serverless.yml revert back to x86 2023-08-24 20:12:37 +01:00

Model Repository

This repository contains the code pertaining to the development of the data science and machine learning products being utilised by Hestia.

The different folders in this repository relate to services that can be used independently, or can be imported and used as part of a larger application

Folders

backend/

This folder contains the code for the fastapi backend service, which provides an interface to much of the functionality in this repository, for the frontend

model_data/

This folder contains related to the reading and preparation of assessment model data, including pulling out epc attributes

Testing

All tests can be run, against the configuration in pytest.ini running

pytest

This will run the complete panel of tests and report on coverage in the locations specified by the pytest.ini file.

To run tests in a specific service, e.g. inside of model_data, simply run

pytest --cov-config=model_data/.coveragerc --cov=model_data

This will produce the test results and coverage reports