Skip to content

Commit

Permalink
Rescue the world again
Browse files Browse the repository at this point in the history
Rescue the world again
  • Loading branch information
gordonkoehn committed Oct 29, 2023
2 parents 7a4ba10 + eead0f7 commit 09f3d42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions backend/src/lunchheros/db/dbFetcher.py
Expand Up @@ -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
Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion backend/src/lunchheros/match/_randomize.py
Expand Up @@ -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)
Expand Down

0 comments on commit 09f3d42

Please sign in to comment.