When should attemptmark be shown?

When should attemptmark be shown?

by John Papaioannou -
Number of replies: 1
This is aimed mainly at Gustav.

I 'm looking at a quiz page with some attempts done, some of them my own. I see my score (out of 10), but I don't see my marks (out of 3). This was causing a notice (I fixed that), but while investigating I found that the attempt marks are only show if quiz_allows_review().

Asking out of ignorance, is that the way it's supposed to work? After all, by looking at the table I know my score, the maximum score, and the total marks. It follows that attempt marks = score / maximum * totalmarks. So what's the point in not showing it?

Jon
Average of ratings: -
In reply to John Papaioannou

Re: When should attemptmark be shown?

by Gustav W Delius -
Hi Jon,

I only just noticed your question. I agree with you that there is no reason to ever hide the mark if the score is shown. Can you point me to the place in the code you are talking about? I can't find any function quiz_allows_review().