-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
changed the formatting of monitor.py #3592
base: main
Are you sure you want to change the base?
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.
@yixin-huang1 Overall, it looks very good. The code is clean and easy to read. Thanks a lot for doing this!
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.
left some comments, thanks @yixin-huang1 !
date = dataFrame["date"][0] | ||
dataFrame = dataFrame.drop( | ||
columns=["rating_q025", "rating_q975", "date"] | ||
) | ||
dataFrame["CI"] = dataFrame.CI.map(ast.literal_eval) | ||
dataFrame["CI"] = dataFrame.CI.map(lambda x: f"+{x[1]}/-{x[0]}") | ||
dataFrame["CI"] = dataFrame.CI.map(lambda x: f"+{x[1]}/{x[0]}") |
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.
why do we remove -
here?
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.
there was an extra "-" displayed so something like "--3.2".
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.
oh got it. thanks!
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.
looks good thanks!
date = dataFrame["date"][0] | ||
dataFrame = dataFrame.drop( | ||
columns=["rating_q025", "rating_q975", "date"] | ||
) | ||
dataFrame["CI"] = dataFrame.CI.map(ast.literal_eval) | ||
dataFrame["CI"] = dataFrame.CI.map(lambda x: f"+{x[1]}/-{x[0]}") | ||
dataFrame["CI"] = dataFrame.CI.map(lambda x: f"+{x[1]}/{x[0]}") |
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.
oh got it. thanks!
@yixin-huang1 @infwinston What is the status? Is this good to ship? |
As far I can recall it is good to be shipped. |
adding a new style column for the webpage of arena hard leaderboard @infwinston @CodingWithTim