This commit is contained in:
jeremygan2021
2026-01-09 21:36:50 +08:00
parent eb44d68050
commit 1899ca0b9d
3 changed files with 34 additions and 2 deletions

View File

@@ -53,10 +53,10 @@ def get_db_connection():
def assign_seat(cur, user_industry: str) -> str:
"""
Allocate a seat based on:
1. Even distribution (13 tables, max 12 per table)
1. Even distribution (11 tables, max 12 per table)
2. Mix industries (try to put user in a table where their industry is least represented)
"""
TOTAL_TABLES = 13
TOTAL_TABLES = 11
MAX_PER_TABLE = 12
# Initialize table stats