<commit_before>{% load staticfiles %}
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="{% static 'dist/favicon.ico' %}" type="image/x-icon" />
    <title>{% block title %}{% endblock %}</title>
    {% block css %}
    <link rel="stylesheet" rel="preload" href="https://fonts.googleapis.com/css?family=Bungee|Droid+Sans:400,700|Open+Sans+Condensed:700|Open+Sans:400,400i,700" onload="this.rel='stylesheet'">
    <link rel="stylesheet" href="{% static 'dist/main.css' %}" type="text/css" media="all" />
    {% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
{% block content %}
{% endblock %}
{% block javascript %}
    <script src="{% static 'dist/lib/jquery.custom.js' %}" type="text/javascript" charset="utf-8"></script>
    <script src="{% static 'dist/main.js' %}" type="text/javascript" charset="utf-8"></script>
{% endblock %}
</body>
</html><commit_msg>only load js if logged in<commit_after>{% load staticfiles %}
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="{% static 'dist/favicon.ico' %}" type="image/x-icon" />
    <title>{% block title %}{% endblock %}</title>
    {% block css %}
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Bungee|Droid+Sans:400,700|Open+Sans+Condensed:700|Open+Sans:400,400i,700">
    <link rel="stylesheet" href="{% static 'dist/main.css' %}" type="text/css" media="all" />
    {% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
{% block content %}
{% endblock %}
{% block javascript %}
    {% if user.is_authenticated %}
      <script src="{% static 'dist/lib/jquery.custom.js' %}" type="text/javascript" charset="utf-8"></script>
      <script src="{% static 'dist/main.js' %}" type="text/javascript" charset="utf-8"></script>
    {% endif %}
{% endblock %}
</body>
</html>
{'fraction_non_alphanumeric': 0.2247796278158668, 'fraction_numerical': 0.021547502448579822, 'mean_word_length': 4.887608069164265, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 2, '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': '942165', 'n_tokens_mistral': 782, 'n_tokens_neox': 692, 'n_words': 139}