<commit_before>{% extends "base.html" %}
{% block title %}{% endblock %}

{% block forestyle %}
  {% compress css %}
    <link rel="stylesheet" type="text/css" href="{{static('autocomplete_light/style.css')}}"/>
    <link rel="stylesheet" type="text/css" href="{{static('autocomplete_light/side-by-side.css')}}"/>
    <link rel="stylesheet" type="text/css" href="{{static('reporting/ui.css')}}"/>
  {% endcompress %}
{% endblock %}

{% block forejs %}
{% endblock %}

{% block body %}
  <div id="all-reports">
  </div>
  <button id="add-another">Add another report...</button>
  <div id="hidden_controls" style="display: none;">
    <select>
      <option>Choose a question…</option>
      {% for item in reports_index %}
        <optgroup label="{{item['category']}}">
          {% for report in item['reports_in_category'] %}
            {% if report['id'] == question_id %}
              <option value="{{report['id']}}" selected>{{report['label']}}</option>
            {% else %}
              <option value="{{report['id']}}">{{report['label']}}</option>
            {% endif %}
          {% endfor %}
        </optgroup>
      {% endfor %}
    </select>
    <div id="filter_selection">
      {% include 'reporting/filter_criteria.jinja' %}
    </div>
  </div>
{% endblock %}

{% block endjs %}
  <script>
    var reports = {{reports_json|safe}};
  </script>
  {% compress js %}
    {% include 'autocomplete_light/_ajax_csrf.html' %}
    <script type="text/javascript" src="{{static('autocomplete_light/autocomplete.js')}}"></script>
    <script type="text/javascript" src="{{static('autocomplete_light/widget.js')}}"></script>
    <script type="text/javascript" src="{{static('autocomplete_light/side-by-side.js')}}"></script>
    <script src="/media/js/raphael.js"></script>
    <script src="/media/js/g.raphael.js"></script>
    <script src="/media/js/g.pie.js"></script>
    <script src="/media/js/g.bar.js"></script>
    <script src="/static/state-machine.js"></script>
    <script src="/static/reporting/ui.js"></script>
  {% endcompress %}
{% endblock %}<commit_msg>disable minification on the reporting page<commit_after>{% extends "base.html" %}
{% block title %}{% endblock %}

{% block forestyle %}
  {# compress css #}
    <link rel="stylesheet" type="text/css" href="{{static('autocomplete_light/style.css')}}"/>
    <link rel="stylesheet" type="text/css" href="{{static('autocomplete_light/side-by-side.css')}}"/>
    <link rel="stylesheet" type="text/css" href="{{static('reporting/ui.css')}}"/>
  {# endcompress #}
{% endblock %}

{% block forejs %}
{% endblock %}

{% block body %}
  <div id="all-reports">
  </div>
  <button id="add-another">Add another report...</button>
  <div id="hidden_controls" style="display: none;">
    <select>
      <option>Choose a question…</option>
      {% for item in reports_index %}
        <optgroup label="{{item['category']}}">
          {% for report in item['reports_in_category'] %}
            {% if report['id'] == question_id %}
              <option value="{{report['id']}}" selected>{{report['label']}}</option>
            {% else %}
              <option value="{{report['id']}}">{{report['label']}}</option>
            {% endif %}
          {% endfor %}
        </optgroup>
      {% endfor %}
    </select>
    <div id="filter_selection">
      {% include 'reporting/filter_criteria.jinja' %}
    </div>
  </div>
{% endblock %}

{% block endjs %}
  <script>
    var reports = {{reports_json|safe}};
  </script>
  {# compress js #}
    {% include 'autocomplete_light/_ajax_csrf.html' %}
    <script type="text/javascript" src="{{static('autocomplete_light/autocomplete.js')}}"></script>
    <script type="text/javascript" src="{{static('autocomplete_light/widget.js')}}"></script>
    <script type="text/javascript" src="{{static('autocomplete_light/side-by-side.js')}}"></script>
    <script src="/media/js/raphael.js"></script>
    <script src="/media/js/g.raphael.js"></script>
    <script src="/media/js/g.pie.js"></script>
    <script src="/media/js/g.bar.js"></script>
    <script src="/static/state-machine.js"></script>
    <script src="/static/reporting/ui.js"></script>
  {# endcompress #}
{% endblock %}
{'fraction_non_alphanumeric': 0.22116073561022212, 'fraction_numerical': 0.0, 'mean_word_length': 3.5324675324675323, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, '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': '5890204', 'n_tokens_mistral': 1421, 'n_tokens_neox': 1298, 'n_words': 223}