<commit_before>
def getbans(user):
    """ 
    Should return a dict containing info about the user.
    It should contain the following info:
      -   int : bancount
      - O dict : bans
          -   string : banreason
          -   ...
    """
    return {"bancount" : 0}


def fulllookup(user):
    """
    Should return a dict containing info about the user.
    It should be containing the following info:
      -   int : bancount
      - O dict : bans
          -   string : banreason
          -   ...  
      - O int : playerrep - 0-10, the higher the better
      - O dict : altlist
          -   string : info - format is "username numbans"
          -   ...<commit_msg>fixed up the bansystem structure a bit<commit_after>
def getbans(user):
    """ 
    Should return a dict containing info about the user.
    It should contain the following info:
      -   int : bancount
      - O string : error - if this is returned, it is fine to not return anything else
      - O array : bans
          -   dict - info about the ban
              - O string : issuer
              - O string : reason
              - O string : server	
          -   ...
    """
    return {"bancount" : 0}

def getipbans(ip):
    """
    Should return a dict containing info about the ip.
    If this is not supported by the system, just return.
      -   int : bancount
      - O string : error - if this is returned, it is fine to not return anything else
      - O array : bans
          -   dict - info about the ban
              - O string : issuer
              - O string : reason
              - O string : server
          -   ...
    """

def fulllookup(user):
    """
    Should return a dict containing info about the user.
    It should be containing the following info:
      -   int : bancount
      - O string : error - if this is returned, it is fine to not return anything else
      - O array : bans
          -   dict - info about the ban
              - O string : issuer
              - O string : reason
              - O string : server
          -   ...  
      - O int : playerrep - 0-10, the higher the better
      - O array : altlist
          -   dict - info about the alt
              -   string : username
              - O int : playerrep
          -   ...
{'fraction_non_alphanumeric': 0.07850877192982456, 'fraction_numerical': 0.0035087719298245615, 'mean_word_length': 1.3612836438923395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1196805', 'n_tokens_mistral': 627, 'n_tokens_neox': 605, 'n_words': 259}