Grade Me
Maintained by
Tyler Bannister, Logan Reynolds, James McQuillan
Shows a teacher all of the assignments and manual quiz questions (essays and file responses) that have been submitted, but not graded.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Just noting that Grade Me has not been released for Moodle 3.7 yet, although we will be working on an official 3.7 release in the coming weeks. In testing this latest Moodle 3.6 release on 3.7 though it does appear to work as expected. A few things to check to ensure the block functions correctly are:
* Ensure that the assignment type in question is checked to Show in plugin settings under Site administration -> Plugins -> Blocks -> Grade Me
* Ensure that both the 'cache_grade_data' and 'reset_block' Grade Me cron tasks are set to execute on a frequent enough schedule for your needs under Site administration -> Server -> Tasks -> Scheduled tasks
* Moodle cron is set to run on the server and is executing successfully (i.e. Grade Me tasks are actually getting run and are not blocked by any other failing cron tasks)
* The user expecting to see items available for grading in the Grade Me block instance either possesses the 'grader' role in the course in question, OR is a site administrator and the "Admins View All" setting is enabled under Grade Me block preferences
Also noting that the Grade Me block doesn't display the individual number of questions within quizzes needing graded, but rather the total number of quiz submissions that are ready for grading (i.e. it's a count of student submissions for a quiz, not a count of individual questions within that quiz.) If you would like to submit any bug reports please feel free to do so on our issue tracker at https://github.com/remotelearner/moodle-block_grade_me/issues - please include all relevant data including version of Moodle, description of problem, and complete steps to reproduce.
Thanks
We encountered an error with this block when we migrated our database from MariaDB to PostgreSQL. I think Ricardo Caiado may be having the same issue: the table alias `user` in one of the queries is a reserved word in PostgreSQL and causing an error in the scheduled tasks. I made a pull request with the change: https://github.com/remotelearner/moodle-block_grade_me/pull/31
Hoping this can get in the official version!
We will be releasing a Moodle 3.6 version of block_grade_me in the coming weeks, at which point it will be published both to our GitHub and on Moodle.org.
Got this error message:
Scheduled task failed: Grade Me - reset table (block_grade_me\task\reset_block),
Debug info:
ERROR: syntax error at or near "user"
LINE 3: LEFT JOIN mdl_user user ON enrol.useri...
^
SELECT count(enrol.id)
FROM mdl_user_enrolments enrol
LEFT JOIN mdl_user user ON enrol.userid = user.id
LEFT JOIN mdl_enrol en ON enrol.enrolid = en.id
WHERE en.courseid = $1
AND user.deleted = 0
[array (
0 => '389',
)]
Backtrace:
* line 245 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
* line 856 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
* line 1571 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
* line 1644 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
* line 1854 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
* line 297 of /blocks/grade_me/lib.php: call to moodle_database->count_records_sql()
* line 232 of /blocks/grade_me/lib.php: call to block_grade_me_cache_grade_data()
* line 36 of /blocks/grade_me/classes/task/reset_block.php: call to block_grade_me_cache_reset()
* line 105 of /lib/cronlib.php: call to block_grade_me\task\reset_block->execute()
* line 297 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
* line 91 of /admin/tool/task/schedule_task.php: call to cron_run_single_task()
Ricardo