Exemple #1
0
 def __init__(self, game):
     Parser.__init__(self, "Added Time Usage")
     if not game.reaches_mwc:
         self.complete = True
     else:
         self.start_clock = game.clock
         self.time_added = 0
Exemple #2
0
 def __init__(self, stringToScan):
     Parser.stringToScan = stringToScan
     Parser.__init__(
         self, self.stringToScan,
         '(?:\s|\>)[mM]ale|(?:\s|\>)+[Ff]emale|(?:\s|\>)+[Ww]omen|(?:\s|\>)+[Mm]en'
     )
     self.resultList = []
 def __init__(self, game):
     Parser.__init__(self, "Contact Delay")
     if "Contact" not in game.missions_complete:
         self.complete = True
     else:
         self.rbbts = 0
         self.results = [[], []]
Exemple #4
0
    def __init__(self, stringToScan, attributeId):

        self.attributeId = attributeId
        self.IsMatched = False
        self.stringToScan = stringToScan
        self.searchCriteria = DatabaseHelper.getOnlyOneRegex(self.attributeId)
        Parser.__init__(self, stringToScan, self.searchCriteria)
        self.IsMatched = self.doesMatchExist()
Exemple #5
0
 def __init__(self, game):
     Parser.__init__(self, "Clock Usage")
     self.start_clock = game.clock
     self.end_clock = game.timeline.events[-3].time
     # this does not violate the parallelization because it is an index, not a loop
     self.results = str(round(100*self.end_clock/self.start_clock, 1))+"%"
     # currently returns a percent (string) of clock time used, how is this a good idea
     # in fact, this is so easily computed, it was possible without the timeline at all (via spyparsey)
     self.complete = True
Exemple #6
0
 def __init__(self, stringToScan, scholarshipPackageId='0'):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, '\s[^$\d\.]?[1234]\.\d+')
     self.resultList = []
     self.attributeId = '1'
     self.gpa = ''
     self.logicGroup = '0'
     self.requirementTypeCode = '>='
     self.scholarshipPackageId = scholarshipPackageId
Exemple #7
0
 def __init__(self, stringToScan, scholarshipPackageId='0'):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, '\s[^$\d\.]?[1234]\.\d+')
     self.resultList = []
     self.attributeId = '1'
     self.gpa = ''
     self.logicGroup = '0'
     self.requirementTypeCode = '>='
     self.scholarshipPackageId = scholarshipPackageId
Exemple #8
0
 def __init__(self, stringToScan, uaColleges, scholarshipPackageId='0'):
     self.uaColleges = uaColleges
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.uaColleges)
     self.resultList = []
     self.attributeId = '377'
     self.requirementValue = ''
     self.logicGroup = '0'
     self.requirementTypeCode = '*'
     self.scholarshipPackageId = scholarshipPackageId
Exemple #9
0
 def __init__(self, stringToScan, uaColleges, scholarshipPackageId='0'):
     self.uaColleges = uaColleges
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.uaColleges)
     self.resultList = []
     self.attributeId = '377'
     self.requirementValue = ''
     self.logicGroup = '0'
     self.requirementTypeCode = '*'
     self.scholarshipPackageId = scholarshipPackageId
Exemple #10
0
 def __init__(self, stringToScan, majorsRegex, scholarshipPackageId='0'):
     self.majorsRegex = majorsRegex
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), self.majorsRegex)
     self.resultList = []
     self.attributeId = '417'
     self.major = ''
     self.logicGroup = '0'
     self.requirementTypeCode = '*'
     self.scholarshipPackageId = scholarshipPackageId
 def __init__(self, stringToScan, arizonaCounties):
     self.arizonaCounties = arizonaCounties
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.arizonaCounties)
     self.resultList = []
Exemple #12
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), 'fafsa')
     self.resultList = []
Exemple #13
0
 def __init__(self, stringToScan, demographics):
     self.demographics = demographics
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.demographics)
     self.resultList = []
Exemple #14
0
 def __init__(self, stringToScan, states):
     self.states = states
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.states)
     self.resultList = []
Exemple #15
0
 def __init__(self, stringToScan, states):
     self.states = states
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.states)
     self.resultList = []
Exemple #16
0
 def __init__(self, stringToScan, aboutMeAttributes):
     self.aboutMeAttributes = aboutMeAttributes
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), self.aboutMeAttributes)
     self.resultList = []
Exemple #17
0
 def __init__(self, stringToScan, countriesNationalities):
     self.countriesNationalities = countriesNationalities
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.countriesNationalities)
     self.resultList = []
Exemple #18
0
 def __init__(self, stringToScan, interestsAndActivities):
     self.interestsAndActivities = interestsAndActivities
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), self.interestsAndActivities)
     self.resultList = []
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan,
                     'full\-time|part\-time|full\stime|part\stime')
     self.resultList = []
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, 'full\-time|part\-time|full\stime|part\stime')
     self.resultList = []
 def __init__(self, stringToScan, arizonaCounties):
     self.arizonaCounties = arizonaCounties
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.arizonaCounties)
     self.resultList = []
Exemple #22
0
 def __init__(self, stringToScan):
     Parser.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, '(?:\s|\>)[mM]ale|(?:\s|\>)+[Ff]emale|(?:\s|\>)+[Ww]omen|(?:\s|\>)+[Mm]en')
     self.resultList = []
Exemple #23
0
 def __init__(self, stringToScan, classStandingOptions):
     self.classStandingOptions = classStandingOptions
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), self.classStandingOptions)
     self.resultList = []
Exemple #24
0
 def __init__(self, stringToScan, demographics):
     self.demographics = demographics
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.demographics)
     self.resultList = []
Exemple #25
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, '\s\d{1,3}\s')
     self.resultList = []
Exemple #26
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, '\s\d{1,3}\s')
     self.resultList = []
Exemple #27
0
 def __init__(self, stringToScan, classStandingOptions):
     self.classStandingOptions = classStandingOptions
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(),
                     self.classStandingOptions)
     self.resultList = []
Exemple #28
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), 'fafsa')
     self.resultList = []
Exemple #29
0
 def __init__(self, stringToScan, aboutMeAttributes):
     self.aboutMeAttributes = aboutMeAttributes
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(),
                     self.aboutMeAttributes)
     self.resultList = []