<commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function

from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns

from libs.urls import NAME_PATTERN, USERNAME_PATTERN
from plugins import views

plugin_urlpatterns = [
    url(r'^{}/{}/notebook/?$'.format(USERNAME_PATTERN, NAME_PATTERN),
        views.NotebookView.as_view()),
    url(r'^{}/{}/tensorboard/?$'.format(USERNAME_PATTERN, NAME_PATTERN),
        views.TensorboardView.as_view()),
]

urlpatterns = format_suffix_patterns(plugin_urlpatterns)<commit_msg>Update project urls<commit_after># -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function

from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns

from libs.urls import NAME_PATTERN, USERNAME_PATTERN
from plugins import views

plugin_urlpatterns = [
    url(r'^/notebook/{}/{}/?$'.format(USERNAME_PATTERN, NAME_PATTERN),
        views.NotebookView.as_view()),
    url(r'^/tensorboard/{}/{}/?$'.format(USERNAME_PATTERN, NAME_PATTERN),
        views.TensorboardView.as_view()),
]

urlpatterns = format_suffix_patterns(plugin_urlpatterns)
{'fraction_non_alphanumeric': 0.12271973466003316, 'fraction_numerical': 0.001658374792703151, 'mean_word_length': 5.595628415300546, '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': '6477848', 'n_tokens_mistral': 414, 'n_tokens_neox': 390, 'n_words': 71}