Skip to content

Commit 1f01a4c

Browse files
committed
Added a random heat score for random users
1 parent 98dcdd5 commit 1f01a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/PyMatcha/utils/populate_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def populate_users(amount=150, drop_user_table=False):
5858
orientation=orientation,
5959
birthdate=birthdate,
6060
geohash=geohash,
61-
heat_score=0,
61+
heat_score=random.randint(0, 150),
6262
is_online=random.choice([True, False]),
6363
date_joined=date_joined,
6464
date_lastseen=date_lastseen,

0 commit comments

Comments
 (0)