<commit_before>from django.conf.urls import url
from corehq.apps.ota.views import (
    PrimeRestoreCacheView, AdvancedPrimeRestoreCacheView,
    restore, search, claim,
    heartbeat)
from corehq.apps.hqadmin.views import DomainAdminRestoreView


urlpatterns = [
    url(r'^restore/$', restore, name='ota_restore'),
    url(r'^admin_restore/$', DomainAdminRestoreView.as_view(), name=DomainAdminRestoreView.urlname),
    url(r'^restore/(?P<app_id>[\w-]+)/$', restore, name='app_aware_restore'),
    url(r'^prime_restore/$', PrimeRestoreCacheView.as_view(), name=PrimeRestoreCacheView.urlname),
    url(r'^prime_restore/advanced/$', AdvancedPrimeRestoreCacheView.as_view(),
        name=AdvancedPrimeRestoreCacheView.urlname),
    url(r'^search/$', search, name='remote_search'),
    url(r'^claim-case/$', claim, name='claim_case'),
    url(r'^heartbeat/(?P<id>[\w-]+)/$', heartbeat, name='phone_heartbeat'),
]<commit_msg>add url for app / build restore<commit_after>from django.conf.urls import url
from corehq.apps.ota.views import (
    PrimeRestoreCacheView, AdvancedPrimeRestoreCacheView,
    restore, search, claim,
    heartbeat)
from corehq.apps.hqadmin.views import DomainAdminRestoreView


urlpatterns = [
    url(r'^restore/$', restore, name='ota_restore'),
    url(r'^admin_restore/$', DomainAdminRestoreView.as_view(), name=DomainAdminRestoreView.urlname),
    url(r'^admin_restore/(?P<app_id>[\w-]+)/$', DomainAdminRestoreView.as_view()),
    url(r'^restore/(?P<app_id>[\w-]+)/$', restore, name='app_aware_restore'),
    url(r'^prime_restore/$', PrimeRestoreCacheView.as_view(), name=PrimeRestoreCacheView.urlname),
    url(r'^prime_restore/advanced/$', AdvancedPrimeRestoreCacheView.as_view(),
        name=AdvancedPrimeRestoreCacheView.urlname),
    url(r'^search/$', search, name='remote_search'),
    url(r'^claim-case/$', claim, name='claim_case'),
    url(r'^heartbeat/(?P<id>[\w-]+)/$', heartbeat, name='phone_heartbeat'),
]
{'fraction_non_alphanumeric': 0.17172236503856042, 'fraction_numerical': 0.0, 'mean_word_length': 6.025270758122744, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3706936', 'n_tokens_mistral': 682, 'n_tokens_neox': 645, 'n_words': 91}