<commit_before>{#
  Copyright (C) 2013  <NAME> <<EMAIL>>
  License: GNU Affero General Public License, version 3 or above.
#}

{% extends "base.html" %}

{% block title %}Home{% endblock %}

{% block content %}

<h2>{{ self.title() }}</h2>

<p>Firewoes is a web user interface for Firehose.
<br />
You'll find here results from static analysis tools which run on
Debian packages.</p>

<div class="home_block">
  <h2>Access results</h2>
  <ul>
    {% for gen in generators_by_name %}
      <li><a href="{{ url_for('.search_html', generator_name=gen.name) }}">{{ gen.name }}</a></li>
    {% endfor %}
  </ul>

</div>

<div class="home_block">
  <h2>Packages with most results</h2>
  <ul>
    {% for package in packages_with_most_results %}
      <li><a href="{{ url_for('.search_html',
		   sut_name=package['name']) }}">
	  {{ package["name"] }}</a>
	({{ package["count"] }})</li>
    {% endfor %}
  </ul>
</div>

<div class="home_block">
  <h2>Random results</h2>
  <ul>
    {% for result in random_results %}
      <li><a href="{{ url_for('.result_elem_html', id=result['id']) }}"><commit_msg>fix: template: useless newline'<commit_after>{#
  Copyright (C) 2013  <NAME> <<EMAIL>>
  License: GNU Affero General Public License, version 3 or above.
#}

{% extends "base.html" %}

{% block title %}Home{% endblock %}

{% block content %}

<h2>{{ self.title() }}</h2>

<p>Firewoes is a web user interface for Firehose.
<br />
You'll find here results from static analysis tools which run on
Debian packages.</p>

<div class="home_block">
  <h2>Access results</h2>
  <ul>
    {% for gen in generators_by_name %}
      <li><a href="{{ url_for('.search_html', generator_name=gen.name) }}">{{ gen.name }}</a></li>
    {% endfor %}
  </ul>

</div>

<div class="home_block">
  <h2>Packages with most results</h2>
  <ul>
    {% for package in packages_with_most_results %}
      <li><a href="{{ url_for('.search_html',
		   sut_name=package['name']) }}">
	  {{ package["name"] }}</a> ({{ package["count"] }})</li>
    {% endfor %}
  </ul>
</div>

<div class="home_block">
  <h2>Random results</h2>
  <ul>
    {% for result in random_results %}
      <li><a href="{{ url_for('.result_elem_html', id=result['id']) }}">
{'fraction_non_alphanumeric': 0.20634920634920634, 'fraction_numerical': 0.011791383219954649, 'mean_word_length': 3.869757174392936, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '4815093', 'n_tokens_mistral': 851, 'n_tokens_neox': 790, 'n_words': 207}