Linking Each Interaction to its Own Variable and Setting the Values
  1. Knowledge Base
  2. Writing Your Own Scoring Rules for Your Assessments: An Example
  3. Linking Each Interaction to its Own Variable and Setting the Values

Calculating the score for the whole item

There are two more values which need to be calculated so that Ian can see how his test-takers do over the whole item. These are the values SCORE and MAXSCORE. The value of SCORE will show the total score the test-taker obtained for the whole item, whilst the value of MAXSCORE will show the possible score the test-taker could have obtained for the whole item.

He needs to add two more blocks to his response processing rule in order for SCORE and MAXSCORE to contain the proper values.

For SCORE, he just adds the values of all previously computed outcome variables together.

 

<setOutcomeValue identifier="SCORE">

    <sum>

        <variable identifier="SCORE_1" />

        <variable identifier="SCORE_2" />

        <variable identifier="SCORE_3" />

    </sum>

</setOutcomeValue>

 

For MAXSCORE, he needs to set the required value directly, based on sum of the highest scores of all the interactions contained within the item.

 

<setOutcomeValue identifier="MAXSCORE">

    <baseValue baseType="integer">9</baseValue>

</setOutcomeValue>