Skip to content
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

Solving mixer ties with runtime as second criteria #1192

Closed
wants to merge 2 commits into from

Conversation

geekypathak21
Copy link

@geekypathak21 geekypathak21 commented Sep 19, 2023

Solving #1135 . @paxcema Please review this. My approach is a little bit different from the approach mentioned in the comments on the issue. I tried to use runtime _log. Let me know if you want any changes.

if hasattr(predictor, 'runtime_log'):
predictor.runtime_log[(f.__name__, datetime.fromtimestamp(ts))] = round(te - ts, 2)
if name_ not in predictor.runtime_log:
predictor.runtime_log[name_] = [(round(te - ts, 2), datetime.fromtimestamp(ts))]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the structure in which runtime logs were being stored let me know if the previous structure is being utilised anywhere will think of something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: closed
Development

Successfully merging this pull request may close these issues.

1 participant