diff --git a/empfehlung_service.py b/empfehlung_service.py index bad977f..77307a1 100644 --- a/empfehlung_service.py +++ b/empfehlung_service.py @@ -7,9 +7,7 @@ FACTOR_DAUER: float = 33.33 FACTOR_INTERAKTION: float = 33.33 -def score_berechnen( - spiel: SPIEL, praeferenzen: dict[str, float] -) -> float: +def score_berechnen(spiel: SPIEL, praeferenzen: dict[str, float]) -> float: """Berechnet den Match-Score für ein Spiel. Bewertet das Spiel nach drei Dimensionen: diff --git a/game_database.py b/game_database.py index a52841c..4dc1021 100644 --- a/game_database.py +++ b/game_database.py @@ -13,6 +13,7 @@ class SPIEL(TypedDict): komplexitaet: float kategorien: list[str] + MIN_SPIELER_DEFAULT = 1 MAX_SPIELER_DEFAULT = 10