<commit_before>from django.conf.urls import url
from django.urls import path
from django.views.decorators.cache import cache_page
from ligand import views

urlpatterns = [
    #  url(r'^browser$', cache_page(3600*24*7)(views.LigandBrowser.as_view()), name='ligand_browser'),
    url(r'^$', views.LigandTargetSelection.as_view(), name='ligand_selection'),
    url(r'^browser$', views.LigandBrowser.as_view(), name='ligand_browser'),

    url(r'^target/all/(?P<slug>[-\w]+)/$', views.TargetDetails, name='ligand_target_detail'),
    url(r'^target/compact/(?P<slug>[-\w]+)/$', views.TargetDetailsCompact, name='ligand_target_detail_compact'),
    url(r'^targets$', views.TargetDetails, name='ligand_target_detail'),
    url(r'^targets_compact', views.TargetDetailsCompact, name='ligand_target_detail_compact'),
    url(r'^targets_purchasable', views.TargetPurchasabilityDetails, name='ligand_target_detail_purchasable'),
    url(r'^(?P<ligand_id>[-\w]+)/details$', views.LigandDetails, name='ligand_detail'),
    url(r'^statistics', cache_page(3600*24*7)(views.LigandStatistics.as_view()), name='ligand_statistics'),
    # url(r'^statistics', views.LigandStatistics.as_view(), name='ligand_statistics'),

    # BIASED LIGANDS
    url(r'^bias_statistics', cache_page(3600*24*7)(views.LigandStatistics.as_view(page='ligand_bias')), name='ligand_statistics'),
    # url(r'^bias_statistics', views.LigandStatistics.as_view(page='ligand_bias'), name='ligand_statistics'),
    path('emax_rank_order_selection', views.RankOrderSelection.as_view(), name='emax_ro_selection'),
    path('emax_rankorder', cache_page(3600*24*7)(views.BiasedRankOrderOnTheFly.as_view()), name='biased_rank_order'),
<commit_msg>FIX: removed test cache in urls<commit_after>from django.conf.urls import url
from django.urls import path
from django.views.decorators.cache import cache_page
from ligand import views

urlpatterns = [
    #  url(r'^browser$', cache_page(3600*24*7)(views.LigandBrowser.as_view()), name='ligand_browser'),
    url(r'^$', views.LigandTargetSelection.as_view(), name='ligand_selection'),
    url(r'^browser$', views.LigandBrowser.as_view(), name='ligand_browser'),

    url(r'^target/all/(?P<slug>[-\w]+)/$', views.TargetDetails, name='ligand_target_detail'),
    url(r'^target/compact/(?P<slug>[-\w]+)/$', views.TargetDetailsCompact, name='ligand_target_detail_compact'),
    url(r'^targets$', views.TargetDetails, name='ligand_target_detail'),
    url(r'^targets_compact', views.TargetDetailsCompact, name='ligand_target_detail_compact'),
    url(r'^targets_purchasable', views.TargetPurchasabilityDetails, name='ligand_target_detail_purchasable'),
    url(r'^(?P<ligand_id>[-\w]+)/details$', views.LigandDetails, name='ligand_detail'),
    url(r'^statistics', cache_page(3600*24*7)(views.LigandStatistics.as_view()), name='ligand_statistics'),
    # url(r'^statistics', views.LigandStatistics.as_view(), name='ligand_statistics'),

    # BIASED LIGANDS
    url(r'^bias_statistics', cache_page(3600*24*7)(views.LigandStatistics.as_view(page='ligand_bias')), name='ligand_statistics'),
    # url(r'^bias_statistics', views.LigandStatistics.as_view(page='ligand_bias'), name='ligand_statistics'),
    path('emax_rank_order_selection', views.RankOrderSelection.as_view(), name='emax_ro_selection'),
    path('emax_rankorder', views.BiasedRankOrderOnTheFly.as_view(), name='biased_rank_order'),

{'fraction_non_alphanumeric': 0.17223042836041358, 'fraction_numerical': 0.01447562776957164, 'mean_word_length': 8.201086956521738, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1594575', 'n_tokens_mistral': 1236, 'n_tokens_neox': 1166, 'n_words': 133}