Moodle Grade Distribution Graph // Gràfica de distribució de les notes

Calculates grading statistics and displays a grade distribution graph for Moodle assignments

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Ermengol Bota Arqué
日安装量
1
总安装量
1
评分
0 0 0
版本
1.6
创建于
2025-12-07
更新于
2025-12-07
大小
15.9 KB
许可证
MIT
适用于

Grade Distribution Graph - Moodle

📊 Overview

A Tampermonkey script that displays a summary and distribution graph on Moodle assignment grading pages, allowing teachers to see at a glance how student grades are distributed.

Developed using vibe-coding but extensively tested on our Moodle instance.

No external libraries included - all calculations and graphics are done locally.

✨ Key Features

For Numeric Grades:

  • Statistics: Mean, median, mode, standard deviation, min/max (with explanatory tooltips)
  • Two averages: One including all students (with zeros and non-submissions), another excluding them
  • Visual histogram: 10 automatic intervals from 0 to maximum grade with proportional bar heights

For Qualitative Grades (dropdowns):

  • Shows count for each grade option
  • Identifies students without grades
  • Bar chart respecting original option order

🎯 Where it Works

  • Moodle assignment quick grading pages
  • URL pattern: */mod/assign/view.php?id=*&action=grading
  • Compatible with any Moodle installation

🚀 How to Use

  1. Install Tampermonkey in your browser
  2. Install this script
  3. Navigate to any Moodle assignment grading page
  4. Statistics automatically appear below the navigation buttons

The script automatically detects whether grades are numeric or qualitative and displays the appropriate analysis.