<commit_before>from django.conf.urls import patterns, url, include
from django.utils.translation import ugettext as _

from .views import (
    RealmView,
    EntityDetailView,
    EntityNetworkView,
)

entity_urls = [
    url(r'^$', RealmView.as_view(), name='overview'),
    url(r'^(?P<type>[\w-]+)/(?P<slug>[\w-]+)/$',
        EntityDetailView.as_view(),
        name='entity_detail'),
    url(r'^(?P<type>[\w-]+)/(?P<slug>[\w-]+)/graph\.json$',
        EntityNetworkView.as_view(),
        name='entity_detail'),
]
<commit_msg>Fix name of entity graph url <commit_after>from django.conf.urls import patterns, url, include
from django.utils.translation import ugettext as _

from .views import (
    RealmView,
    EntityDetailView,
    EntityNetworkView,
)

entity_urls = [
    url(r'^$', RealmView.as_view(), name='overview'),
    url(r'^(?P<type>[\w-]+)/(?P<slug>[\w-]+)/$',
        EntityDetailView.as_view(),
        name='entity_detail'),
    url(r'^(?P<type>[\w-]+)/(?P<slug>[\w-]+)/graph\.json$',
        EntityNetworkView.as_view(),
        name='entity_graph_json'),
]

{'fraction_non_alphanumeric': 0.20147874306839186, 'fraction_numerical': 0.0, 'mean_word_length': 3.648068669527897, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6911116', 'n_tokens_mistral': 396, 'n_tokens_neox': 389, 'n_words': 60}