INGInious
INGInious copied to clipboard
Debug information cannot be seen on the /submission/ page
When submitting a task as an admin, a modal showing debug information can be obtained. When looking at a submission through the /submission/ page, there should be a way to obtain this information without replaying the submission as self. Is this a limitation where debug information is only retained for course admin subsmissions?
The complete information are historically fetched from the container and stored in database only for administrators. This is done here : https://github.com/UCL-INGI/INGInious/blob/master/inginious/frontend/pages/tasks.py#L210
This was done to avoid wasting valuable database space storing potentially huge and meaningless stdout/stderr from students. I'm not against removing this behaviour but I'm not sure it's relevant to keep the stdout and stderr fields in the mongo "submission" object then, as this may reduce performance in many cases when making requests on the "submissions" collection.
Alright then, it was more to check the consistence of the interface rather than requesting the change you described.
Reopening this one due to public demand. The scope is to request to show the debug information in /submission/ when available.