<commit_before>from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse

from cms.models import Page
from cms.menu_bases import CMSAttachMenu
from menus.base import Menu, NavigationNode
from menus.menu_pool import menu_pool

from . import views

class SurveyMenu(CMSAttachMenu):
    name = "Survey menu"

    def get_nodes(self, request):
        """
        This method is used to build the menu tree.
        """
        nodes = [
            NavigationNode(
                _("Weekly survey"),
                reverse(views.index),
                "views.index",
            ),
            NavigationNode(
                _("Manage others"),
                reverse(views.people),
                "views.people",
            ),
        ]

        return nodes

menu_pool.register_menu(SurveyMenu)<commit_msg>Textual change<commit_after>from django.utils.translation import ugettext_lazy as _
from django.core.urlresolvers import reverse

from cms.models import Page
from cms.menu_bases import CMSAttachMenu
from menus.base import Menu, NavigationNode
from menus.menu_pool import menu_pool

from . import views

class SurveyMenu(CMSAttachMenu):
    name = "Survey menu"

    def get_nodes(self, request):
        """
        This method is used to build the menu tree.
        """
        nodes = [
            NavigationNode(
                _("Weekly survey"),
                reverse(views.index),
                "views.index",
            ),
            NavigationNode(
                _("Manage household"),
                reverse(views.people),
                "views.people",
            ),
        ]

        return nodes

menu_pool.register_menu(SurveyMenu)
{'fraction_non_alphanumeric': 0.07934655775962661, 'fraction_numerical': 0.0, 'mean_word_length': 1.9467353951890034, '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': '765078', 'n_tokens_mistral': 473, 'n_tokens_neox': 445, 'n_words': 120}