MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / _score_profile

Method _score_profile

IntelOSINT.py:15306–15320  ·  view source on GitHub ↗
(profile)

Source from the content-addressed store, hash-verified

15304 return False
15305
15306 def _score_profile(profile):
15307 if not isinstance(profile, dict):
15308 return 0
15309 score = 0
15310 if profile.get("username"): score += 12
15311 if profile.get("name"): score += 8
15312 if profile.get("id"): score += 10
15313 if profile.get("avatar") or profile.get("avatarUrl") or profile.get("profilePicture"): score += 8
15314 if profile.get("header") or profile.get("cover") or profile.get("coverUrl") or profile.get("headerUrl"): score += 6
15315 if profile.get("location"): score += 5
15316 if _matches_target_username(profile):
15317 score += 20
15318 if not _looks_noisy_profile(profile):
15319 score += 2
15320 return score
15321
15322 def _merge_profile_maps(primary, secondary):
15323 if not isinstance(primary, dict):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected