Source

pyweek / pyweek / challenge / templates / challenge / ratings.html

{% extends "base.html" %}

{% block title %}{% autoescape off %}{{ challenge.pageTitle }}{% endautoescape %} — results{% endblock %}

{% block content %}
<h1>{% autoescape off %}{{ challenge.pageTitle }}{% endautoescape %} &mdash; results</h1>

<table id="top-entries">
  <tbody>
    <tr>
      <th colspan="4">Top Individual Entries</th>
    </tr>
    <tr>
      <th>Overall</th>
      <th>Fun</th>
      <th>Innovation</th>
      <th>Production</th>
    </tr>
    <tr>
      <td>
        {% for rating in individual_overall %}
          ({{ rating.overall|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
      <td>
        {% for rating in individual_fun %}
          ({{ rating.fun|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
      <td>
        {% for rating in individual_inno %}
        ({{ rating.innovation|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
      <td>
        {% for rating in individual_prod %}
        ({{ rating.production|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
    </tr>
    <tr>
      <th colspan="4" style="padding-top: 1em;">Top Team Entries</th>
    </tr>
    <tr>
      <th>Overall</th>
      <th>Fun</th>
      <th>Innovation</th>
      <th>Production</th>
    </tr>
    <tr>
      <td>
        {% for rating in team_overall %}
        ({{ rating.overall|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
      <td>
        {% for rating in team_fun %}
        ({{ rating.fun|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
      <td>
        {% for rating in team_inno %}
        ({{ rating.innovation|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
      <td>
        {% for rating in team_prod %}
        ({{ rating.production|floatformat:2  }}) <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a><br/>
        {% endfor %}
      </td>
    </tr>
  </tbody>
</table>

<table id="diary-board" style="width: auto">
<tr><th style="text-align: center" colspan="8">Individual Entries</th></tr>
<tr><th>Entry</th><th>Overall</th><th>Fun</th><th>Inno</th><th>Prod</th><th>Ents</th><th>DNW</th><th>DQ</th></tr>
{% for rating in individual_ratings %}
 <tr class="{% cycle even,odd %}">
  <td>
   <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a>
  </td>
  <td>{{ rating.overall|floatformat:2 }}</td>
  <td>{{ rating.fun }}</td>
  <td>{{ rating.innovation }}</td>
  <td>{{ rating.production }}</td>
  <td>{{ rating.respondents }}</td>
  <td>{{ rating.nonworking }}%</td>
  <td>{{ rating.disqualify }}%</td>
 </tr>
{% endfor %}

<tr><th style="border-top: thin solid gray; text-align: center" colspan="8">Team Entries</th></tr>
<tr><th>Entry</th><th>Overall</th><th>Fun</th><th>Inno</th><th>Prod</th><th>Ents</th><th>DNW</th><th>DQ</th></tr>
{% for rating in team_ratings %}
 <tr class="{% cycle even,odd %}">
  <td>
   <a href="/e/{{ rating.entry.name }}/">{{ rating.entry.title }}</a>
  </td>
  <td>{{ rating.overall|floatformat:2 }}</td>
  <td>{{ rating.fun }}</td>
  <td>{{ rating.innovation }}</td>
  <td>{{ rating.production }}</td>
  <td>{{ rating.respondents }}</td>
  <td>{{ rating.nonworking }}%</td>
  <td>{{ rating.disqualify }}%</td>
 </tr>
{% endfor %}

</table>

<p>The column headings are:</p>
<dl>
<dt>Overall (average score)</dt>
<dd>This is the score used to rank the entries and is the average of the scores (Fun, Inno, Prod).</dd>
<dt>Fun</dt>
<dd>Was this game fun to play. Would you want to come back and play it again?
</dd>
<dt>Inno (innovation)</dt>
<dd>Did this game break new ground in terms of
  gameplay, genre or approach?
</dd>
<dt>Prod (production)</dt>
<dd>Did the game have nice graphics? Did it
  include sound and music? Were these elements appropriate and balanced?</dd>
<dt>Ents</dt>
<dd>The number of participants (users) who rated this entry.</dd>
<dt>DNW</dt>
<dd>The percentage of participants (users) who rated this game and couldn't get the game to run.</dd>
<dt>DQ</dt>
<dd>The percentage of total participants (users from finishing entries) who thought the entry broke the challenge <a href="{{ STATIC_URL }}rules.html">rules</a>. </dd>
</dl>

<h3>Polls</h3>
<ul>
{% for poll in polls %}
<li>
 <a href="/p/{{ poll.id }}">{{ poll.title|escape }}</a>
 {% if not poll.is_open %}-- closed{% endif %}
</li>
{% endfor %}
</ul>


{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.