strava-wind-analysis icon indicating copy to clipboard operation
strava-wind-analysis copied to clipboard

Refactor segment correlation coefficient computation

Open MathBunny opened this issue 7 years ago • 0 comments

Right now, the segment correlation coefficient is computed within the segments details page route, which makes it extremely difficult to unit test. This critical piece of code should be:

  • Separated into smaller components
  • Refactored to fetch from existing data handlers (Strava, MongoDB)
  • Contain improved error handling

MathBunny avatar Feb 12 '18 23:02 MathBunny