<commit_before>
from nhlscrapi.scrapr.rosterrep import RosterRep
from nhlscrapi.games.repscrwrap import RepScrWrap, dispatch_loader


class Rosters(RepScrWrap):
    def __init__(self, game_key):
        super(Rosters, self).__init__(game_key, RosterRep(game_key))
        
    
    @property
    @dispatch_loader('_rep_reader', 'parse_rosters')
    def home_skaters(self):
        return self._rep_reader.rosters['home']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_rosters')
    def home_skaters(self):
        return self._rep_reader.rosters['away']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_coaches')
    def home_coach(self):
        return self._rep_reader.coaches['home']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_coaches')
    def away_coach(self):
        return self._rep_reader.coaches['away']
        
    
    @property
    @dispatch_loader('_rep_reader', 'parse_officials')
    def refs(self):
        return self._rep_reader.officials['refs']
        
    
    @property
    @dispatch_loader('_rep_reader', 'parse_officials')
    def refs(self):
        return self._rep_reader.officials['linesman']
    
    
    @property
    @dispatch_loader('_rep_reader', 'parse_scratches')
    def refs(self):
        return self._rep_reader.officials['home']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_scratches')
    def home_scratches(self):
        return self._roster_rep.scratches['away']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_scratches')
    def away_scratches(self):
        return self._roster_rep.scratches['away']<commit_msg>linesman bug<commit_after>
from nhlscrapi.scrapr.rosterrep import RosterRep
from nhlscrapi.games.repscrwrap import RepScrWrap, dispatch_loader


class Rosters(RepScrWrap):
    def __init__(self, game_key):
        super(Rosters, self).__init__(game_key, RosterRep(game_key))
        
    
    @property
    @dispatch_loader('_rep_reader', 'parse_rosters')
    def home_skaters(self):
        return self._rep_reader.rosters['home']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_rosters')
    def home_skaters(self):
        return self._rep_reader.rosters['away']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_coaches')
    def home_coach(self):
        return self._rep_reader.coaches['home']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_coaches')
    def away_coach(self):
        return self._rep_reader.coaches['away']
        
    
    @property
    @dispatch_loader('_rep_reader', 'parse_officials')
    def refs(self):
        return self._rep_reader.officials['refs']
        
    
    @property
    @dispatch_loader('_rep_reader', 'parse_officials')
    def linesman(self):
        return self._rep_reader.officials['linesman']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_scratches')
    def home_scratches(self):
        return self._roster_rep.scratches['home']
        
        
    @property
    @dispatch_loader('_rep_reader', 'parse_scratches')
    def away_scratches(self):
        return self._roster_rep.scratches['away']
{'fraction_non_alphanumeric': 0.10852237890864501, 'fraction_numerical': 0.0, 'mean_word_length': 2.8799048751486325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5907748', 'n_tokens_mistral': 1075, 'n_tokens_neox': 1046, 'n_words': 155}