-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add productivity score for categories #258
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #258 +/- ##
==========================================
- Coverage 24.53% 24.22% -0.32%
==========================================
Files 27 27
Lines 1520 1540 +20
Branches 248 251 +3
==========================================
Hits 373 373
- Misses 1122 1142 +20
Partials 25 25
☔ View full report in Codecov by Sentry. |
I never thought of it in that way at all. Since you can do productive things outside of using your computer, to me it's more important to give a score of how productive you are on average rather than a sum of all your productive time. |
@johan-bjareholt I think the current way is essentially identical to your way, except that the final value is unbounded. The current formula essentially returns a score-weighted average, where the scores can be both negative and positive depending on what the scores the user sets, so user more productive -> total score increases, user unproductive -> total score decreases. If we want to bound the value, we can pass it through a |
871a9e1
to
39de143
Compare
90206ae
to
fae2a38
Compare
Finally merging this. The remaining tasks will have to wait for another day. |
Rebased and salvaged #162
Shouldn't require any changes to backend code.
Tasks