Moodle Grades API Debugging
Budget: £10 – £15 GBP
Our custom Moodle instance uses an extended grades API to pull marks into a bespoke report. Everything works except the front-end display logic: any record with a grade of 0 or 1 should be filtered out, yet those rows still appear.
Here’s what I need: dive into the current PHP code that renders the data, trace where the exclusion rule breaks, and patch it so only valid grades show. Data retrieval and calculation pieces look fine; the problem is strictly in the presentation layer. The fix must respect existing Moodle core guidelines, keep performance solid on high-enrolment courses, and survive future version upgrades.
Deliverable
• Updated, well-commented code (or plugin patch) that hides grades 0 and 1 in all relevant views
• A brief note explaining the change for our internal dev log
The site runs Moodle 4.x on PHP 8, MySQL, and is version-controlled in Git. I can grant access to a staging clone as soon as we agree on the approach.
Here’s what I need: dive into the current PHP code that renders the data, trace where the exclusion rule breaks, and patch it so only valid grades show. Data retrieval and calculation pieces look fine; the problem is strictly in the presentation layer. The fix must respect existing Moodle core guidelines, keep performance solid on high-enrolment courses, and survive future version upgrades.
Deliverable
• Updated, well-commented code (or plugin patch) that hides grades 0 and 1 in all relevant views
• A brief note explaining the change for our internal dev log
The site runs Moodle 4.x on PHP 8, MySQL, and is version-controlled in Git. I can grant access to a staging clone as soon as we agree on the approach.