<commit_before>from django.conf.urls import url
from django.urls import path, include, re_path
from django.contrib import admin
from django.views.generic import TemplateView
from django.conf import settings
from madrona.features.views import workspace
from django.views.static import serve
from trees.views import map
# admin.autodiscover()

urlpatterns = [
    # '',
    path('discovery/', include('discovery.urls')),
    re_path(r'^trees/', include('trees.urls')),
    # Looser pattern matching for workspace username (as opposed to \w+)
    # Already in madrona 4.2dev+ but just in case we're still running <=4.1
    re_path(r'^features/(?P<username>.+)/workspace-owner.json', workspace, kwargs={"is_owner": True}, name='workspace-owner-json'),
    re_path(r'^features/(?P<username>.+)/workspace-shared.json', workspace, kwargs={"is_owner": False}, name='workspace-shared-json'),

    re_path(r'^map/?$', map, name='map'),

    re_path(r'^auth/', include('allauth.urls')),
    re_path(
        r'^auth/profile/',
        TemplateView.as_view(template_name = 'account/profile.html'),
        name="auth_profile"
    ),
    re_path('admin/', admin.site.urls),
    re_path(r'^/?$', map, name='map'),<commit_msg>default landing page is Discovery<commit_after>from django.conf.urls import url
from django.urls import path, include, re_path
from django.contrib import admin
from django.views.generic import TemplateView
from django.conf import settings
from madrona.features.views import workspace
from django.views.static import serve
from trees.views import map
# admin.autodiscover()

urlpatterns = [
    # '',
    path('discovery/', include('discovery.urls')),
    re_path(r'^trees/', include('trees.urls')),
    # Looser pattern matching for workspace username (as opposed to \w+)
    # Already in madrona 4.2dev+ but just in case we're still running <=4.1
    re_path(r'^features/(?P<username>.+)/workspace-owner.json', workspace, kwargs={"is_owner": True}, name='workspace-owner-json'),
    re_path(r'^features/(?P<username>.+)/workspace-shared.json', workspace, kwargs={"is_owner": False}, name='workspace-shared-json'),

    re_path(r'^map/?$', map, name='map'),

    re_path(r'^auth/', include('allauth.urls')),
    re_path(
        r'^auth/profile/',
        TemplateView.as_view(template_name = 'account/profile.html'),
        name="auth_profile"
    ),
    re_path('admin/', admin.site.urls),
    # re_path(r'^/?$', map, name='map'),
    re_path(r'^/?$', include('discovery.urls')),
{'fraction_non_alphanumeric': 0.16446048937023666, 'fraction_numerical': 0.003208985158443642, 'mean_word_length': 4.493392070484582, 'pattern_counts': {'":': 4, '<': 9, '<?xml version=': 0, '>': 7, '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': '2830134', 'n_tokens_mistral': 820, 'n_tokens_neox': 794, 'n_words': 179}