<commit_before>import requests
import base64
import functools
import datetime
import time

class ESI:
    def __init__(self, sso):
        self.sso = sso
        self.esi_server = 'https://esi.tech.ccp.is'

    @functools.lru_cache()
    def get_alliance(self, alliance_id):
        url = '/latest/alliances/%d/' % alliance_id
        return self.esi_get(url)

    @functools.lru_cache()
    def get_corporation(self, corporation_id):
        url = '/latest/corporations/%d/' % corporation_id
        return self.esi_get(url)

    @functools.lru_cache()
    def get_character(self, character_id):
        url = '/latest/characters/%d/' % character_id
        return self.esi_get(url)

    def get_notifications(self):
        url = '/latest/characters/%d/notifications/' % self.sso.character_id
        return self.esi_get(url)

    def get_new_notifications(self, max_age=None):
        notifications = self.get_notifications()<commit_msg>Update to new ESI URL esi.evetech.net<commit_after>import requests
import base64
import functools
import datetime
import time

class ESI:
    def __init__(self, sso):
        self.sso = sso
        self.esi_server = 'https://esi.evetech.net'

    @functools.lru_cache()
    def get_alliance(self, alliance_id):
        url = '/latest/alliances/%d/' % alliance_id
        return self.esi_get(url)

    @functools.lru_cache()
    def get_corporation(self, corporation_id):
        url = '/latest/corporations/%d/' % corporation_id
        return self.esi_get(url)

    @functools.lru_cache()
    def get_character(self, character_id):
        url = '/latest/characters/%d/' % character_id
        return self.esi_get(url)

    def get_notifications(self):
        url = '/latest/characters/%d/notifications/' % self.sso.character_id
        return self.esi_get(url)

    def get_new_notifications(self, max_age=None):
        notifications = self.get_notifications()
{'fraction_non_alphanumeric': 0.11292016806722689, 'fraction_numerical': 0.0021008403361344537, 'mean_word_length': 3.0445859872611467, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2797283', 'n_tokens_mistral': 637, 'n_tokens_neox': 620, 'n_words': 120}