llnl.github.io icon indicating copy to clipboard operation
llnl.github.io copied to clipboard

"Stars Over Time" release tag bug

Open LRWeber opened this issue 2 years ago • 2 comments

The "Number of Stars Over Time" graphs on the individual repo pages are meant to include markers along the timeline for each release tag. However, it appears that the current visualizations end up with only a single marker showing release version numbers as a range, rather than showing a marker for each version. (Sample shown from LLNL/scraper)

image

LRWeber avatar Jan 11 '23 01:01 LRWeber

This appears to be caused by additional data processing intended to prevent multiple release lines tightly clumped together. This behavior could be improved by adjusting the tolerance variable and/or scaling it according to the total time range of the individual graph.

https://github.com/LLNL/llnl.github.io/blob/12082e35bee96db2731141e4c91266327e7ee58c/js/visualize/line_repoStarHistory.js#L185-L208

LRWeber avatar Jan 11 '23 01:01 LRWeber

Still an issue, e.g., https://software.llnl.gov/repo/#!/openzfs/zfs

hauten avatar Nov 21 '23 20:11 hauten