-
Notifications
You must be signed in to change notification settings - Fork 863
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
Generation/pass frequency #157
Conversation
self.assertAlmostEqual(linear_ts.values()[-1][0] - linear_ts.values()[-2][0], | ||
(end_value - start_value) / (length - 1)) | ||
|
||
for length in range(2, 50): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to be doing much more iterations now, how much slower is it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also - do we need to go over all interegs from 2 to 50 or is it enough to pick up start, middle and end point?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like we don't have worry about it too much since this tests are really fast. But it is probably enough to test few options here so will change it to your proposition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the record github actions were around 30 seconds slower so in the end it was worth it to change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Added freq passing to couple of timeseries generating function to allow creating smaller timeseries + update tests to check if it possible to create timeseries with those lengths.