I've already posted about some problems with scoring of Cloze questions in interactive mode here. I think I now understand the problem a little better, so I'm starting a new thread in the hope that someone can help.
I think there are problems with how penalties are applied to Cloze questions in interactive mode. I have used a question with 2 parts, each with 3 marks and a 33.333 penalty. So correct on the first attempt scores 6, correct on the 2nd attempt scores 4 and correct on the 3rd attempt scores 2. The problem occurs when only one part is right. If an attempt with one part correct is submitted at the second attempt, I think that this attempt should be scored out of 4, 2 marks for each part, and so should score 2 + 0 = 2. However, what seems to happen is that the correct part scores 3 but then a penalty of 2 is applied, giving 1 mark. If it is the 3rd attempt, I think that it should be scored out of 2, 1 mark for each part, and so should score 1 + 0 = 1. Instead, it takes a penalty of 4 from the 3 marks for the correct answer, giving 0.
My knowledge of php is quite limited, but I've had a look in the code. I noticed that in question\behaviour there is a folder called interactivecountback, as well as one called interactive. The file interactivecountback\behaviour contains an explanation of what it does which appears to be the behaviour I am looking for (although the example is for a matching question). I'm not sure whether this behaviour would work for Cloze questions as well, and I haven't been able to locate the code which calls the appropriate behaviour.
Can anyone help?