Exemplo n.º 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
Exemplo n.º 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 = []
Exemplo n.º 3
0
 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 = [[], []]
Exemplo n.º 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()
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 11
0
 def __init__(self, stringToScan, arizonaCounties):
     self.arizonaCounties = arizonaCounties
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.arizonaCounties)
     self.resultList = []
Exemplo n.º 12
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), 'fafsa')
     self.resultList = []
Exemplo n.º 13
0
 def __init__(self, stringToScan, demographics):
     self.demographics = demographics
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.demographics)
     self.resultList = []
Exemplo n.º 14
0
 def __init__(self, stringToScan, states):
     self.states = states
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.states)
     self.resultList = []
Exemplo n.º 15
0
 def __init__(self, stringToScan, states):
     self.states = states
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.states)
     self.resultList = []
Exemplo n.º 16
0
 def __init__(self, stringToScan, aboutMeAttributes):
     self.aboutMeAttributes = aboutMeAttributes
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), self.aboutMeAttributes)
     self.resultList = []
Exemplo n.º 17
0
 def __init__(self, stringToScan, countriesNationalities):
     self.countriesNationalities = countriesNationalities
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.countriesNationalities)
     self.resultList = []
Exemplo n.º 18
0
 def __init__(self, stringToScan, interestsAndActivities):
     self.interestsAndActivities = interestsAndActivities
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), self.interestsAndActivities)
     self.resultList = []
Exemplo n.º 19
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan,
                     'full\-time|part\-time|full\stime|part\stime')
     self.resultList = []
Exemplo n.º 20
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, 'full\-time|part\-time|full\stime|part\stime')
     self.resultList = []
Exemplo n.º 21
0
 def __init__(self, stringToScan, arizonaCounties):
     self.arizonaCounties = arizonaCounties
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.arizonaCounties)
     self.resultList = []
Exemplo n.º 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 = []
Exemplo n.º 23
0
 def __init__(self, stringToScan, classStandingOptions):
     self.classStandingOptions = classStandingOptions
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), self.classStandingOptions)
     self.resultList = []
Exemplo n.º 24
0
 def __init__(self, stringToScan, demographics):
     self.demographics = demographics
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, self.demographics)
     self.resultList = []
Exemplo n.º 25
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, '\s\d{1,3}\s')
     self.resultList = []
Exemplo n.º 26
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan, '\s\d{1,3}\s')
     self.resultList = []
Exemplo n.º 27
0
 def __init__(self, stringToScan, classStandingOptions):
     self.classStandingOptions = classStandingOptions
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(),
                     self.classStandingOptions)
     self.resultList = []
Exemplo n.º 28
0
 def __init__(self, stringToScan):
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(), 'fafsa')
     self.resultList = []
Exemplo n.º 29
0
 def __init__(self, stringToScan, aboutMeAttributes):
     self.aboutMeAttributes = aboutMeAttributes
     self.stringToScan = stringToScan
     Parser.__init__(self, self.stringToScan.lower(),
                     self.aboutMeAttributes)
     self.resultList = []