<commit_before>from django.conf.urls import url
from analytics import api_views


urlpatterns = [
    url(r'^api/species/$', api_views.get_species_list, name='species-list'),
    url(r'^api/magnifications/$', api_views.get_magnification_list, name='magnification-list'),
    url(r'^api/development-stages/$', api_views.get_development_stage_list, name='development-stage-list'),
    url(r'^api/probes/$', api_views.ProbeList.as_view()),
    url(r'^api/images/$', api_views.ImageList.as_view()),
    url(r'^api/images/(?P<pk>[0-9]+)/$', api_views.ImageDetail.as_view()),
    url(r'^api/images-jpeg/(?P<pk>[0-9]+)/$', api_views.get_image_jpeg, name='image-jpeg'),
    url(r'^api/subregions/$', api_views.SubregionList.as_view()),
    url(r'^api/subregions/(?P<pk>[0-9]+)/$', api_views.SubregionDetail.as_view()),
    url(r'^api/image-sets/$', api_views.ImageSetList.as_view()),
    url(r'^api/image-sets/(?P<pk>[0-9]+)/$', api_views.ImageSetDetail.as_view()),
    url(r'^api/anatomy-probe-map/$', api_views.AnatomyProbeMapList.as_view()),
    url(r'^api/train-model/$', api_views.TrainedModelCreate.as_view()),
    url(r'^api/classify/$', api_views.ClassifySubRegion.as_view())
]
<commit_msg>remove route names, we don't use them<commit_after>from django.conf.urls import url
from analytics import api_views


urlpatterns = [
    url(r'^api/species/$', api_views.get_species_list),
    url(r'^api/magnifications/$', api_views.get_magnification_list),
    url(r'^api/development-stages/$', api_views.get_development_stage_list),
    url(r'^api/probes/$', api_views.ProbeList.as_view()),
    url(r'^api/images/$', api_views.ImageList.as_view()),
    url(r'^api/images/(?P<pk>[0-9]+)/$', api_views.ImageDetail.as_view()),
    url(r'^api/images-jpeg/(?P<pk>[0-9]+)/$', api_views.get_image_jpeg),
    url(r'^api/subregions/$', api_views.SubregionList.as_view()),
    url(r'^api/subregions/(?P<pk>[0-9]+)/$', api_views.SubregionDetail.as_view()),
    url(r'^api/image-sets/$', api_views.ImageSetList.as_view()),
    url(r'^api/image-sets/(?P<pk>[0-9]+)/$', api_views.ImageSetDetail.as_view()),
    url(r'^api/anatomy-probe-map/$', api_views.AnatomyProbeMapList.as_view()),
    url(r'^api/train-model/$', api_views.TrainedModelCreate.as_view()),
    url(r'^api/classify/$', api_views.ClassifySubRegion.as_view())
]

{'fraction_non_alphanumeric': 0.21639202081526454, 'fraction_numerical': 0.006938421509106678, 'mean_word_length': 5.591428571428572, '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': '1020786', 'n_tokens_mistral': 939, 'n_tokens_neox': 873, 'n_words': 84}