<commit_before>token = None
option = None
import networking
import time
import getpass

PING_INTERVAL = 2
VALID_NUMBER_LENGTH = 10

def localLogin():
    number = raw_input("What is your 10 digit phone number?\n")
    if len(number) != VALID_NUMBER_LENGTH:
        print("Invalid Phone Number")
        localLogin()
    number = "+1" + number
    password = <PASSWORD>("What is your <PASSWORD>")
    token = networking.login(number, password)
    first = True
    success = (token != None)
    if success:
        print("Login successful, press Ctrl + C to exit pinging")
    while success:
        try:
            networking.ping(number,first,False,token)
            if first == True:
                first = False
                time.sleep(PING_INTERVAL)<commit_msg>fixed indentation bug<commit_after>token = None
option = None
import networking
import time
import getpass

PING_INTERVAL = 2
VALID_NUMBER_LENGTH = 10

def localLogin():
    number = raw_input("What is your 10 digit phone number?\n")
    if len(number) != VALID_NUMBER_LENGTH:
        print("Invalid Phone Number")
        localLogin()
    number = "+1" + number
    password = <PASSWORD>("What is your password?\n")
    token = networking.login(number, password)
    first = True
    success = (token != None)
    if success:
        print("Login successful, press Ctrl + C to exit pinging")
    while success:
        try:
            status = networking.ping(number,first,False,token)
            if first == True:
                first = False
            time.sleep(PING_INTERVAL)
{'fraction_non_alphanumeric': 0.09704370179948586, 'fraction_numerical': 0.007712082262210797, 'mean_word_length': 2.6549295774647885, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '5458653', 'n_tokens_mistral': 448, 'n_tokens_neox': 431, 'n_words': 136}