Skip to content

Instantly share code, notes, and snippets.

@prithajnath
Last active April 5, 2025 02:33
Show Gist options
  • Save prithajnath/be77a420f124defef07803071eef5602 to your computer and use it in GitHub Desktop.
Save prithajnath/be77a420f124defef07803071eef5602 to your computer and use it in GitHub Desktop.
assing_classifier.py
from random import choice
features_raw = """
Length of bio INT
Number of emoji in bio INT
Number of hashtags in first post INT
Number of hashtags in bio INT
Has mentions in first post Boolean
Has mentions in bio Boolean
“Has URL in first post” Boolean
“Has URL in bio” Boolean
“Profession in bio” Enum
Time from account creation to first post INT
Account creation date Time
“Created before open registration date” Boolean
Handle ends in .bsky.social Boolean
First post type (repost, reply, quote, standard) Enum
"""
team = {"nate": [], "prithaj": [], "shawn": []}
for feature in features_raw.split("\n"):
if feature:
teammate = choice(list(team.keys()))
team[teammate].append(feature)
for teammate, features in team.items():
print(f"{teammate} is doing...")
for f in features:
print(f)
print("-" * 50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment