bible270 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/app/views/bible270/admin/index.html.erb +15 -19
- data/lib/bible270/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9d0ae7ef6cafbcec6296f6f54bbe2194a170d19e224eb318c9fae72c550f6a2
|
|
4
|
+
data.tar.gz: b52e287e826a433094a68e533cc4cc00fcff49f3e93ee4d3325e5fbc68029070
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 275ee16199f0be8709b15143a2bd2770f9d36c4bb970c7407bc3af85ff29bf812437024b05f316aacb48e3beb29f2d3a18034cd7dce81732c4b3bc71802169b9
|
|
7
|
+
data.tar.gz: faed055aa4509349e590b2fc53f4e9bfbc8c6779896872b7cb20b13e1885649380645292a86e1373865a526056d843beeb7fad098aaa1b8f663679b420aaaa1a
|
data/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,8 @@ All notable changes to bible270. Format follows [Keep a Changelog](https://keepa
|
|
|
7
7
|
### Added
|
|
8
8
|
|
|
9
9
|
- add a Consistency ranking sort to Admin readers, based on average end-of-day schedule performance: 100 on track, +5 per day ahead capped at seven days, and −10 per day behind
|
|
10
|
-
- show consistency scores, the percentage of evaluated evenings on track or ahead, and evaluated-day counts
|
|
10
|
+
- show consistency scores, the percentage of evaluated evenings on track or ahead, and evaluated-day counts for every Admin reader sort; display negative scores as `0` without changing ranking calculations
|
|
11
|
+
- when sorting by consistency, place provisional readers with fewer than seven days after established rankings, and unranked readers last
|
|
11
12
|
- include a leftmost Rank column in Reader Stats when sorting by consistency, sharing competition ranks for tied metrics (for example, `1, 1, 1, 4`) and showing a dash for unranked readers
|
|
12
13
|
- reconstruct consistency from recorded completion timestamps and current personal/shared schedules, excluding today and dates before enrollment or after the plan's end; changing check-offs or start dates can change reconstructed history
|
|
13
14
|
|
|
@@ -75,12 +75,10 @@
|
|
|
75
75
|
aria-controls="b270-reader-stats-dialog" data-b270-reader-stats-open hidden>Reader Stats</button>
|
|
76
76
|
</div>
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
</p>
|
|
83
|
-
<% end %>
|
|
78
|
+
<p class="b270-hint">
|
|
79
|
+
Average daily score through yesterday: 100 on track, +5 per day ahead (max +35), −10 per day behind.
|
|
80
|
+
Under 7 days is provisional; no history is unranked. Check-off or schedule changes can alter scores.
|
|
81
|
+
</p>
|
|
84
82
|
|
|
85
83
|
<div class="b270-list">
|
|
86
84
|
<% @readers.each do |reader| %>
|
|
@@ -101,19 +99,17 @@
|
|
|
101
99
|
· <%= @days_completed[reader.id] %>/<%= Bible270::Plan::DAYS %> days
|
|
102
100
|
· <%= @reader_report.status_for(reader) %>
|
|
103
101
|
</div>
|
|
104
|
-
<%
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<% if consistency.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
</div>
|
|
116
|
-
<% end %>
|
|
102
|
+
<% consistency = @reader_report.consistency_for(reader) %>
|
|
103
|
+
<div class="sub b270-reader-consistency">
|
|
104
|
+
<% if consistency.ranked? %>
|
|
105
|
+
<% if consistency.provisional? %><strong>Provisional</strong> · <% end %>
|
|
106
|
+
Consistency: <%= consistency.score.negative? ? '0' : number_with_precision(consistency.score.to_f, precision: 1) %>
|
|
107
|
+
· On track/ahead: <%= consistency.on_track_percentage.round %>%
|
|
108
|
+
· <%= pluralize(consistency.days_evaluated, 'day') %> evaluated
|
|
109
|
+
<% else %>
|
|
110
|
+
Consistency: Not ranked
|
|
111
|
+
<% end %>
|
|
112
|
+
</div>
|
|
117
113
|
<div class="sub b270-reader-activity">
|
|
118
114
|
<% if (activity = @recent_reader_activities[reader.id]) %>
|
|
119
115
|
<%= b270_activity_datetime(activity.occurred_at) %>: <%= b270_reader_activity_description(activity) %>
|
data/lib/bible270/version.rb
CHANGED