I've messaged you about that.
Itamar Tzadok
Publicaciones hechas por por Itamar Tzadok
Insofar as there is no api for making a question non-re-gradable, it would have to be locked (by setting) before regrade.
Correct.
A Duedate question would be added just like any other question, that is, click the create question button, select the type, proceed to fill out the question definition form, etc.
The code of the example is just a proof-of-concept stub and was written as a quick extension of a larger component rather than an independent question type. As such it is not releasable. But it is suggestive that a releasable question type plugin is feasible.
Intrigued by your query I've drafted the code today.
As you can see in the illustration, the quiz totals to 10 marks which come from question 2. The "Duedate question" (question 1) can only "contribute" negative marks, or deduction of marks. This applies to the overall quiz score as that score is the sum of marks of all the questions in the quiz. So in this example Q 2 is answered correctly and contributes to the quiz score full 10 points, but b/c of late submission 7 points are deducted from the 10 and the final mark is 3/10. The instructor needs to add only one instance of a "Duedate question" to the quiz to achieve this effect.
It should be possible to devise a quiz report plugin which would highlight a lateness component in the quiz score. The standard display of final score in the quiz review or the gradebook is insensitive to particular questions and so cannot show this information without hacking.
That said and done this illustrated solution is a workaround rather than a proper solution. A proper solution should probably extend the quiz settings. It just that the latter may take much longer to get implemented. Until then something like the "Duedate question" may offer a quick way to get fairly close the desired effect.
http://moodle.org/mod/forum/discuss.php?d=208558#p909273
is the 'See this post in context' link in your list of posts.
http://moodle.org/mod/forum/discuss.php?d=208558&parent=909273
is a link to your post that is extracted from this thread when displayed in threaded form.
One of these links should probably be added to the post display to make it easier to extract it.