waka-readme-stats icon indicating copy to clipboard operation
waka-readme-stats copied to clipboard

Early Bird vs Night Owl

Open cerrussell opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. The labeling of early bird and night owl seems off to me. I definitely wouldn't describe myself as an early bird, and the data generated doesn't really support that label in my opinion.

image

Describe the solution you'd like Looking at the logic behind the labels, it's not a desirable outcome for somebody to, for example, only code in the late afternoon from 4-7pm and their ReadMe would proclaim them to be an early bird. My suggestion is to refine the current evaluation criteria.

title = translate['I am an Early'] if morning + daytime >= evening + night else translate['I am a Night']

  1. Early bird only if evening + night is not greater than or equal to morning
  2. Similarly, night owl only if morning + daytime is not greater than or equal to night
  3. Assign some other description for people who are most productive in the afternoon or who would be classified at the other extreme with only a slight deviation. E.g. someone who works in afternoon and evening shouldn't flip flop just because they spent an extra 5% of time in either timeframe.
  4. In keeping with above, perhaps introduce some sort of margin or other mechanism instead of equal to to prevent classifying someone at one extreme or the other when the difference is negligible.

Describe alternatives you've considered Altering the windows for each time period or introducing additional time periods to better pinpoint labels is an option, but that would still require the current conditional to be modified.

cerrussell avatar Jan 23 '23 23:01 cerrussell

As far as I can understand the duality of early birds / night owls is a part of this action branding, so I doubt this can be extended to include something else.
By definition, night owl is a person who goes to bed late, or stays up late at night or in the early hours of the morning, and early bird wakes early or arrives early, typically before most others. Generally we may assume that if a person works in late afternoon he might have woken up earlier than a typical "night owl". On the other hand, calculation of "night owl" time is just like it might be expected.
What may be your suggestions? How we should alter the activity times or what should we add maybe?

pseusys avatar Jan 25 '23 02:01 pseusys

@pseusys I don't see anything in the marketplace listing that suggests the duality of early bird and night owl is part of branding. I don't think anyone would consider someone who wakes up in the afternoon an early bird, nor can that be described as waking earlier than most others - even in the tech world.

At the very least, I would suggest altering the condition to ensure morning activity is greater than evening activity because if it's not, the label is unlikely to be accurate.

cerrussell avatar Jan 25 '23 13:01 cerrussell

This isn't a code request, so I think we should ask the core contributors about this issue. @anmol098, @aravindvnair99, what do you think?

pseusys avatar Feb 02 '23 10:02 pseusys