This isn't a "count" of how trusted someone is. If someone trusts someone bad (you see shit contributions that are trusted) then you don't trust them anymore. It is no different than mods, except that you get to pick who you trust.
Do you have code for this that I can see? The devil is in the details.
Sorry, i'm a little off today, so this could be wrong, but you get the idea. This would just be for the check, the actual code would have to return the paths that get to a positive result.
def is_trusted(username, trusted_list):
for trusted in trusted_list:
if username == trusted:
return True
if is_trusted(username, get_trusted_list(trusted)):
return True
return False
Rabbit hole is deep.
(post is archived)