<commit_before>from django.conf.urls import patterns, url, include
from django.contrib import admin

from ab_tool.views.main_pages import (render_intervention_point_control_panel, not_authorized,
     tool_config, download_data, submit_assignment_method)

from ab_tool.views.selection_pages import (resource_selection, submit_selection,
                    submit_selection_new_intervention_point)
from ab_tool.views.intervention_point_pages import (create_intervention_point, submit_create_intervention_point,
                    edit_intervention_point,  delete_intervention_point, deploy_intervention_point, submit_edit_intervention_point,
                    modules_page_edit_intervention_point)
from ab_tool.views.track_pages import (create_track, submit_create_track,
                    submit_edit_track, edit_track, delete_track, finalize_tracks,
                    track_weights, submit_track_weights)

urlpatterns = patterns('',
    url(r'^$', render_intervention_point_control_panel, name='index'),
    url(r'^not_authorized$', not_authorized, name='not_authorized'),
    url(r'^download_data$', download_data, name='download_data'),
    url(r'^tool_config$', tool_config, name='tool_config'),
    url(r'^resource_selection$', resource_selection, name="resource_selection"),
    url(r'^submit_selection$', submit_selection, name="submit_selection"),
    url(r'^submit_selection_new_intervention_point$', submit_selection_new_intervention_point, name="submit_selection_new_intervention_point"),
    
    url(r'^create_intervention_point$', create_intervention_point, name='create_intervention_point'),
    url(r'^submit_create_intervention_point$', submit_create_intervention_point, name='submit_create_intervention_point'),
    url(r'^edit_intervention_point/(?P<intervention_point_id>\d+)$', edit_intervention_point, name='edit_intervention_point'),
    url(r'^modules_page_edit_intervention_point/(?P<intervention_point_id>\d+)$', modules_page_edit_intervention_point, name='modules_page_edit_intervention_point'),
    url(r'^submit_edit_intervention_point/(?P<intervention_point_id>\d+)$', submit_edit_intervention_point, name='submit_edit_intervention_point'),
    url(r'^intervention_point/(?P<intervention_point_id>\d+)$', deploy_intervention_point, name='deploy_intervention_point'),
    url(r'^delete_intervention_point/(?P<intervention_point_id>\d+)$', delete_intervention_point, name='delete_intervention_point'),
    
    url(r'^create_track$', create_track, name='create_track'),
    url(r'^submit_create_track$', submit_create_track, name='submit_create_track'),
    url(r'^edit_track/(?P<track_id>\d+)$', edit_track, name='edit_track'),
    url(r'^submit_edit_track/(?P<track_id>\d+)$', submit_edit_track, name='submit_edit_track'),
    url(r'^delete_track/(?P<track_id>\d+)$', delete_track, name='delete_track'),
    url(r'^finalize_tracks$', finalize_tracks, name='finalize_tracks'),
    
    url(r'^submit_assignment_method$', submit_assignment_method, name='submit_assignment_method'),
    
    url(r'^track_weights$', track_weights, name='track_weights'),
    url(r'^submit_track_weights$', submit_track_weights, name='submit_track_weights'),
    
    url(r'^admin/', include(admin.site.urls)),
)<commit_msg>ports url cleanup<commit_after>from django.conf.urls import patterns, url

from ab_tool.views.main_pages import (render_intervention_point_control_panel, not_authorized,
     tool_config, download_data, submit_assignment_method)

from ab_tool.views.selection_pages import (resource_selection, submit_selection,
    submit_selection_new_intervention_point)
from ab_tool.views.intervention_point_pages import (create_intervention_point,
    submit_create_intervention_point, edit_intervention_point, 
    delete_intervention_point, deploy_intervention_point,
    submit_edit_intervention_point, modules_page_edit_intervention_point)
from ab_tool.views.track_pages import (create_track, submit_create_track,
    submit_edit_track, edit_track, delete_track, finalize_tracks, track_weights,
    submit_track_weights)

urlpatterns = patterns('',
    url(r'^$', render_intervention_point_control_panel, name='index'),
    url(r'^not_authorized$', not_authorized, name='not_authorized'),
    url(r'^download_data$', download_data, name='download_data'),
    url(r'^tool_config$', tool_config, name='tool_config'),
    url(r'^resource_selection$', resource_selection, name="resource_selection"),
    url(r'^submit_selection$', submit_selection, name="submit_selection"),
    url(r'^submit_selection_new_intervention_point$', submit_selection_new_intervention_point, name="submit_selection_new_intervention_point"),
    
    url(r'^create_intervention_point$', create_intervention_point, name='create_intervention_point'),
    url(r'^submit_create_intervention_point$', submit_create_intervention_point, name='submit_create_intervention_point'),
    url(r'^edit_intervention_point/(?P<intervention_point_id>\d+)$', edit_intervention_point, name='edit_intervention_point'),
    url(r'^modules_page_edit_intervention_point/(?P<intervention_point_id>\d+)$', modules_page_edit_intervention_point, name='modules_page_edit_intervention_point'),
    url(r'^submit_edit_intervention_point/(?P<intervention_point_id>\d+)$', submit_edit_intervention_point, name='submit_edit_intervention_point'),
    url(r'^intervention_point/(?P<intervention_point_id>\d+)$', deploy_intervention_point, name='deploy_intervention_point'),
    url(r'^delete_intervention_point/(?P<intervention_point_id>\d+)$', delete_intervention_point, name='delete_intervention_point'),
    
    url(r'^create_track$', create_track, name='create_track'),
    url(r'^submit_create_track$', submit_create_track, name='submit_create_track'),
    url(r'^edit_track/(?P<track_id>\d+)$', edit_track, name='edit_track'),
    url(r'^submit_edit_track/(?P<track_id>\d+)$', submit_edit_track, name='submit_edit_track'),
    url(r'^delete_track/(?P<track_id>\d+)$', delete_track, name='delete_track'),
    url(r'^finalize_tracks$', finalize_tracks, name='finalize_tracks'),
    
    url(r'^submit_assignment_method$', submit_assignment_method, name='submit_assignment_method'),
    
    url(r'^track_weights$', track_weights, name='track_weights'),
    url(r'^submit_track_weights$', submit_track_weights, name='submit_track_weights'),
)
{'fraction_non_alphanumeric': 0.12476250791640278, 'fraction_numerical': 0.0, 'mean_word_length': 8.499248120300752, '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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6562403', 'n_tokens_mistral': 2031, 'n_tokens_neox': 1887, 'n_words': 231}