I’m just Curious:
How does FCC calculate Longest Streak on our FCC Curriculum Profile Page?
I’m just Curious:
How does FCC calculate Longest Streak on our FCC Curriculum Profile Page?
I think it’s the longest streak of colored squares, but last I heard that part of the profile is not that well tuned.
Oh ! Ok ! Is there plans for updating it soon?
It looks at the timestamp of submitting a passing challenge. It isn’t super accurate. If you dig through you can see long GitHub discussions along the lines of “what if someone submits on midnight in Australia, then flies to New York on daylight savings in a leap year and then submits at midnight?”
Dealing with dates and times is one of the areas of programming that really just sucks. You pretty much always have to choose a “good enough” point and just accept it.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.