evalai-cli icon indicating copy to clipboard operation
evalai-cli copied to clipboard

Added command to display contents of stdderr file

Open jayaike opened this issue 5 years ago • 14 comments

I have added a command to display the contents of the stderr file

It is invoked by running evalai submission SUBMISSION_ID stderr

jayaike avatar Jan 12 '20 13:01 jayaike

@vkartik97 Alright

jayaike avatar Jan 12 '20 14:01 jayaike

See screenshot Screenshot (127)

jayaike avatar Jan 12 '20 14:01 jayaike

I also made all the responses into variables so changing them won't be ann issue :) @vkartik97 @Ram81 @RishabhJain2018

jayaike avatar Jan 12 '20 14:01 jayaike

@nsjcorps Still the code coverage is decreased. Can you resolve it?

pushkalkatara avatar Jan 12 '20 20:01 pushkalkatara

I mentioned the reason why the code coverage is down @pushkalkatara

jayaike avatar Jan 12 '20 20:01 jayaike

There is a part of the function that I can not test because it never gets called which I showed above. That would be the exception raised for the MissingSchema @pushkalkatara

jayaike avatar Jan 12 '20 20:01 jayaike

If the exception was raised in the request block of code it would be called. However, it is not raised there @pushkalkatara

jayaike avatar Jan 13 '20 08:01 jayaike

Should I put it there so you can see?

jayaike avatar Jan 13 '20 08:01 jayaike

What should I use @vkartik97 ? I took it from the display submission result function. Kindly let me know your comments

jayaike avatar Jan 13 '20 19:01 jayaike

The Aim here is to find which condition is applicable for:

The Submission is yet to be evaluated.

How about you check the status of submission data? How about status?

krtkvrm avatar Jan 13 '20 20:01 krtkvrm

Workin on It now @vkartik97

jayaike avatar Jan 13 '20 20:01 jayaike

Done @pushkalkatara @vkartik97

jayaike avatar Jan 13 '20 21:01 jayaike

Done!!

jayaike avatar Jan 14 '20 06:01 jayaike

Thanks @vkartik97

jayaike avatar Jan 14 '20 08:01 jayaike