<commit_before>#!/usr/bin/python


"""This is the RTS2 startup script
this should be run at the beginning of the 
night.
    
    """

import sys
import rts2.rtsapi


if len(sys.argv) != 3:
    print "usage: {} <username> <password>".format(sys.argv[0])
    sys.exit()
username, password = sys.argv[1:]

prxy = rts2.rtsapi.createProxy("http://bigpop:8889", username=username, password=password)


prxy.setValue( "SEL", "queue_only", 1 )

#sets to WESTEAST
prxy.setValue( "SEL", "plan_queueing", 3 )
prxy.setValue( "BIG61", "pec_state", 1 )
prxy.setvalue( "EXEC", "auto_loop", False )

<commit_msg>bug fixes for startup script<commit_after>#!/usr/bin/python


"""This is the RTS2 startup script
this should be run at the beginning of the 
night.
    
    """

import sys
import rts2.rtsapi


if len(sys.argv) != 3:
    print "usage: {} <username> <password>".format(sys.argv[0])
    sys.exit()
username, password = sys.argv[1:]

prxy = rts2.rtsapi.createProxy("http://localhost:8889", username=username, password=password )

prxy.setValue( "SEL", "queue_only", True )

#sets to WESTEAST
prxy.setValue( "SEL", "plan_queing", 3 )
prxy.setValue( "BIG61", "pec_state", True )
prxy.setValue( "EXEC", "auto_loop", False )


{'fraction_non_alphanumeric': 0.1611842105263158, 'fraction_numerical': 0.023026315789473683, 'mean_word_length': 4.408888888888889, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4476770', 'n_tokens_mistral': 465, 'n_tokens_neox': 448, 'n_words': 114}