<commit_before><div class="panel panel-default">
  <div class="panel-heading">
      {{ plugin.title }}
  </div>
  <!-- /.panel-heading -->

  <div class="panel-body">
    <div id="machinemodelsgraph" style="max-height: 250px;"></div>
  </div>

</div>

{% block script %}
<!-- Morris Charts JavaScript -->
<script src="/static/js/plugins/morris/raphael.min.js"></script>
<script src="/static/js/plugins/morris/morris.min.js"></script>
<script type="text/javascript">
$(function() {
		Morris.Donut({
				element: 'machinemodelsgraph',
				data: [
						{% for item in data %}
						{
								label: "{{ item.machine_model }}",
								value: {{ item.count }}
						},
						{% endfor %}
				],
				resize: true
		}).on('click', function(i, row){
				console.log(row['label']);
				var url_mask = "{% url 'machine_list_id' plugin 'abc123' group_type group_id %}".replace(/abc123/, row['label'].toString());
				window.location=url_mask;
		});
});<commit_msg>Remove redundent include.<commit_after><div class="panel panel-default">
  <div class="panel-heading">
      {{ plugin.title }}
  </div>
  <!-- /.panel-heading -->

  <div class="panel-body">
    <div id="machinemodelsgraph" style="max-height: 250px;"></div>
  </div>

</div>

{% block script %}
<script type="text/javascript">
$(function() {
		Morris.Donut({
				element: 'machinemodelsgraph',
				data: [
						{% for item in data %}
						{
								label: "{{ item.machine_model }}",
								value: {{ item.count }}
						},
						{% endfor %}
				],
				resize: true
		}).on('click', function(i, row){
				console.log(row['label']);
				var url_mask = "{% url 'machine_list_id' plugin 'abc123' group_type group_id %}".replace(/abc123/, row['label'].toString());
				window.location=url_mask;
		});
});
{'fraction_non_alphanumeric': 0.20897217490062464, 'fraction_numerical': 0.010221465076660987, 'mean_word_length': 3.126463700234192, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '4329971', 'n_tokens_mistral': 742, 'n_tokens_neox': 592, 'n_words': 111}