change bcpi intervals to 3, 6

This commit is contained in:
r888888888
2014-02-12 15:09:27 -08:00
parent d65c3d63a1
commit ccf7d2d0f5
2 changed files with 8 additions and 8 deletions

View File

@@ -11,8 +11,8 @@
<th data-sort="int">Level</th>
<th data-sort="int">Uploads</th>
<th data-sort="string">Age</th>
<th data-sort="int">score:5+</th>
<th data-sort="int">score:10+</th>
<th data-sort="int">score:3+</th>
<th data-sort="int">score:6+</th>
</tr>
</thead>
<tbody>
@@ -24,8 +24,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><%= number_to_percentage user.confidence_interval_for(5), :precision => 0 %></td>
<td><%= number_to_percentage user.confidence_interval_for(10), :precision => 0 %></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>
</tr>
<% end %>
<% end %>

View File

@@ -15,8 +15,8 @@
<th>Posts</th>
<th>Deleted</th>
<% if CurrentUser.user.is_janitor? %>
<th><abbr title="5+ Score Binomial Confidence Interval">5+ SBCI</abbr></th>
<th><abbr title="10+ Score Binomial Confidence Interval">10+ SBCI</abbr></th>
<th><abbr title="3+ Score Binomial Confidence Interval">5+ SBCI</abbr></th>
<th><abbr title="6+ Score Binomial Confidence Interval">10+ SBCI</abbr></th>
<% end %>
<th>Notes</th>
<th>Edits</th>
@@ -41,8 +41,8 @@
<td><%= link_to user.posts.count, posts_path(:tags => "user:#{user.name}") %></td>
<td><%= user.posts.deleted.count %></td>
<% if CurrentUser.user.is_janitor? %>
<td><%= number_to_percentage Reports::UserPromotions.confidence_interval_for(user, 5), :precision => 0 %></td>
<td><%= number_to_percentage Reports::UserPromotions.confidence_interval_for(user, 10), :precision => 0 %></td>
<td><%= number_to_percentage Reports::UserPromotions.confidence_interval_for(user, 3), :precision => 0 %></td>
<td><%= number_to_percentage Reports::UserPromotions.confidence_interval_for(user, 6), :precision => 0 %></td>
<% end %>
<td><%= link_to user.note_versions.count, note_versions_path(:search => {:updater_id => user.id}) %></td>
<td><%= link_to user.post_update_count, post_versions_path(:search => {:updater_id => user.id}) %></td>