Closed Bug 975537 Opened 10 years ago Closed 10 years ago

Display reporting streaks in weeks

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: williamr, Assigned: tasos)

References

Details

(Whiteboard: [kb=1282323] )

Attachments

(2 files)

Attached image streaks-example.png
The reporting system metrics shows 'Current streak' and 'Longest streak' in terms of days. Since Reps are not expected to report their activities every single day, I suggest we measure both types of streaks in weeks to provide more meaningful information about a Rep's ongoing activities.

Suggested implementation:
- If a Rep has created any passive or active reports in the last 7 days, their current streak will be at least 1 week.
- For the 'Current streak', look back each previous week until a Rep did not create a report. The current streak is the number of continuous weeks that a Rep has created a report, starting with the current week/day and moving back in history.

In the attached example, the Current streak is 8 weeks (end of December 2013 through current week of February 2014). The longest streak is 24 weeks (end of February 2013 through July 2013).

This bug is not a blocker for the release of continuous reporting.
Good catch, :williamr!

Do a substantial number of reps report some activity every week? A streak display is going to be most valuable if there are some good streaks.
(In reply to Justin Crawford [:hoosteeno] from comment #1)
> Do a substantial number of reps report some activity every week? A streak
> display is going to be most valuable if there are some good streaks.

Reps currently report their activity once a month, and with the new reporting system, we anticipate that most reps will report some activity every week. I do think we'll see some good streaks, and both mentors and program stakeholders will be able to utilize streak measurements.

If streaks are found to be very valuable, we could consider including some statistics about them in the metrics dashboard (bug 970400).
See Also: → 970400
Assignee: nobody → tasos
Whiteboard: [kb=1282323]
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/433aaf81591a4af276b4008f9784076dd6f9c7e6
[fix bug 975537] Display reporting streaks in weeks.

https://github.com/mozilla/remo/commit/611432d6a17419fbc4b0923487adc66ba78ea733
Merge pull request #648 from akatsoulas/975537

[bug 975537] Display reporting streaks in weeks.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Version: unspecified → next
I created a report today, for today, and it's the only report I have. My streak is calculated as 3 weeks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Commits pushed to master at https://github.com/mozilla/remo

https://github.com/mozilla/remo/commit/f754cb9a64ea355266e375cb56d616367f728919
[bug 975537] Do not display both start and end dates if they match.

https://github.com/mozilla/remo/commit/a535a62675aff869faa48c98c288a0c8954207d8
Merge pull request #665 from akatsoulas/975537

[bug 975537] Do not display both start and end dates if they match.
Small fix in commit: https://github.com/mozilla/remo/commit/5a56b14043e7f3eadfe230b613e08e74471689ed
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Version: next → 425
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: