<commit_before>from django.conf.urls import url, include
from corehq.apps.app_manager.view_helpers import DynamicTemplateView
from corehq.apps.app_manager.views import (
    DownloadCCZ,
    AppSummaryView,
    AppDiffView,
    AppDataView,
    LanguageProfilesView,
    DownloadCaseSummaryView,
    DownloadFormSummaryView,
    DownloadAppSummaryView,
    view_app,
    download_bulk_ui_translations, download_bulk_app_translations, upload_bulk_ui_translations,
    upload_bulk_app_translations, multimedia_ajax, releases_ajax, current_app_version, paginate_releases,
    release_build, view_module, view_form, get_form_datums, form_designer, update_build_comment, export_gzip,
    xform_display, get_xform_source, form_casexml, app_source, import_app, app_from_template, copy_app,
    get_form_data_schema, new_module, new_app, default_new_app, new_form, drop_user_case, delete_app,
    delete_module, delete_form, copy_form, undo_delete_app, undo_delete_module, undo_delete_form, edit_form_attr,
    edit_form_attr_api, patch_xform, validate_form_for_build, rename_language, validate_language,
    edit_form_actions, edit_careplan_form_actions, edit_advanced_form_actions, edit_visit_schedule,
    edit_schedule_phases, multimedia_list_download, edit_module_detail_screens, edit_module_attr,
    edit_report_module, validate_module_for_build, commcare_profile, edit_commcare_profile, edit_commcare_settings,
    edit_app_langs, edit_app_attr, edit_app_ui_translations, get_app_ui_translations, rearrange, odk_qr_code,
    odk_media_qr_code, odk_install, short_url, short_odk_url, save_copy, revert_to_copy, delete_copy, list_apps,
    direct_ccz, download_index, download_file, formdefs, get_form_questions, pull_master_app,
    update_linked_whitelist, overwrite_module_case_list, app_settings
)
from corehq.apps.hqmedia.urls import application_urls as hqmedia_urls
from corehq.apps.hqmedia.urls import download_urls as media_download_urls

app_urls = [
    url(r'^languages/$', view_app, name='app_languages'),
    url(r'^languages/translations/download/$', download_bulk_ui_translations, name='download_bulk_ui_translations'),
    url(r'^languages/translations/upload/$', upload_bulk_ui_translations, name='upload_bulk_ui_translations'),
    url(r'^languages/bulk_app_translations/download/$', download_bulk_app_translations, name='download_bulk_app_translations'),
    url(r'^languages/bulk_app_translations/upload/$', upload_bulk_app_translations, name='upload_bulk_app_translations'),
    url(r'^multimedia/$', view_app, name='app_multimedia'),
    url(r'^multimedia_ajax/$', multimedia_ajax, name='app_multimedia_ajax'),
    url(r'^copy/$', view_app, name='app_copy'),
    url(r'^delete/$', view_app, name='app_delete'),
    url(r'^$', view_app, name='view_app'),
    url(r'^releases/$', view_app, name='release_manager'),
    url(r'^settings/$', app_settings, name='app_settings'),
    url(r'^releases_ajax/$', releases_ajax, name='release_manager_ajax'),
    url(r'^current_version/$', current_app_version, name='current_app_version'),
    url(r'^releases/json/$', paginate_releases, name='paginate_releases'),
    url(r'^releases/release/(?P<saved_app_id>[\w-]+)/$', release_build,
        name='release_build'),
    url(r'^releases/unrelease/(?P<saved_app_id>[\w-]+)/$', release_build,
        name='unrelease_build', kwargs={'is_released': False}),
    url(r'^releases/profiles/$', LanguageProfilesView.as_view(), name=LanguageProfilesView.urlname),
    url(r'^modules-(?P<module_id>[\w-]+)/$', view_module, name='view_module'),
    url(r'^modules-(?P<module_id>[\w-]+)/forms-(?P<form_id>[\w-]+)/$',
        view_form, name='view_form'),<commit_msg>comment that these can be removed later<commit_after>from django.conf.urls import url, include
from corehq.apps.app_manager.view_helpers import DynamicTemplateView
from corehq.apps.app_manager.views import (
    DownloadCCZ,
    AppSummaryView,
    AppDiffView,
    AppDataView,
    LanguageProfilesView,
    DownloadCaseSummaryView,
    DownloadFormSummaryView,
    DownloadAppSummaryView,
    view_app,
    download_bulk_ui_translations, download_bulk_app_translations, upload_bulk_ui_translations,
    upload_bulk_app_translations, multimedia_ajax, releases_ajax, current_app_version, paginate_releases,
    release_build, view_module, view_form, get_form_datums, form_designer, update_build_comment, export_gzip,
    xform_display, get_xform_source, form_casexml, app_source, import_app, app_from_template, copy_app,
    get_form_data_schema, new_module, new_app, default_new_app, new_form, drop_user_case, delete_app,
    delete_module, delete_form, copy_form, undo_delete_app, undo_delete_module, undo_delete_form, edit_form_attr,
    edit_form_attr_api, patch_xform, validate_form_for_build, rename_language, validate_language,
    edit_form_actions, edit_careplan_form_actions, edit_advanced_form_actions, edit_visit_schedule,
    edit_schedule_phases, multimedia_list_download, edit_module_detail_screens, edit_module_attr,
    edit_report_module, validate_module_for_build, commcare_profile, edit_commcare_profile, edit_commcare_settings,
    edit_app_langs, edit_app_attr, edit_app_ui_translations, get_app_ui_translations, rearrange, odk_qr_code,
    odk_media_qr_code, odk_install, short_url, short_odk_url, save_copy, revert_to_copy, delete_copy, list_apps,
    direct_ccz, download_index, download_file, formdefs, get_form_questions, pull_master_app,
    update_linked_whitelist, overwrite_module_case_list, app_settings
)
from corehq.apps.hqmedia.urls import application_urls as hqmedia_urls
from corehq.apps.hqmedia.urls import download_urls as media_download_urls

app_urls = [
    url(r'^languages/$', view_app, name='app_languages'),
    url(r'^languages/translations/download/$', download_bulk_ui_translations, name='download_bulk_ui_translations'),
    url(r'^languages/translations/upload/$', upload_bulk_ui_translations, name='upload_bulk_ui_translations'),
    url(r'^languages/bulk_app_translations/download/$', download_bulk_app_translations, name='download_bulk_app_translations'),
    url(r'^languages/bulk_app_translations/upload/$', upload_bulk_app_translations, name='upload_bulk_app_translations'),
    url(r'^multimedia/$', view_app, name='app_multimedia'),  # can delete once APP_MANAGER_V2 is rolled out
    url(r'^multimedia_ajax/$', multimedia_ajax, name='app_multimedia_ajax'),
    url(r'^copy/$', view_app, name='app_copy'),  # can delete once APP_MANAGER_V2 is rolled out
    url(r'^delete/$', view_app, name='app_delete'),  # can delete once APP_MANAGER_V2 is rolled out
    url(r'^$', view_app, name='view_app'),
    url(r'^releases/$', view_app, name='release_manager'),
    url(r'^settings/$', app_settings, name='app_settings'),
    url(r'^releases_ajax/$', releases_ajax, name='release_manager_ajax'),
    url(r'^current_version/$', current_app_version, name='current_app_version'),
    url(r'^releases/json/$', paginate_releases, name='paginate_releases'),
    url(r'^releases/release/(?P<saved_app_id>[\w-]+)/$', release_build,
        name='release_build'),
    url(r'^releases/unrelease/(?P<saved_app_id>[\w-]+)/$', release_build,
        name='unrelease_build', kwargs={'is_released': False}),
    url(r'^releases/profiles/$', LanguageProfilesView.as_view(), name=LanguageProfilesView.urlname),
    url(r'^modules-(?P<module_id>[\w-]+)/$', view_module, name='view_module'),
    url(r'^modules-(?P<module_id>[\w-]+)/forms-(?P<form_id>[\w-]+)/$',
        view_form, name='view_form'),
{'fraction_non_alphanumeric': 0.1185649506535076, 'fraction_numerical': 0.00040010669511869834, 'mean_word_length': 7.277041942604857, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 34, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3721814', 'n_tokens_mistral': 2630, 'n_tokens_neox': 2540, 'n_words': 372}