<commit_before>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4

import os
from django.conf.urls.defaults import *
import apps.tree.views as views

urlpatterns = patterns('',
    url(r'^tree$', views.index),
    
    # serve the static files for this TREE app
    # TODO: this should be automatic, via WEBUI
    (r'^static/tree/(?P<path>.*)$', "django.views.static.serve",
        {"document_root": os.path.dirname(__file__) + "/static"})
)<commit_msg>automagically serve static files for active apps<commit_after>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4

import os
from django.conf.urls.defaults import *
import apps.tree.views as views

urlpatterns = patterns('',
    url(r'^tree$', views.index),
)
{'fraction_non_alphanumeric': 0.1502808988764045, 'fraction_numerical': 0.008426966292134831, 'mean_word_length': 4.02112676056338, 'pattern_counts': {'":': 1, '<': 4, '<?xml version=': 0, '>': 4, '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': '3162620', 'n_tokens_mistral': 250, 'n_tokens_neox': 242, 'n_words': 68}