Lead classifier
15-point scoring engine from Forex Lead Finder
01def score_profile(profile, posts):
02 # bio keyword = +10 · post keyword = +10
03 # trading pair = +10 · MT4 / MT5 = +5 · hashtag = +5
04 score = 0
05 for kw in BIO_KEYWORDS:
06 if kw in profile.bio.lower():
07 score += 10
08 for post in posts:
09 if any(p in post for p in PAIRS):
10 score += 10
11 return score # ≥ 15 kept · < 15 discarded