def getTeamTalentTierTimes(self):
        try:
            return self.teamTalentTierTimes
        except __HOLE__:
            teamTalentTierLevel = [[], []]
            teamTalentTiersFirstPick = [[], []]
            teamTalentTiersLastPick = [[], []]
            players = self.getPlayers()
            for playerIndex, playerTalentPicks in enumerate(self.getTalents()):
                player = players[playerIndex]
                for talentTierIndex, talentPick in enumerate(playerTalentPicks):
                    talentPickTime = talentPick['seconds']
                    teamIndex = player['m_teamId']

                    tiersFirstPick = teamTalentTiersFirstPick[teamIndex]
                    if (talentTierIndex >= len(tiersFirstPick)):
                        tiersFirstPick.append(talentPickTime)
                    elif (talentPickTime < tiersFirstPick[talentTierIndex]):
                        tiersFirstPick[talentTierIndex] = talentPickTime

                    tiersLastPick = teamTalentTiersLastPick[teamIndex]
                    if (talentTierIndex >= len(tiersLastPick)):
                        tiersLastPick.append(talentPickTime)
                    elif (talentPickTime > tiersLastPick[talentTierIndex]):
                        tiersLastPick[talentTierIndex] = talentPickTime

                    if (talentTierIndex >= len(teamTalentTierLevel[teamIndex])):
                        teamTalentTierLevel[teamIndex].append(talentPick['level'])
                    else:
                        teamTalentTierLevel[teamIndex][talentTierIndex] = talentPick['level']

            self.teamTalentTierTimes = [[], []]
            for teamIndex in xrange(2):
                for talentTierIndex, level in enumerate(teamTalentTierLevel[teamIndex]):
                    self.teamTalentTierTimes[teamIndex].append({
                        'earliest': teamTalentTiersFirstPick[teamIndex][talentTierIndex],
                        'latest': teamTalentTiersLastPick[teamIndex][talentTierIndex],
                        'level': level,
                    })

        return self.teamTalentTierTimes
dataset/ETHPy150Open karlgluck/heroes-of-the-storm-replay-parser/stormreplay/analyzer.py/StormReplayAnalyzer.getTeamTalentTierTimes