<commit_before>class BaseMixin(object):

    def get_context_data(self, **kwargs):
        context = super(BaseMixin, self).get_context_data(**kwargs)
        context.update(dict(
            path=self.request.path,
        ))
        return context<commit_msg>set path to 'home' if root url<commit_after>class BaseMixin(object):

    def get_context_data(self, **kwargs):
        context = super(BaseMixin, self).get_context_data(**kwargs)
        path = self.request.path
        if path == '/':
            path = 'home'
        context.update(dict(
            path=path,
        ))
        return context
{'fraction_non_alphanumeric': 0.11822660098522167, 'fraction_numerical': 0.0, 'mean_word_length': 2.4269662921348316, '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': '1310103', 'n_tokens_mistral': 180, 'n_tokens_neox': 175, 'n_words': 35}