add quartile+median scores to promotion report
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
<th data-sort="string">Age</th>
|
||||
<th data-sort="int">score:3+</th>
|
||||
<th data-sort="int">score:6+</th>
|
||||
<th data-sort="int" title="25% of uploads received this score or less">quartile score</th>
|
||||
<th data-sort="int" title="50% of uploads received this score or less">median score</th>
|
||||
<th data-sort="int">deletion</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -25,6 +27,8 @@
|
||||
<td data-sort-value="<%= user.level %>"><%= user.level_string %></td>
|
||||
<td><%= user.post_upload_count %></td>
|
||||
<td data-sort-value="<%= user.created_at.to_formatted_s(:db) %>"><%= time_ago_in_words user.created_at %></td>
|
||||
<td><%= user.quartile_score %></td>
|
||||
<td><%= user.median_score %></td>
|
||||
<td><%= number_to_percentage user.confidence_interval_for(3), :precision => 0 %></td>
|
||||
<td><%= number_to_percentage user.confidence_interval_for(6), :precision => 0 %></td>
|
||||
<td><%= number_to_percentage user.deletion_confidence_interval, :precision => 0 %></td>
|
||||
|
||||
Reference in New Issue
Block a user