-
Notifications
You must be signed in to change notification settings - Fork 44
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
[Code wide] Fix pending todo + schema + several small improvements #141
Conversation
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.
Need to leave for today, will finish my review tomorrow, but here is part of it :) Tons of comments, but mostly nitty stuff.
Truly, truly impressive job. 100% sure working with our codebase will be more pleasant once we merge this. Thank you! 👏🏼
Some more important and more general comments/questions:
- There are lots of unused imports in several files (see
temporian/core/operators/lag.py
as an example). Tools like Pylint and Pylance both show warnings to help avoid these. - "Remove support for list of durations in lag and leak operators."
- Why? Creating several lags with different durations is a very common use case, the shorthand was valuable
- "Remove support for named nodes in evaluation. To be thought again."
- Removing a feature we decided was worth implementing isn't great (even knowing the implementation wasn't great either). A TODO or a proposal on how to redo it would be good replacements :)
Thanks for the initial review. Let me address and solve the nits. For the larger questions, I've added some material to our next meeting agenda. We can go over it and validate / invalidate those changes. |
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.
A couple more comments 😅 again, lots of nits, docs and typos, few big ones.
Thanks again for this huge amount of work 👏🏼
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.
A couple more comments 😅 again, lots of nits, docs and typos, few big ones.
Thanks again for this huge amount of work 👏🏼
One last comment for thoroughness on docstring formatting: running the docs (
|
And a similar one for unused imports with
|
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.
LGTM, thank you!
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 so much for addressing all comments! LGTM after we resolve pending conversations in today's meeting :)
Thanks a lot. I'll address the extra changes (e.g., "evset", API functions) in separate PRs. |
Benchmark
Main observations.