-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add option to verify challenge config file locally. #170
base: master
Are you sure you want to change the base?
Conversation
KhalidRmb
commented
Aug 21, 2019
- Add the option for the challenges command.
- User has to pass the config file path and host team ID after logging in.
Goes with EvalAI #2430. |
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.
@KhalidRmb Please register the verify_challenge_config
as a command in the evalai/main.py
file.
evalai/utils/challenges.py
Outdated
""" | ||
Function to verify a challenge config file. | ||
""" | ||
url = "{}".format(get_host_url(), URLS.verify_challenge_config.value) |
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.
Please add an {}
as you are stuffing two values in format.
evalai/utils/challenges.py
Outdated
|
||
response = response.json() | ||
response = json.loads(response) | ||
for e in response: |
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.
Please change e
to something meaningful.