<commit_before>from django.conf.urls import url, patterns
from components.access import views

urlpatterns = patterns('',
    url(r'(?P<system>archivesspace|atk)/$', views.all_records),
    url(r'(?P<system>archivesspace|atk)/(?P<record_id>[A-Za-z0-9-_]+)/$', views.record),
    url(r'(?P<system>archivesspace|atk)/accession/(?P<accession>.+)/$', views.get_records_by_accession),
    url(r'(?P<system>archivesspace|atk)/(?P<record_id>.+)/children/$', views.record_children),
    url(r'(?P<system>archivesspace|atk)/levels/$', views.get_levels_of_description),
)<commit_msg>/access/: prioritize /levels over record<commit_after>from django.conf.urls import url, patterns
from components.access import views

urlpatterns = patterns('',
    url(r'(?P<system>archivesspace|atk)/$', views.all_records),
    url(r'(?P<system>archivesspace|atk)/levels/$', views.get_levels_of_description),
    url(r'(?P<system>archivesspace|atk)/(?P<record_id>[A-Za-z0-9-_]+)/$', views.record),
    url(r'(?P<system>archivesspace|atk)/accession/(?P<accession>.+)/$', views.get_records_by_accession),
    url(r'(?P<system>archivesspace|atk)/(?P<record_id>.+)/children/$', views.record_children),
)
{'fraction_non_alphanumeric': 0.20801364023870417, 'fraction_numerical': 0.0034100596760443308, 'mean_word_length': 7.152777777777778, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '3096249', 'n_tokens_mistral': 459, 'n_tokens_neox': 445, 'n_words': 46}