Cloud-CV / evalai-cli

:cloud: :rocket: Official EvalAI Command Line Tool
https://cli.eval.ai
BSD 3-Clause "New" or "Revised" License
55 stars 63 forks source link

Fix for enhancement#1003: Google Code-in Task to add a command for di… #256

Open Rithi-21 opened 4 years ago

Rithi-21 commented 4 years ago

…splaying the text from stderr file generated during submission in terminal

Fix for enhancement#1003: Google Code-in Task to add a command for displaying the text from stderr file generated during submission in terminal.

======

This is for Google Code-in Task. Google Code-in Task to add a command for displaying the text from stderr file generated during submission in terminal. I followed with the same feedback provided by mentor Mr. Kartik Verma from the other task "to display stdout file from the remote host, i.e. where the EvalAI has stored the file. request is to make a API call to EvalAI server to get submission details".

Following are the modifications:

modified/added : modified: main.py to include the submission_error command modiifed: evalai/utils/submissions.py to display the stderror message added: submission_error.py file to support the above functionality.

Rithi-21 commented 4 years ago

To Test:

Display submission error message issue the below CLI command:

evalai submission_error 48728

To List all the command issue the below CLI command

evalai —help

pushkalkatara commented 4 years ago

Hi @Rithi-21 Can you please also fix coverage as the part of the build by writing the tests.

pushkalkatara commented 4 years ago

Hi @Rithi-21 Still the coverage is not fixed. It lacks by 0.9%. Please resolve the issue.

pushkalkatara commented 4 years ago

Hi @Rithi-21 The PR now look fixed, please reclaim the GCI issue so that we can approve it, as we can see you have abandoned it recently.

Rithi-21 commented 4 years ago

Hi @Rithi-21 The PR now look fixed, please reclaim the GCI issue so that we can approve it, as we can see you have abandoned it recently.

Hello @pushkalkatara, I cannot claim the task anymore since the task claiming deadline is over. anyway I am happy to know that it is good to go. I worked on hard on this and learned many new things from this task. But anyway I will be missing the credit. Thank you for all your support.