AuTA feedback is truncated
Summary
AuTA feedback is truncated to 256 characters.
This is caused by the following line:
.textualFeedback(
textualFeedback.length() < 256 ? textualFeedback : textualFeedback.substring(0, 256))
I seem to recall that this was added sometime during CO when feedback was also causing issues, but I don't remember the specifics.
AuTA can generate feedback longer than this even for simple submissions, like for OS assignment 1.5, submission 6409, which is quite a bit longer in AuTA. The truncated feedback lacks information on why compiling the submission failed (though it should be obvious to the student in this case, but that is beside the point).
Steps to Reproduce
- Set up analysis with lots of test cases or large outputs
- Submit something that triggers all or most of these test cases
Possible Fix
Store the feedback as-is, but there likely is a reason why the feedback is being truncated here.
I'm guessing the 256-char limit is enforced by the database schema. Simply extending this (if possible to arbitrary lengths) would be sufficient, but a more structured approach would be nice. I'll open another issue about this soon™.
Logs
None (didn't look for any)