ProFormA / proformaxml

An XML exchange format for programming exercises.
6 stars 2 forks source link

add title and description to subtest-response-type #7

Open KBorm opened 5 years ago

KBorm commented 5 years ago

In case of a detailed feedback list there should be an option to set a title and a description for each subtest (not only each feedback within a subtest). Sample:

upriss commented 5 years ago

Maybe there should be some more information about subtests in the whitepaper. Since they are not mentioned in the task-tests element, can they even be used without using grading hints?

rghsh commented 5 years ago

@upriss: Currently subtest cannot be used without grading hints, I think. It is only a concept for assigning scores (and title, etc.) to individual style checks or test methods or the like.

@KBorm: isn't the title, description and internal-description element inside the xsd's grades-test-ref-child-type what you are looking for?

KBorm commented 5 years ago

@rghsh: "Currently subtest cannot be used without grading hints" But that is what I want to do. I currently use a workaround "isn't the title, description and internal-description element inside the xsd's grades-test-ref-child-type what you are looking for?" No, because I do not use the grading-hints for the function level (too much effort to support it in the tools and the grader has the information for free)

Instead of writing for a test function within a Junit test file

<subtest-response id="junit2">
    <test-result>
        <result><score>1.0</score></result>
        <feedback-list>
            <student-feedback level="info">
                <title>**Lagertonnennotregal**</title>
            </student-feedback>
        </feedback-list>
    </test-result>
</subtest-response>

I prefer to write something like that:

<subtest-response id="junit2">
    <title>**Lagertonnennotregal**</title>
    <description>write if there is some description available</description>
    <test-result>
        <result><score>1.0</score></result>
        <feedback-list></feedback-list>
    </test-result>
</subtest-response>