New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add submission filename and line number to feedback-type #6
Comments
minOccurs = 0 |
To clarify: this not the filename of the submission, but a filename of some submitted file (eg a file within a jar-file). This file may not already have a fileref because it can be a part of another file (eg jar-file). |
I prefer to have a simple solution for the LMS (resp. the receiver of the response). I think that test-type specific handling is more complicated. That is why I want to have the information in the response format. |
Filename and line could be added to feedback-type as follows:
|
Cursor position within line should also be added resulting in: <xs:complexType name="feedback-type"> |
We already have an attribute "filename" in some other context, I am wondering whether one could prefix the 3 new attribute with some word which makes it clear that they belong together and that these are files in the submission which don't already have a fileref. Something like "code-filename", "code-line", "code-cursor". |
In the meantime I think about another approach using a plaintext log:
Pro:
Cons:
|
The following elements should be added to the feedback-type (response):
submission filename
line number in submission file (referred by submission filename)
This information can be used to improve feedback in LMS in case of e.g. compiler errors (jump to line in editor).
The text was updated successfully, but these errors were encountered: