cleanup before prod
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Successful in 1m57s
Run linting on the backend code / Build (pull_request) Successful in 28s
Run testing on the backend code / Build (pull_request) Failing after 53s
Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 24s

This commit is contained in:
Helldragon67 2025-01-23 12:53:01 +01:00
parent b30fa1f02e
commit 4818bde820
8 changed files with 148 additions and 1001 deletions

View File

@ -24,7 +24,6 @@ Refer to the READMEs in the `frontend` and `backend` directories for instruction
- `google_maps_flutter` plugin
- Python 3
- `fastapi`
- `numpy, scipy`
- Docker

View File

@ -18,12 +18,10 @@ numpy = "*"
fastapi = "*"
pydantic = "*"
shapely = "*"
scipy = "*"
osmpythontools = "*"
pywikibot = "*"
pymemcache = "*"
fastapi-cli = "*"
scikit-learn = "*"
pyqt6 = "*"
loki-logger-handler = "*"
pulp = "*"
scipy = "*"

1122
backend/Pipfile.lock generated

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -12,8 +12,8 @@ from .structs.linked_landmarks import LinkedLandmarks
from .structs.trip import Trip
from .utils.landmarks_manager import LandmarkManager
from .utils.toilets_manager import ToiletsManager
from .utils.optimizer import Optimizer
from .utils.refiner import Refiner
from .optimization.optimizer import Optimizer
from .optimization.refiner import Refiner
from .cache import client as cache_client
logger = logging.getLogger(__name__)

View File

View File

@ -6,7 +6,7 @@ import numpy as np
import pulp as pl
from ..structs.landmark import Landmark
from .get_time_distance import get_time
from ..utils.get_time_distance import get_time
from ..constants import OPTIMIZER_PARAMETERS_PATH

View File

@ -5,8 +5,8 @@ import yaml
from shapely import buffer, LineString, Point, Polygon, MultiPoint, concave_hull
from ..structs.landmark import Landmark
from .get_time_distance import get_time
from .take_most_important import take_most_important
from ..utils.get_time_distance import get_time
from ..utils.take_most_important import take_most_important
from .optimizer import Optimizer
from ..constants import OPTIMIZER_PARAMETERS_PATH