Skip to content

Getting TestRun in _editor.output #2677

Closed Answered by MrSerth
seemantTUI asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @seemantTUI,

many thanks for reaching out again. I fully understand your use case and think it makes sense to support learners with AI-generated feedback.

Regarding the implementation, different approaches can be chosen. Depending on these, the steps to implement the solution might differ. In the current state, the result of the testruns are shared with the frontend (including the actual error messages and the feedback) through the active web socket connection between the browser and the server (wss://<host>/submissions/<submission ID>/score). However, this is done before the testruns are persisted (method SubmissionsController#save_testrun_output). Hence, when the testruns are sent …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MrSerth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ruby Pull requests that update Ruby code
2 participants