-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cepo #1
base: main
Are you sure you want to change the base?
Cepo #1
Conversation
Do we also want to maybe edit the |
This will allow users to do the following: 1. Cli where if they can pass in anything that's "cepo_<name-of-attribute>" 2. Yaml file where if they pass it in as "<name-of-attribute>" 3. If none of them have a specific attribute, we use the default setting 4. If both of them have the specific attribute, we error out
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.
Just a couple of small comments, besides that it LGTM!
|
||
try: | ||
rating = float(rating_response) | ||
ratings.append(rating) |
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.
Nit: Merge the two lines together since we don't need rating afterwards:
ratings.append(float(rating_response))
except ValueError: | ||
ratings.append(0) | ||
|
||
rating_messages = rating_messages[:-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.
Can you add a comment on why you're using the magic number -2?
Add modification of CePO configs through yaml and cli arguments
No description provided.