<commit_before>from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

from formable.builder import views

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'formable.views.home', name='home'),
    # url(r'^formable/', include('formable.foo.urls')),
    url('^save/$', views.save_structure, name='save-structure'),
    url('^submit/$', views.submit_form, name='submit-form'),
    url('^publish/$', views.publish_form, name='publish-form'),
    url('^clone/$', views.clone_structure, name='clone-structure'),
    url('^view/(?P<id>\d+)', views.view, name='view'),
    url('^test/', TemplateView.as_view(template_name="test/test.html")),
    
    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)<commit_msg>cleaned up urls.py for form builder<commit_after>from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView

urlpatterns = patterns('formable.builder.views',
    url('^save/$', 'save_structure', name='save-structure'),
    url('^submit/$', 'submit_form', name='submit-form'),
    url('^publish/$', 'publish_form', name='publish-form'),
    url('^clone/$', 'clone_structure', name='clone-structure'),
    url('^view/(?P<id>\d+)', 'view', name='view'),
    
    # Added for testing purposes, will be removed after full integration
    url('^test/', TemplateView.as_view(template_name="test/test.html")),
)
{'fraction_non_alphanumeric': 0.18101415094339623, 'fraction_numerical': 0.0, 'mean_word_length': 4.954385964912281, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5422246', 'n_tokens_mistral': 532, 'n_tokens_neox': 527, 'n_words': 118}