diff --git a/backend/src/lunchheros/db/dbFetcher.py b/backend/src/lunchheros/db/dbFetcher.py index 429af96..6f9bd76 100644 --- a/backend/src/lunchheros/db/dbFetcher.py +++ b/backend/src/lunchheros/db/dbFetcher.py @@ -3,9 +3,6 @@ import json import os - - - async def get_encoded_data(time_slot: int, location: str, data): print("get_encoded_data") # Transform data @@ -19,7 +16,6 @@ async def get_encoded_data(time_slot: int, location: str, data): #return one_hot_encoded_df - def parse_user_id_tolist(test_data): data = json.loads(test_data) diff --git a/backend/src/lunchheros/match/_randomize.py b/backend/src/lunchheros/match/_randomize.py index fd05658..31859ab 100644 --- a/backend/src/lunchheros/match/_randomize.py +++ b/backend/src/lunchheros/match/_randomize.py @@ -39,7 +39,7 @@ def _randomize_groups(group_size: int, users: list[str]) -> list[list]: return groups -def match(userids): +def matching(userids): # convert userids to list userids = parse_user_id_tolist(userids)