chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:37:47 +08:00
commit 7653f56fed
1422 changed files with 359026 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import re
def generate_user_id(first_name, last_name):
"""Generates a consistent user ID from first and last name."""
user_id = re.sub(r"\W+", "", (first_name + last_name).lower())
return user_id if user_id else "default_user"