GradingJobOutput is not only an inconsistent name with the use of the object -- as it contains all information about the result of a job -- but it also uses a field tap_output for the output of a successful job, even though the format could be many things.
Solution (Changes Made)
Rename GradingJobOutput to GradingJobResult for a more useful nomenclature.
Change the tap_output field to just output.
Re-write logic for sending result to the response_url to utilize the format specified in the docs.
Build echo-server in the init.sh file for easier Dev Experience.
Feature/Problem Description
GradingJobOutput
is not only an inconsistent name with the use of the object -- as it contains all information about the result of a job -- but it also uses a fieldtap_output
for the output of a successful job, even though the format could be many things.Solution (Changes Made)
GradingJobOutput
toGradingJobResult
for a more useful nomenclature.tap_output
field to justoutput
.response_url
to utilize the format specified in the docs.init.sh
file for easier Dev Experience.