- Notifications
You must be signed in to change notification settings - Fork 7.7k
Open
Description
In the server.py file, the signup and task routes generate user IDs using hash(hash_string). The hash function is not guaranteed to produce the same hash value across different Python processes or runs, and can even vary between minor versions. This means that a user might be assigned different IDs on subsequent visits, leading to inconsistent Statsig evaluations. Instead, consider using a more stable hashing algorithm, such as MD5 or SHA-256, for consistent user identification.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels