<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ray</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ray"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/Special:Contributions/Ray"/>
	<updated>2026-06-21T01:52:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35298</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35298"/>
		<updated>2012-09-04T21:16:18Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By &amp;quot;module&amp;quot;, status (completed, browsed, incomplete), time spent viewing the &amp;quot;module&amp;quot;, score (by completed &amp;quot;module&amp;quot;), “interactions by attempt. Also maximum and minimum score per &amp;quot;module&amp;quot;. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Workshop&#039;&#039;&#039; and &#039;&#039;&#039;Lesson&#039;&#039;&#039; omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:rep3.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35297</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35297"/>
		<updated>2012-09-04T21:15:54Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By &amp;quot;module&amp;quot;, status (completed, browsed, incomplete), time spent viewing the &amp;quot;module&amp;quot;, score (by completed &amp;quot;module&amp;quot;), “interactions by attempt. Also maximum and minimum score per &amp;quot;module&amp;quot;. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Workshop&#039;&#039;&#039; and &#039;&#039;&#039;Lesson&#039;&#039;&#039; omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:rep3.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35296</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35296"/>
		<updated>2012-09-04T21:15:41Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By &amp;quot;module&amp;quot;, status (completed, browsed, incomplete), time spent viewing the &amp;quot;module&amp;quot;, score (by completed &amp;quot;module&amp;quot;), “interactions by attempt. Also maximum and minimum score per &amp;quot;module&amp;quot;. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Workshop&#039;&#039;&#039; and &#039;&#039;&#039;Lesson&#039;&#039;&#039; omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:rep3.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35295</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35295"/>
		<updated>2012-09-04T21:15:10Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By &amp;quot;module&amp;quot;, status (completed, browsed, incomplete), time spent viewing the &amp;quot;module&amp;quot;, score (by completed &amp;quot;module&amp;quot;), “interactions by attempt. Also maximum and minimum score per &amp;quot;module&amp;quot;. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Workshop&#039;&#039;&#039; and &#039;&#039;&#039;Lesson&#039;&#039;&#039; omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:rep3.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35294</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35294"/>
		<updated>2012-09-04T21:14:30Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Activity specific reports: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By &amp;quot;module&amp;quot;, status (completed, browsed, incomplete), time spent viewing the &amp;quot;module&amp;quot;, score (by completed &amp;quot;module&amp;quot;), “interactions by attempt. Also maximum and minimum score per &amp;quot;module&amp;quot;. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Workshop&#039;&#039;&#039; and &#039;&#039;&#039;Lesson&#039;&#039;&#039; omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:rep3.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35293</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35293"/>
		<updated>2012-09-04T21:13:53Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Activity specific reports: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By &amp;quot;module&amp;quot;, status (completed, browsed, incomplete), time spent viewing the &amp;quot;module&amp;quot;, score (by completed &amp;quot;module&amp;quot;), “interactions by attempt. Also maximum and minimum score per &amp;quot;module&amp;quot;. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:rep3.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=File:rep3.jpg&amp;diff=35292</id>
		<title>File:rep3.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=File:rep3.jpg&amp;diff=35292"/>
		<updated>2012-09-04T21:12:33Z</updated>

		<summary type="html">&lt;p&gt;Ray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35291</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35291"/>
		<updated>2012-09-04T21:12:13Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Who is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:rep3.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35290</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35290"/>
		<updated>2012-09-04T21:11:30Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|right|alt text]]&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=File:rep2.jpg&amp;diff=35289</id>
		<title>File:rep2.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=File:rep2.jpg&amp;diff=35289"/>
		<updated>2012-09-04T21:10:24Z</updated>

		<summary type="html">&lt;p&gt;Ray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=File:rep1.jpg&amp;diff=35288</id>
		<title>File:rep1.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=File:rep1.jpg&amp;diff=35288"/>
		<updated>2012-09-04T21:09:50Z</updated>

		<summary type="html">&lt;p&gt;Ray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35287</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35287"/>
		<updated>2012-09-04T21:09:19Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:rep1.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:rep2.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35286</id>
		<title>File:Example.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35286"/>
		<updated>2012-09-04T21:03:52Z</updated>

		<summary type="html">&lt;p&gt;Ray: uploaded a new version of &amp;amp;quot;File:Example.jpg&amp;amp;quot;: Reverted to version as of 09:17, 3 June 2011&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35285</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35285"/>
		<updated>2012-09-04T21:03:25Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35284</id>
		<title>File:Example.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35284"/>
		<updated>2012-09-04T21:01:59Z</updated>

		<summary type="html">&lt;p&gt;Ray: uploaded a new version of &amp;amp;quot;File:Example.jpg&amp;amp;quot;: Reverted to version as of 21:00, 4 September 2012&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35283</id>
		<title>File:Example.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35283"/>
		<updated>2012-09-04T21:01:24Z</updated>

		<summary type="html">&lt;p&gt;Ray: uploaded a new version of &amp;amp;quot;File:Example.jpg&amp;amp;quot;: Reverted to version as of 09:17, 3 June 2011&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35282</id>
		<title>File:Example.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=File:Example.jpg&amp;diff=35282"/>
		<updated>2012-09-04T21:00:43Z</updated>

		<summary type="html">&lt;p&gt;Ray: uploaded a new version of &amp;amp;quot;File:Example.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35281</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35281"/>
		<updated>2012-09-04T20:57:02Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* General: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35280</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35280"/>
		<updated>2012-09-04T20:55:48Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Who can view and manage reports */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
=== General: ===&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
==Who can view and manage reports==&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35279</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35279"/>
		<updated>2012-09-04T20:55:32Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Who is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
=== General: ===&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
==Who is to be reported on==&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
===Who can view and manage reports===&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35278</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35278"/>
		<updated>2012-09-04T20:55:08Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Who is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
=== General: ===&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
===Who is to be reported on===&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
&lt;br /&gt;
===Who can view and manage reports===&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35276</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35276"/>
		<updated>2012-09-04T20:53:44Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* General: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
=== General: ===&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
===Who is to be reported on===&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35275</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35275"/>
		<updated>2012-09-04T20:52:42Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* General: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
=== General: ===&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;View:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 1:&#039;&#039;&#039; Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Report format:&lt;br /&gt;
&lt;br /&gt;
General considerations:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35274</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35274"/>
		<updated>2012-09-04T20:51:16Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What is to be reported on */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
Screen 1:&#039;&#039;&#039; Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 2:&#039;&#039;&#039; Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 3:&#039;&#039;&#039; For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled). &lt;br /&gt;
&lt;br /&gt;
Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Screen 4:&#039;&#039;&#039; Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
== General: ==&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
Screen 1:&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
Screen 2:&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
Screen 3: &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
View:&lt;br /&gt;
&lt;br /&gt;
Screen 1: Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
Screen 2: Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
Screen 3: Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
Manage:&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
Report format&lt;br /&gt;
&lt;br /&gt;
General considerations:&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35273</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35273"/>
		<updated>2012-09-04T20:48:22Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* What data does Moodle give use to report on? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
===System:===&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
===Course:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
===Activity specific reports:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
&lt;br /&gt;
Where enabled for the course, selected activities may have &#039;&#039;&#039;completion criteria&#039;&#039;&#039; applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table.&lt;br /&gt;
&lt;br /&gt;
The potential activity completion criteria are illustrated in the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
===Individual users:===&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions.&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
Screen 1: Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
Screen 2: Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
Screen 3: For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled).&lt;br /&gt;
 Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
Screen 4: Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General: ==&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
Screen 1:&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
Screen 2:&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
Screen 3: &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
View:&lt;br /&gt;
&lt;br /&gt;
Screen 1: Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
Screen 2: Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
Screen 3: Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
Manage:&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
Report format&lt;br /&gt;
&lt;br /&gt;
General considerations:&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35272</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35272"/>
		<updated>2012-09-04T20:45:07Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the organisation’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;System:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity specific reports:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
Assignment:&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
Where enabled for the course, selected activities may have completion criteria applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table. The potential activity completion criteria are illustrate din the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Individual users:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
Screen 1: Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
Screen 2: Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
Screen 3: For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled).&lt;br /&gt;
 Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
Screen 4: Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General: ==&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
Screen 1:&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
Screen 2:&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
Screen 3: &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
View:&lt;br /&gt;
&lt;br /&gt;
Screen 1: Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
Screen 2: Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
Screen 3: Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
Manage:&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
Report format&lt;br /&gt;
&lt;br /&gt;
General considerations:&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35271</id>
		<title>Reporting improvements</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Reporting_improvements&amp;diff=35271"/>
		<updated>2012-09-04T20:44:16Z</updated>

		<summary type="html">&lt;p&gt;Ray: Created page with &amp;quot;==Introduction==  Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Moodle captures an enormous amount of data about user activity. Information is accessible via various logs, course specific report and activity specific reports.&lt;br /&gt;
The challenge for many administrators and others who need to review progress and performance data is that Moodle presents this data in a way that does not match well with the origination’s or institution’s internal structures.&lt;br /&gt;
In order to resolve this an interface is required that enables users with appropriate permissions to:&lt;br /&gt;
&lt;br /&gt;
•Define reports&lt;br /&gt;
&lt;br /&gt;
•Manage access to reports&lt;br /&gt;
&lt;br /&gt;
==What data does Moodle give use to report on?==&lt;br /&gt;
&lt;br /&gt;
Currently Moodle enables administrators (I’m using this term for anyone who needs to access progress and performance data) to access the following information:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;System:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
General activity logs – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Statistics&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;General activity logs&#039;&#039;&#039; – These can be filtered by single course, all users, single users, all dates or single date, all activities or single activity, various single actions e.g. view, update, display e.g. view on page, download (various)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity report:&#039;&#039;&#039; - Number of times an activity or resource has been accessed and date/time of last access.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course participation report:&#039;&#039;&#039; Filter by single activity, period from now in days, single rle, “view” or “post” (grouped actions defined by activity type)&lt;br /&gt;
&#039;&#039;&#039;Statistics -&#039;&#039;&#039; Various collections of general course level information (not enabled by default)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Completion tracking:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Course completion:&#039;&#039;&#039; Based on reaching all or a selection of user configurable completion criteria&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity completion:&#039;&#039;&#039; See below&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gradebook:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Displays collated report for users with graded roles of: Course total grade, grade numerical grade or selected scale per activity (as defined in activity settings) and or selected Outcome(s) for the activity. Column averages. The grading method setting in Quiz and SCORM activities determines the value entered in the gradebook where multiple attempts are allowed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Activity specific reports:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz&#039;&#039;&#039; – Data for each attempt by learner. For each the following information is captured: Name, attempt state, started/completed, time taken, total grade, grade for each question (not shown in simple view). Filters for: users i.e. enrolled and attempted, enrolled not attempted etc. plus attempt status i.e. In progress, overdue, finished, never submitted. Column averages. (Full information on each question omitted from this summary).&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterion selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM&#039;&#039;&#039; - Data for each attempt by learner. For each of the following information is captured: Name, number of attempts, whether attempted, started/completed, score, attempt (i.e. answer selected or entered). For each attempt: By SCO, status (completed, browsed, incomplete), time spent viewing the SCO, score (by completed SCO), “interactions by attempt. Also maximum and minimum score per SCO. The information available is dependant upon that in the SCORM package itself.&lt;br /&gt;
&lt;br /&gt;
For multiple attempts the value highlighted in the reports for each instance is the one matching the criterions selected in Grading method.&lt;br /&gt;
&lt;br /&gt;
Assignment:&lt;br /&gt;
Data for each submission by learner (only one allow and submitted for grading status assumed here). Grade: Simple grading: Numeric or a single scale or the accumulated marks from the rubric or marking scale used. The previous options may also be supplemented by one or more Outcomes.&lt;br /&gt;
Forum and Glossary: &lt;br /&gt;
Have a ratings mechanism for a single numeric or scale rating to be applied to posts. The value transferred to the gradebook depends in the setting chosen for “Aggregate type”.&lt;br /&gt;
Workshop and Lesson omitted to save time at this stage.&lt;br /&gt;
Where enabled for the course, selected activities may have completion criteria applied. The completion status for activities contribution to course completion status is accumulated with course level completion criteria in the course completion table. The potential activity completion criteria are illustrate din the following examples:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assignment:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Quiz:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;SCORM:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•	Completion tracking: Not indicated, Student can mark as complete, When conditions are met.&lt;br /&gt;
&lt;br /&gt;
•	Require view (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require grade (Student)&lt;br /&gt;
&lt;br /&gt;
•	Require minimum score&lt;br /&gt;
&lt;br /&gt;
•	Required status: Passed or Completed&lt;br /&gt;
&lt;br /&gt;
•	Expected completion date&lt;br /&gt;
&lt;br /&gt;
Other activities and resources have completion criteria specific to their functionality.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Individual users:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Logs for general activity (today and since course start date) in the course in which accessed. Outline report of basic activity/resource information. Complete report with more detail of contributions&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Why isn’t the above entirely satisfactory?==&lt;br /&gt;
&lt;br /&gt;
To access the data above an administrator typically needs to visit a number of Moodle contexts and interfaces to retrieve data. This is especially true where the user is participating in more than one course.&lt;br /&gt;
&lt;br /&gt;
In addition, reports on activity may be required on bases other than Moodle contexts. With the exception of Groups in courses users can only be reported upon in contexts to which they are assigned or lower contexts where permissions are inherited.&lt;br /&gt;
&lt;br /&gt;
==Augmented reporting capability==&lt;br /&gt;
&lt;br /&gt;
The following are my thoughts on how interfaces to improve the current situation could be evolved. There are 3 main interface areas:&lt;br /&gt;
&lt;br /&gt;
•	What is to be reported on i.e. courses, activities, attempts, actions&lt;br /&gt;
&lt;br /&gt;
•	Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
•	Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is to be reported on ==&lt;br /&gt;
&lt;br /&gt;
Report configuration screens should progressively narrow down the data required in the report.&lt;br /&gt;
&lt;br /&gt;
Screen 1: Display all courses in category tree. Select courses on which report should be based.&lt;br /&gt;
&lt;br /&gt;
Screen 2: Display selected courses with activities listed. By default only activities with grading mechanism should be listed. Select activities to be included in the report.&lt;br /&gt;
&lt;br /&gt;
Screen 3: For each course/activity remaining, “quick report” checkboxes for commonly required report items e.g. information sent to gradebook, completion status (if enabled).&lt;br /&gt;
 Further link to detail page where more specific report criteria can be defined.&lt;br /&gt;
&lt;br /&gt;
Screen 4: Detail page for course or activity.&lt;br /&gt;
&lt;br /&gt;
System example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Never logged in&lt;br /&gt;
&lt;br /&gt;
•	First login&lt;br /&gt;
&lt;br /&gt;
•	Last login&lt;br /&gt;
&lt;br /&gt;
Course example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	First access&lt;br /&gt;
&lt;br /&gt;
•	Last access&lt;br /&gt;
&lt;br /&gt;
•	Course complete&lt;br /&gt;
&lt;br /&gt;
•	Course grade&lt;br /&gt;
&lt;br /&gt;
•	Group name(s) where user is a member&lt;br /&gt;
&lt;br /&gt;
•	Course role&lt;br /&gt;
&lt;br /&gt;
•	Enrolment method (where Cohort include cohort name)&lt;br /&gt;
&lt;br /&gt;
Quiz example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
Assignment example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Submitted status i.e. submitted, draft, no submission&lt;br /&gt;
&lt;br /&gt;
•	Due date status i.e. lateness&lt;br /&gt;
&lt;br /&gt;
•	Graded status&lt;br /&gt;
&lt;br /&gt;
•	Date / time submitted&lt;br /&gt;
&lt;br /&gt;
•	Date / time graded&lt;br /&gt;
&lt;br /&gt;
•	Grade&lt;br /&gt;
&lt;br /&gt;
•	Outcomes&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
SCORM example detail options for report:&lt;br /&gt;
&lt;br /&gt;
•	Attempted&lt;br /&gt;
&lt;br /&gt;
•	Date /time of first attempt completed&lt;br /&gt;
&lt;br /&gt;
•	Total number of attempts&lt;br /&gt;
&lt;br /&gt;
•	Highest grade&lt;br /&gt;
&lt;br /&gt;
•	Attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Date / time for attempt when highest grade achieved&lt;br /&gt;
&lt;br /&gt;
•	Grading method grade&lt;br /&gt;
&lt;br /&gt;
•	Grades for attempts i.e. grades for attempts 1, 2 and 3&lt;br /&gt;
&lt;br /&gt;
•	Date/time of first attempt&lt;br /&gt;
&lt;br /&gt;
•	Status for (all) SCOs i.e. completed, Browsed, incomplete&lt;br /&gt;
&lt;br /&gt;
•	Activity complete&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General: ==&lt;br /&gt;
&lt;br /&gt;
Need options to add new, delete, copy and edit reports.&lt;br /&gt;
&lt;br /&gt;
Who is to be reported on&lt;br /&gt;
&lt;br /&gt;
Screens to progressively filter users:&lt;br /&gt;
&lt;br /&gt;
Screen 1:&lt;br /&gt;
&lt;br /&gt;
Select report i.e. What is to be reported on.&lt;br /&gt;
&lt;br /&gt;
Typical defaults e.g. report on graded roles from Site admin gradebook settings.&lt;br /&gt;
&lt;br /&gt;
Option to select roles to be reported upon by course&lt;br /&gt;
&lt;br /&gt;
Active users (default)&lt;br /&gt;
&lt;br /&gt;
Suspended users&lt;br /&gt;
&lt;br /&gt;
Screen 2:&lt;br /&gt;
&lt;br /&gt;
Group(s) to be included in report by course.&lt;br /&gt;
&lt;br /&gt;
Option for all users&lt;br /&gt;
&lt;br /&gt;
Option to include users not in a group.&lt;br /&gt;
&lt;br /&gt;
Must be possible to report on more than one group per course i.e. multi-select or ability to add further single select drop-downs.&lt;br /&gt;
&lt;br /&gt;
Screen 3: &lt;br /&gt;
&lt;br /&gt;
Filter on standard profile user fields and bespoke user profile fields&lt;br /&gt;
&lt;br /&gt;
Without specific development of functionality to associate users with an external hierarchy User profile fields are the only way I can think of to reflect this.&lt;br /&gt;
Who can view and manage reports&lt;br /&gt;
&lt;br /&gt;
I think this will require a view and manage reports capability.&lt;br /&gt;
&lt;br /&gt;
View:&lt;br /&gt;
&lt;br /&gt;
Screen 1: Default option of users with view reports permissions in all of the courses included in the report because they are:&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role; or&lt;br /&gt;
&lt;br /&gt;
•	Assigned to a permitted role in “Other roles”; or&lt;br /&gt;
&lt;br /&gt;
•	Inherit the required permissions from a higher context&lt;br /&gt;
&lt;br /&gt;
Screen 2: Specific users (from pick list)&lt;br /&gt;
&lt;br /&gt;
Screen 3: Users filtered on role and User profile fields&lt;br /&gt;
&lt;br /&gt;
Manage:&lt;br /&gt;
&lt;br /&gt;
Similar to the above?&lt;br /&gt;
&lt;br /&gt;
Report format&lt;br /&gt;
&lt;br /&gt;
General considerations:&lt;br /&gt;
&lt;br /&gt;
HTML table and CSV export (fancy charts can follow later)&lt;br /&gt;
&lt;br /&gt;
In addition to info above option to include items ticked in User policies &amp;gt; Show user identity&lt;br /&gt;
&lt;br /&gt;
Sortable by header&lt;br /&gt;
&lt;br /&gt;
Ability to minimise column width&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Media_embedding&amp;diff=34484</id>
		<title>Media embedding</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Media_embedding&amp;diff=34484"/>
		<updated>2012-07-15T19:20:14Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Flash and security */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Interfaces]]&lt;br /&gt;
{{Moodle 2.3}}&lt;br /&gt;
{{Work in progress}}&lt;br /&gt;
&lt;br /&gt;
From Moodle 2.3, a new API can be used to embed media items. Media items are:&lt;br /&gt;
&lt;br /&gt;
* Audio files.&lt;br /&gt;
* Video files.&lt;br /&gt;
* Flash files.&lt;br /&gt;
* Audio, video, or similar content embedded from remote websites (currently YouTube and Vimeo).&lt;br /&gt;
&lt;br /&gt;
== Automatic embedding ==&lt;br /&gt;
&lt;br /&gt;
As in previous versions of Moodle, you do not need to do anything special to embed media files in text that users enter. This text is processed by the mediaplugin filter, which (if enabled) will automatically embed media files when users enter a link to the media.&lt;br /&gt;
&lt;br /&gt;
You only need to use the API on this page if you want to embed media files as part of output generated by your plugin, rather than generated by user text.&lt;br /&gt;
&lt;br /&gt;
== Embedding media ==&lt;br /&gt;
&lt;br /&gt;
To embed a media file, use the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$mediarenderer = $PAGE-&amp;gt;get_renderer(&#039;core&#039;, &#039;media&#039;);&lt;br /&gt;
echo $mediarenderer-&amp;gt;embed_url(new moodle_url(&#039;http://example.org/a.mp3&#039;));&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Size ===&lt;br /&gt;
&lt;br /&gt;
You can supply video size in two ways:&lt;br /&gt;
&lt;br /&gt;
* As parameters to the embed_url function.&lt;br /&gt;
* At the end of the URL as #d=640x480 (d is short for &#039;dimensions&#039;)&lt;br /&gt;
&lt;br /&gt;
A #d in the URL will override the function parameters.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t supply size, you get default behaviour. Note that some players are capable of automatically determining the correct size, so it is better not to supply size unless you&#039;re sure of it.&lt;br /&gt;
&lt;br /&gt;
Question: how will default behaviour be determined?  From the video information or some presets in Moodle?&lt;br /&gt;
&lt;br /&gt;
=== Name ===&lt;br /&gt;
&lt;br /&gt;
You can also supply an optional name as a parameter to the embed_url function. The system uses this in various places where a title for the content is required. If you don&#039;t supply a name, the filename is used.&lt;br /&gt;
&lt;br /&gt;
If the user does not have any plugins installed that are capable of playing your video, they will see a link containing this text.&lt;br /&gt;
&lt;br /&gt;
=== Multiple formats ===&lt;br /&gt;
&lt;br /&gt;
To get the most compatible results, you can supply more than one file in order to provide the same media content in multiple formats. The system automatically sets up appropriate fallbacks so that your file is likely to play.&lt;br /&gt;
&lt;br /&gt;
Note: The best results are obtained if you supply a file that Flash can play (.f4v or .flv), and also an MPEG-4 file which is formatted for mobile devices (.mp4 or .m4v). This combination should play on all common devices and browsers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$mediarenderer = $PAGE-&amp;gt;get_renderer(&#039;core&#039;, &#039;media&#039;);&lt;br /&gt;
$files = array(new moodle_url(&#039;http://example.org/a.m4v&#039;), new moodle_url(&#039;http://example.org/a.f4v&#039;));&lt;br /&gt;
echo $mediarenderer-&amp;gt;embed_alternatives($files);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the media filter, we let users automatically generate these effects using a URL like this:&lt;br /&gt;
&lt;br /&gt;
 http://example.org/a.m4v#http://example.org/a.f4v#d=400x300&lt;br /&gt;
&lt;br /&gt;
If you want to support this kind of multi-URL string in your own code, use the core_media::split_alternatives function.&lt;br /&gt;
&lt;br /&gt;
=== Flash and security ===&lt;br /&gt;
&lt;br /&gt;
Allowing ordinary users to embed Flash on your website, which other users can then view, creates a serious security risk. By default, the embed code shown above will not embed Flash .swf files; these will be included as a download link instead.&lt;br /&gt;
&lt;br /&gt;
If the media content that you are embedding can only be set up by trusted users such as teachers, then you should use the core_media::OPTION_TRUSTED option when you embed content. This will allow Flash content to be embedded.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$mediarenderer = $PAGE-&amp;gt;get_renderer(&#039;core&#039;, &#039;media&#039;);&lt;br /&gt;
$options = array(core_media::OPTION_TRUSTED =&amp;gt; true);&lt;br /&gt;
echo $mediarenderer-&amp;gt;embed_url(new moodle_url(&#039;http://example.org/a.mp3&#039;), &#039;&#039;, 0, 0, $options);&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Trusted users&amp;quot; are Managers and Teachers by default. site:trustcontent capability is required. See https://docs.moodle.org/23/en/Site_policies#Enable_trusted_content&lt;br /&gt;
&lt;br /&gt;
=== Other options ===&lt;br /&gt;
&lt;br /&gt;
Two other options are currently available at time of writing.&lt;br /&gt;
&lt;br /&gt;
* core_media::OPTION_NO_LINK: Disables the download link fallback. Users who don&#039;t have a suitable player plugin will see nothing at all. This option should be used if you always print a visible download link separately, as there is then no need for a fallback link.&lt;br /&gt;
&lt;br /&gt;
* core_media::OPTION_EMBED_OR_BLANK: Depending on the filetype and server options it might not be possible to embed the file. Normally the system outputs a download link in that case. Using this option causes it to return an empty string. Use the option if you&#039;re going to check the return value and do something different if it isn&#039;t possible to embed the file. (Note: This option is based on server settings, not on the current user. If the system is able to create embed code for the file, then this code will be returned and not blank, even if the current user doesn&#039;t have the right plugin installed.) You can also achieve the same effect by separately calling the $mediarenderer-&amp;gt;can_embed_url() function.&lt;br /&gt;
&lt;br /&gt;
== Changing media embedding behaviour ==&lt;br /&gt;
&lt;br /&gt;
If you want to change the media embedding behaviour in all locations within your own Moodle installation, you can do that by overriding the core_media_renderer class.&lt;br /&gt;
&lt;br /&gt;
You can [[Themes_2.0_overriding_a_renderer|override renderers within a theme]].&lt;br /&gt;
&lt;br /&gt;
=== Changing player list ===&lt;br /&gt;
&lt;br /&gt;
In your renderer which extends core_media_renderer, you will typically want to override the get_players_raw function to either add new player classes to the array, remove existing ones, or both. For example, if you create a different way to embed FLV files, you could remove the existing flv renderer and add a new one using the following function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
protected function get_players_raw() {&lt;br /&gt;
    $original = parent::get_players_raw();&lt;br /&gt;
    unset($original[&#039;flv&#039;]);&lt;br /&gt;
    $original[&#039;flv&#039;] = new theme_mytheme_myflvplayer();&lt;br /&gt;
    return $original;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Writing a new player ===&lt;br /&gt;
&lt;br /&gt;
Writing player classes is easy. Your player class should extend core_media_player if it handles a file type (like FLV), or core_media_player_external if it handles URLs for an external site (like YouTube).&lt;br /&gt;
&lt;br /&gt;
Here is an example player class for a new video format called .frogvideo:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
class core_media_player_frogvideo extends core_media_player {&lt;br /&gt;
    public function embed($urls, $name, $width, $height, $options) {&lt;br /&gt;
        // $urls is a list of the alternative urls supported by this player&lt;br /&gt;
        // (i.e. that end in .frogvideo) - you use this list to construct&lt;br /&gt;
        // the embed html.&lt;br /&gt;
&lt;br /&gt;
        // Just return the html code to embed this player. Some part of the&lt;br /&gt;
        // html should include code that appears if the user doesn&#039;t have&lt;br /&gt;
        // a suitable plugin installed; put the placeholder at that point.&lt;br /&gt;
        return &#039;...HTML code...&#039; . core_media_player::PLACEHOLDER . &#039;...&#039;;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public function get_supported_extensions() {&lt;br /&gt;
        return array(&#039;frogvideo&#039;);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public function get_rank() {&lt;br /&gt;
        // If you want this player to be used in preference to the existing&lt;br /&gt;
        // ones, use a bigger rank number than existing players.&lt;br /&gt;
        return 111;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more detail about the available functions and more complex use cases, look at the PHP documentation for core_media_player in medialib.php.&lt;br /&gt;
&lt;br /&gt;
== Current documentation ==&lt;br /&gt;
&lt;br /&gt;
To see current in-code documentation, look in the files lib/medialib.php and at the class core_media_renderer in lib/outputrenderers.php.&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Talk:Paged_course_formats&amp;diff=33276</id>
		<title>Talk:Paged course formats</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Talk:Paged_course_formats&amp;diff=33276"/>
		<updated>2012-04-13T14:21:02Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Some thoughts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
What is the general idea of &#039;Paged course formats&#039;? - Will it be that you get to see the section name as a list, then if you wish to view it opens in a new tab within the browser?&lt;br /&gt;
&lt;br /&gt;
==Discussions around this==&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=175758#p770737 &lt;br /&gt;
&lt;br /&gt;
==Some of the options currently around for alternative formats==&lt;br /&gt;
Representing several different approaches.&lt;br /&gt;
#http://server3.moodle.com/browse/MDL-28555&lt;br /&gt;
&lt;br /&gt;
===FOLDERVIEW===&lt;br /&gt;
Doed much more than just offer page view.  Eiting magic as well.&lt;br /&gt;
#Folderview Blog post: http://thinkingdistance.org/post/6486856003/folderview-course-format&lt;br /&gt;
#Comments by Michael: http://server3.moodle.com/browse/MDL-27646  Including Folderview in Moodle 2&lt;br /&gt;
&lt;br /&gt;
Paul&#039;s comment: &amp;quot;Paul Chapin added a comment - 07/Jun/11 3:20 AM : The folder view format doesn&#039;t really do it. Basically, that&#039;s just a topic format with a different interface. It doesn&#039;t deal with the situation of the instructor who wants to make a large amount of reference information, usually files and web links, available as part of a topic or week without visually overwhelming the students. By allowing for a hierarchical structuring of material using folders the amount of information the student is presented with at any given time can be limited and organized logically. It&#039;s really files and links that we want, but if that&#039;s implemented, adding the rest of the resource types should be fairly straight forward&amp;quot;  MDL-27646&lt;br /&gt;
&lt;br /&gt;
===FLEXPAGE===&lt;br /&gt;
Unsure of status for 2.&lt;br /&gt;
#Flexipage and Moodle 2.0: http://moodle.org/mod/forum/discuss.php?d=83817#p74318&lt;br /&gt;
&lt;br /&gt;
===COLLAPSED===&lt;br /&gt;
Three forms: Topics, Weeks and Latest First&lt;br /&gt;
#http://moodle.org/plugins/view.php?plugin=format_topcoll - Same as Topic&#039;s format but with a &#039;toggle&#039; and a cookie to remember state per user per course that can be persistent.  Developed much further - see CONTRIB-3378 below.&lt;br /&gt;
#http://moodle.org/plugins/view.php?plugin=format_weekcoll - Same as Week&#039;s format but with a &#039;toggle&#039; as above.&lt;br /&gt;
#https://github.com/gjb2048/moodle-format_latfirst - Same as above but current week is displayed first and preceding weeks after for the user.  In &#039;editing&#039; mode it is the same as Collapsed Weeks.&lt;br /&gt;
&lt;br /&gt;
Combined into one:&lt;br /&gt;
#CONTRIB-3378&lt;br /&gt;
Which has four forms: Topics, Weeks, Latest Week First and Current Topic First.  Available from [http://moodle.org/plugins/view.php?plugin=format_topcoll Modules &amp;amp; Plugin&#039;s Database] and documented on [https://docs.moodle.org/22/en/Collapsed_Topics_course_format Collapsed Topics Course Format]&lt;br /&gt;
&lt;br /&gt;
Above collapsed forms developed by [http://moodle.org/user/profile.php?id=442195 Gareth J Barnard].&lt;br /&gt;
&lt;br /&gt;
===BLOCK===&lt;br /&gt;
Experimental jQuery Masonry (#http://masonry.desandro.com/) format for Moodle 2.1:&lt;br /&gt;
#https://github.com/gjb2048/moodle-format_topmas - Uses the jQuery Masonry plugin to arrange sections as close together as possible.  Resizes automatically depending on content.&lt;br /&gt;
&lt;br /&gt;
===GRID===&lt;br /&gt;
Not strictly a &amp;quot;paged format&amp;quot; But getting very good reviews.  Looks classy.&lt;br /&gt;
#http://moodle.org/plugins/view.php?plugin=format_grid Seems a good option&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The Grid Format was originally contributed by Paul Krix. It has since been updated and is now maintained ny Pukunui Technology. This format adds a more graphical interface to viewing Moodle topics and also avoids the &amp;quot;scroll of death&amp;quot; issue by using placeholder graphics to represent each topic. When clicked upon, these graphics launch the topics in ajax windows&amp;quot; from https://github.com/moodleman/moodle-courseformat_grid&lt;br /&gt;
&lt;br /&gt;
===COURSE MENU===&lt;br /&gt;
There are at least two in plugins:&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
Plus Lei Zhang (and Awesome Moodle) bar&lt;br /&gt;
&lt;br /&gt;
Catalyst have coded two options included in Moodle in Schools package.&lt;br /&gt;
&lt;br /&gt;
==Section Menu Option==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==OU format option==&lt;br /&gt;
&lt;br /&gt;
== Some thoughts ==&lt;br /&gt;
&lt;br /&gt;
1. For weekly courses, one page per section is not necessarily ideal. Instead the OU course format (studyplanner) by default just shows the current week (highlighted) with +- n weeks either side. There is then a link &#039;Show entire study planner&#039; if you need to find something else. Section 0 is always visible. I think this is a good model (speaking as an OU student here). However, the &#039;mdl_course.coursedisplay&#039; proposal, with just two settings, does nothing to make this easier. Therefore, I am skeptical about the value of hard-coding that into Moodle core.--[[User:Tim Hunt|Tim Hunt]] 20:09, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
Yes, agreed. But how many extra settings can users cope with before they give up? A good case for admin defined course defaults and &amp;quot;Advanced&amp;quot; settings. [[User:Ray Lawrence|Ray Lawrence]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I wonder whether it would be better to use the course format settings rather than adding a field to the course table for this. This would enable each course format to define it&#039;s own settings but would mean a change in priorities for the workload --[[User:Andrew Nicols|Andrew Nicols]] 21:59, 13 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
2. Even if you press on with your plan, it seems silly to just list the weeks on the course front page in weekly format. Surely it is worth displaying the current week in full there. It will save students one click almost every time they visit the course.--[[User:Tim Hunt|Tim Hunt]] 20:09, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
Agree. [[User:Ray Lawrence|Ray Lawrence]]&lt;br /&gt;
   &lt;br /&gt;
Actually, Tim, this is more or less what I was referring to with the &amp;quot;Accordion&amp;quot; format as a third option in that menu.  Basically it&#039;s Gareth&#039;s [[Collapsed_Topics_course_format|Collapsed Format]].  It would look as you describe and the other sections would be clickable and would expand in-place.   I can see it&#039;s probably it&#039;s less clicks for the weekly and topics format to expand the currently-selected section on the main course page even in the one-section-per-page format, but I&#039;m a little worried about the inconsistency of the interface.  Happy to do it if there&#039;s no other objections though.    [[User:Martin Dougiamas|Martin Dougiamas]] 15:58, 13 April 2012 (WST)   &lt;br /&gt;
&lt;br /&gt;
It&#039;s quite hard to work out what is being proposed. Is it one section/week on a page or a collapsible format. both. A sketch would be handy. [[User:Ray Lawrence|Ray Lawrence]]&lt;br /&gt;
&lt;br /&gt;
3. Has anyone at HQ actually downloaded and installed the OU&#039;s subpage module? I know it solves a separate problem, but please spend some time looking at it now for two reasons. A. When you do the &amp;quot;Check for regressions in modules caused by course assumptions&amp;quot; bit, you should try to ensure that they benefit modules like subpage, as well as your course format changes. B. Subpage functionality might be worth adding to Moodle too, and the code already exists and works.--[[User:Tim Hunt|Tim Hunt]] 20:09, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
My reservation about this is that it adds a layer the location of which isn&#039;t clear to users. I don&#039;t think we can have a format that add an element of mystery to the masses. Think how confused uders can be by activities in Orphaned courses if one isn&#039;t careful with it. [[User:Ray Lawrence|Ray Lawrence]]&lt;br /&gt;
&lt;br /&gt;
I&#039;ve looked at it.  Sorry it&#039;s just too much to add on at this stage with the short time period and so much to do already.  [[User:Martin Dougiamas|Martin Dougiamas]] 15:58, 13 April 2012 (WST) &lt;br /&gt;
&lt;br /&gt;
4. Be very careful when defining format_renderer_base. If you have format_weekly_renderer extends format_renderer_base, and format_renderer_base generates output for something, then a theme cannot do theme_mytheme_format_renderer cannot usefully extend format_renderer_base to change the output, because format_weekly_renderer still extends format_renderer_base, and not theme_mytheme_format_renderer. (I made this mistake in a few small ways with question_type_renderer base, e.g. the feedback_image mehthod, although I mostly got it right by creating core_question_renderer to output the common parts of questions.) Basically, prefer composition over inheritance (http://c2.com/cgi/wiki?CompositionInsteadOfInheritance).--[[User:Tim Hunt|Tim Hunt]] 20:09, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
5. I am worried that you are trying to do this in a rush before the 2.3 deadline, particularly if you are not going to delay mdl_course.coursedisplay until 2.4. It occurs to me that a lot of this could be done initially in third-party course-format plugins. Then, once everyone can see it working, and has been bowled over by how amazing it is (assuming you are right, and I am wrong) you can then refactor the code into Moodle core.--[[User:Tim Hunt|Tim Hunt]] 20:09, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
Frankly these exist already and do it in all kinds of wierd ways.  I want a simple setting that implements it in core formats in the simplest possible way.  Others are free to build on top of it with plugins later.   [[User:Martin Dougiamas|Martin Dougiamas]] 15:58, 13 April 2012 (WST) &lt;br /&gt;
&lt;br /&gt;
5.1 I disagree with Tim over implementing initially in third-party course-format plugins.  As this is a &#039;core&#039; functionality change it should be implemented there as &#039;gospel&#039; way of implementing the functionality so that there is no confusion over interpretation of how it should work.  Because if each contrib developer takes their &#039;view&#039; then we will have a mismash that will have to be sorted and then the contrib developers have to refactor back to the HQ defined standard.  I don&#039;t live and breathe PHP or Moodle (sacrilege I know) so tend to follow and adapt the &#039;guru&#039; written code in the core formats as a basis of learning and implementing the correct functionality, hence I consider a core &#039;guru gospel&#039; implementation to be the better solution. [[User:Gareth Barnard|Gareth Barnard]] 21:20, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
Agree. It&#039;s fundamental stuff. Let&#039;s take it steady. In core.[[User:Ray Lawrence|Ray Lawrence]]&lt;br /&gt;
&lt;br /&gt;
5.2 I do agree with the thought of it being rushed as although I consider a lot of users have been screaming for this for ages, it would be better to get it right first time even if this takes a little longer.  As a bodge job could put users off Moodle completely and cause them to lose faith in the quality of the product. [[User:Gareth Barnard|Gareth Barnard]] 21:20, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
6. We have not yet published the Moodle 2.x code for the studyplanner course format, but if anyone want to see it, we can probably share it. Just ask.--[[User:Tim Hunt|Tim Hunt]] 20:11, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
7. Do we really want the course format options to be part of the already very long and complex course settings form. Whey not have a separate link in the settings block for &#039;Weekly format options&#039;, or something like that. Much simpler all round.--[[User:Tim Hunt|Tim Hunt]] 20:13, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
Yeah simpler but will they see it there?  Some of the settings are quite key ...   [[User:Martin Dougiamas|Martin Dougiamas]] 15:58, 13 April 2012 (WST)  &lt;br /&gt;
&lt;br /&gt;
8. I override the function &#039;section_class.prototype.swap_with_section&#039; in &#039;/lib/ajax/section_classes.js&#039; in the contributed &#039;Collapsed Topics&#039; course format because I use a table for my layout and hence two table rows per section.  Therefore, will I still be able to do this?  Before I get blamed for using a &#039;table&#039; tag instead of a &#039;div&#039; tag and a set of &#039;ul&#039; tags, tables work for me because the layout is tabular and conceptually is a table in the Object Orientated sense (bar the three/four/more legs), and indeed the W3C specification of a &#039;[http://www.w3.org/TR/html4/struct/tables.html table]&#039; states &#039;The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells.&#039; and that is exactly what I am doing as an arrangement of the sections as rows and columnar subdivision of content / section information.  It also works better with Internet Explorer and manipulating the Document Object Model with JavaScript at the client end. [[User:Gareth Barnard|Gareth Barnard]] 21:20, 12 April 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Eagerly awaiting this, a few comments on the spec.&lt;br /&gt;
&lt;br /&gt;
-The section name (as a link to the separate page)&lt;br /&gt;
&lt;br /&gt;
I&#039;m having visualising this, could you add a mock up to clarify intentions.&lt;br /&gt;
&lt;br /&gt;
- Controls to hide/show that section, as usual&lt;br /&gt;
&lt;br /&gt;
Is this referring to Hidden sections?&lt;br /&gt;
&lt;br /&gt;
- Tthe section summary (truncated if it’s too long)&lt;br /&gt;
&lt;br /&gt;
IMO any automatic setting here will cause issues. Course designer needs to be able to add content as required. It&#039;s up to them to manage.&lt;br /&gt;
&lt;br /&gt;
- More sections can be added by a big &amp;quot;plus&amp;quot; icon at the bottom, and old ones can be deleted if they are empty.&lt;br /&gt;
&lt;br /&gt;
In both paged and standard layouts? Would be great.&lt;br /&gt;
&lt;br /&gt;
- The section pages should be seen as &amp;quot;sub&amp;quot; pages of the course page and can have their own blocks.&lt;br /&gt;
&lt;br /&gt;
This could make things pretty complicated.&lt;br /&gt;
&lt;br /&gt;
What would happen if teacher switched to standard view from paged?&lt;br /&gt;
&lt;br /&gt;
How would Nav and settings block behaveon a page?&lt;br /&gt;
&lt;br /&gt;
- There is no longer need in per-user setting to show only one section in the course (it confused people anyway).&lt;br /&gt;
&lt;br /&gt;
So what happens with legacy courses where this in use and standard layout courses when users want to focus on a single section/week?&lt;br /&gt;
&lt;br /&gt;
- Add a user preference controlled by link/button in UI to switch between old-style menu (for expert users) and this new-style pop up (as default, for new users).&lt;br /&gt;
&lt;br /&gt;
Expert users? My vote is for one method&lt;br /&gt;
&lt;br /&gt;
- Extend course settings with format support&lt;br /&gt;
&lt;br /&gt;
Ideally this would be extended to set defaults in the adminitration course defaults. This would be popular and more user friendly than the current change config.php approach.&lt;br /&gt;
&lt;br /&gt;
[[User:Ray Lawrence|Ray Lawrence]]&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Talk:Cohorts&amp;diff=28363</id>
		<title>Talk:Cohorts</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Talk:Cohorts&amp;diff=28363"/>
		<updated>2010-03-31T09:53:35Z</updated>

		<summary type="html">&lt;p&gt;Ray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The goals specified seem to cover exactly what I think the use case for &#039;global groups&#039; are :) --[[User:Dan Poltawski|Dan Poltawski]] 23:50, 8 March 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
It would be useful to expand the comments about replacing category enrolments. Assignment to a role for a category e.g. as course Creator is a method used extensively to provide delegated permissions by department, school etc. It would be a shame for this to be lost in 2.0.&lt;br /&gt;
&lt;br /&gt;
Will cohorts be role agnostic in the same way as course groups?&lt;br /&gt;
&lt;br /&gt;
The following is a frequently asked for use case that doesn&#039;t seem to be catered for in specification here:&lt;br /&gt;
&lt;br /&gt;
Site administrator (or others with relevant permissions) can allocate to a cohort e.g. cohort a, cohort b.&lt;br /&gt;
&lt;br /&gt;
The site administrator wants to hand over responsibility for allocating users to cohort a to a user in cohort a who has the necessary permissions. This user should not be able to access any other cohort or allocate users to them. Are the new capabilities granualar enough to facilitate this? --[[User:Ray Lawrence|Ray Lawrence]] 09:53, 31 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Talk:Resource_module_file_API_migration&amp;diff=27935</id>
		<title>Talk:Resource module file API migration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Talk:Resource_module_file_API_migration&amp;diff=27935"/>
		<updated>2009-06-15T13:28:25Z</updated>

		<summary type="html">&lt;p&gt;Ray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Current problems==&lt;br /&gt;
embedded images are lost during backup &amp;amp; restore which moves the course to a new site. -- Matt Gibson 08:53, 18 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Separate contrib modules==&lt;br /&gt;
New local files module - contrib - ???? --Eloy Lafuente (stronk7) 16:21, 19 May 2009 (UTC)&lt;br /&gt;
mod/resource/type/file/localfile.php is a win32 only hack which is not maintained much these days Petr Škoda (škoďák)&lt;br /&gt;
&lt;br /&gt;
==Extracted from HQ chat, pending to confirm (Y/N)==&lt;br /&gt;
I liked the :&lt;br /&gt;
&lt;br /&gt;
* 0 = native 2.0&lt;br /&gt;
* 1= flagged as migrated&lt;br /&gt;
* 2= pending to migrate&lt;br /&gt;
* lastmodified = for still being migrated-on-demand resources&lt;br /&gt;
&lt;br /&gt;
- so, anything with flag &amp;gt; 2 is susceptible to be marked as migrated (1) by any process (manual/automatic or whatever we can implement) and, at the same time, we keep native (0) and flagge (1) d separate, helping to know the orgin of the resource in case we need it later.&lt;br /&gt;
&lt;br /&gt;
- so, on upgrade... I&#039;d mark everything as pending to migrate (2) and then, think on possible ways to perform the lastmodified =&amp;gt; 1 conversion (but never to 0. it&#039;s reserved for native 2.0)&lt;br /&gt;
&lt;br /&gt;
--[[User:Eloy Lafuente (stronk7)|Eloy Lafuente (stronk7)]] 09:38, 28 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
==TODO - explain exactly how pluginfile can derive ...==&lt;br /&gt;
Here it&#039;s a tentative explanation:&lt;br /&gt;
&lt;br /&gt;
The whole path (within legacy course files) will be fully retained when copying files to the resource files area. &lt;br /&gt;
&lt;br /&gt;
So for example, if we have one resource pointing to: &#039;&#039;&amp;quot;some/dir/with/index.html file&amp;quot;&#039;&#039;, the &#039;&#039;&amp;quot;some/dir/with&amp;quot;&#039;&#039; directories will be created (if don&#039;t exist) in destination resource file area and then the &#039;&#039;&amp;quot;index.hml&amp;quot;&#039;&#039; file will be copied there (also, if don&#039;t exist, obviously).&lt;br /&gt;
&lt;br /&gt;
Then, advancing in the example, if that html includes one link to say: &#039;&#039;&amp;quot;another/different/dir/style.css&amp;quot;&#039;&#039;, then the &#039;&#039;&amp;quot;another/different/dir&amp;quot;&#039;&#039; dir will be created (once again, if it doesn&#039;t exist) and then the &#039;&#039;&amp;quot;style.css&amp;quot;&#039;&#039; file with be copied there (do you guess when? :-P ).&lt;br /&gt;
&lt;br /&gt;
That way, by retaining the &amp;quot;relative paths&amp;quot; present in legacy course files when copying them to 2.0 resource file areas, the only change will be that old resources being server by &amp;quot;file.php&amp;quot; will be now served by &amp;quot;pluginfile.php&amp;quot;, (with different parameters related to course/context/filearea, not important) but 100% equivalent in all their relative links. &lt;br /&gt;
&lt;br /&gt;
--[[User:Eloy Lafuente (stronk7)|Eloy Lafuente (stronk7)]] 09:49, 28 May 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Some comments from Tim ==&lt;br /&gt;
&lt;br /&gt;
Brilliant! Excellent detailed spec. Just a few comments:&lt;br /&gt;
&lt;br /&gt;
I added a few comments inline in the main page becuase it seemed easier. Please see main page history.&lt;br /&gt;
&lt;br /&gt;
For the resource_historic table - in the blocks code I used block_instance_old. old is shorter, is it worth being consistent?&lt;br /&gt;
&lt;br /&gt;
mod/page -&amp;gt; Show course blocks options. Martin said that that option could just be removed.&lt;br /&gt;
&lt;br /&gt;
is mod/link a better name than mod/url?&lt;br /&gt;
&lt;br /&gt;
mod/imspackage I have normally seen IMS Content Packaging abbreviated as IMS-CP. Since IMS may come out with other packaging schemes in the future, might it be better to call the module mod/imscp? Or would it be better to have one module to support all the packaging formats that we support? That is, should we go the other way and call it mod/contentpackage? (No, becuase SCORM will still be separate, and anyway, that name is too long.)&lt;br /&gt;
&lt;br /&gt;
--[[User:Tim Hunt|Tim Hunt]] 05:34, 9 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Some comments from Ray ==&lt;br /&gt;
&lt;br /&gt;
* References to &amp;quot;Directory&amp;quot;. This is terminology that most teachers, trainers etc. are not familiar with. A good time to standardise on the term &amp;quot;folder&amp;quot;. MDL-11841&lt;br /&gt;
&lt;br /&gt;
* Perhaps update spec table from &amp;quot;Links to external files in repositories (ie Hive)&amp;quot; to &amp;quot;Links to external files in repositories (e.g. Hive) &amp;quot;.&lt;br /&gt;
&lt;br /&gt;
-- Ray Lawrence 15/6/09&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Navigation_2.0&amp;diff=12145</id>
		<title>Navigation 2.0</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Navigation_2.0&amp;diff=12145"/>
		<updated>2009-02-07T15:05:56Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* Relevant tracker issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
==Goals==&lt;br /&gt;
&lt;br /&gt;
Improving navigation in a complex web application like Moodle touches on a lot of areas, but in particular we must aim to hit these goals:&lt;br /&gt;
&lt;br /&gt;
===Clarity===&lt;br /&gt;
&lt;br /&gt;
It should be clearer what settings affect only yourself, and what settings affect what others see.&lt;br /&gt;
&lt;br /&gt;
It should be clear what is global navigation (whole site), and what is local navigation (within a course or module).&lt;br /&gt;
&lt;br /&gt;
===Consistency===&lt;br /&gt;
&lt;br /&gt;
All parts of the interface should be consistent.  We need to have a set of guidelines and core frameworks to better restrict what developers are allowed to do, while also reworking the core code to implement things like blocks and tabs in consistent ways.&lt;br /&gt;
&lt;br /&gt;
===Usability===&lt;br /&gt;
&lt;br /&gt;
Users should be able to easily learn what is there for them.&lt;br /&gt;
&lt;br /&gt;
Users should be able to move around &amp;quot;their world&amp;quot; within Moodle with a minimum of effort.&lt;br /&gt;
&lt;br /&gt;
===Performance===&lt;br /&gt;
&lt;br /&gt;
Processing blocks and building up a page with navigation must be very efficient. &lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
&lt;br /&gt;
If possible, plugins should not have to change.&lt;br /&gt;
&lt;br /&gt;
Users should also not find the new interface too different (just better!)&lt;br /&gt;
&lt;br /&gt;
==Scope== &lt;br /&gt;
&lt;br /&gt;
What parts of Moodle might be affected by this work?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Navigation bar===&lt;br /&gt;
&lt;br /&gt;
Since Moodle 1.9, we construct the navigation bar from an array using the build_navigation function. However, that converts all the data to a string, which is then passed to the theme. Instead, we should keep the information about the navigation bar links as structured data, and let the theme choose how to render it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Local navigation===&lt;br /&gt;
&lt;br /&gt;
In different places we have the global administration tree, the Course admin block, the Jump to menu, tabs like in the user profile, various activities, in the roles UI, and the &#039;Update this forum&#039; button. These are all ways of getting around nearby, related pages. It would be good to make these concepts more consistent. (There is also $homelink in the footer. Currently the HTML for this is generated in print_header.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This is an area we need to think about a lot more&#039;&#039;&#039;&lt;br /&gt;
:Please discuss here: http://moodle.org/mod/forum/discuss.php?d=115620&lt;br /&gt;
&lt;br /&gt;
===Blocks/pagelib===&lt;br /&gt;
&lt;br /&gt;
Blocks themselves should not change. What is currently inconsistent is how blocks get associated with particular pages. At the moment this is done through the (pageid, pagetype) columns of block_instance, and the pagetype column of block_pinned. Does it work if we change this to (contextid, pagetype)?&lt;br /&gt;
&lt;br /&gt;
The other thought is, can we make sticky blocks more flexible? What if we let them be configured in any context, not just globally? This would let people do things like add a block to every course in a particular category.&lt;br /&gt;
&lt;br /&gt;
Perhaps let themes control where on the page blocks can appear.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Some more thought required here&#039;&#039;&#039;.&lt;br /&gt;
:Please discuss here: http://moodle.org/mod/forum/discuss.php?d=95882&lt;br /&gt;
&lt;br /&gt;
===Course view===&lt;br /&gt;
&lt;br /&gt;
What do we need on top of the existing course formats?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Themability===&lt;br /&gt;
&lt;br /&gt;
Give themers as much flexibility as possible, without having to do major changes throughout Moodle.&lt;br /&gt;
&lt;br /&gt;
Let them change the HTML output by the print_XXX functions in weblib.php.&lt;br /&gt;
&lt;br /&gt;
Should we allow themes to have their own lang files and settings.php page in the admin tree?&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
As I write this, we don&#039;t have a clear overview of the whole solution, but following some discussions, I have some ideas about how some components of the solution should work, and I want to write them down. Therefore, I present [[Navigation/Pagelib/Blocks 2.0 design|a possible (partial) design]]. (Real development never happens as they teach in Software Engineering classes anyway. ;-) )--[[User:Tim Hunt|Tim Hunt]] 23:28, 29 January 2009 (CST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Relevant tracker issues==&lt;br /&gt;
&lt;br /&gt;
These come from a review of all the [http://tracker.moodle.org/secure/IssueNavigator.jspa?reset=true&amp;amp;pid=10011&amp;amp;resolution=-1&amp;amp;component=10088&amp;amp;sorter/field=issuekey&amp;amp;sorter/order=ASC&amp;amp;sorter/field=priority&amp;amp;sorter/order=DESC &#039;Theme&#039; tracker issues]. &lt;br /&gt;
&lt;br /&gt;
* MDL-3625 $menu in header does too many things&lt;br /&gt;
* MDL-3626 header.html and footer.html $variable inconsistency&lt;br /&gt;
* MDL-8369 Folder-like presentation of the courses at the main page&lt;br /&gt;
* MDL-9306 Main course formats need to have tables removed but keep AJAX working - &#039;&#039;there seem to be some regressions from this work ;-)&#039;&#039;&lt;br /&gt;
** MDL-12164 Hiding Course Topics and Switching Roles creates Problem in other Topics&lt;br /&gt;
** MDL-13410 Course view misaligned&lt;br /&gt;
** MDL-17450 Display of blocks and topic section not correct in 2.0&lt;br /&gt;
* MDL-10522 Hard-coded &amp;amp;lt;br /&amp;gt; used for spacing.&lt;br /&gt;
** MDL-14058 Code includes &amp;lt;br /&amp;gt; tags in many places, which breaks theming, or makes it more difficult&lt;br /&gt;
* MDL-10681 Popup windows need uniform body class&lt;br /&gt;
* MDL-12093 It is not possible to change the page layout in popup windows&lt;br /&gt;
* MDL-12183 Improve block HTML structure&lt;br /&gt;
* MDL-12191 Let themes know whether this page has blocks.&lt;br /&gt;
* MDL-14061 Add category short names, and an option for categories in the navigation bar.&lt;br /&gt;
* MDL-14305 Class on body to identify the page as Moodle, and a specific site. (Enables sharing of stylesheets, but with a few specific customisations.)&lt;br /&gt;
* MDL-14306 The course category hierarchy should be reflected in CSS classes on the body tag (actually, contextids would let this be done more efficiently).&lt;br /&gt;
* MDL-14539 Replace table layout with div - &#039;&#039;parhaps a duplicate of MDL-9306.&#039;&#039;&lt;br /&gt;
* MDL-14632 Increase use of tabs on all mod activities.&lt;br /&gt;
* MDL-14901 Themes can no longer control the separater used in the nav bar.&lt;br /&gt;
* MDL-15400 Sideblocks on &amp;quot;My Moodle&amp;quot; page not conforming to global width&lt;br /&gt;
* MDL-15817 Part course them and part site theme is used when displayng Outline and Complete reports&lt;br /&gt;
* MDL-15959 patch any theme to have a personal visual style (CSS file) for each course - &#039;&#039;not sure this is a good solution, but it is an interesting requirement.&#039;&#039;&lt;br /&gt;
* MDL-16244 Support for a drop-down menu bar - &#039;&#039;Like on moodle.org now&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Roadmap]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=108993 General developer forum discussion about templates]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=95882 General developer forum discussion about blocks/pagelib]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=115389 Forum discussion about having blocks on the category pages]&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Navigation_2.0&amp;diff=12144</id>
		<title>Navigation 2.0</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Navigation_2.0&amp;diff=12144"/>
		<updated>2009-02-07T15:03:23Z</updated>

		<summary type="html">&lt;p&gt;Ray: breadcrumbs --&amp;gt; navigation bar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}&lt;br /&gt;
==Goals==&lt;br /&gt;
&lt;br /&gt;
Improving navigation in a complex web application like Moodle touches on a lot of areas, but in particular we must aim to hit these goals:&lt;br /&gt;
&lt;br /&gt;
===Clarity===&lt;br /&gt;
&lt;br /&gt;
It should be clearer what settings affect only yourself, and what settings affect what others see.&lt;br /&gt;
&lt;br /&gt;
It should be clear what is global navigation (whole site), and what is local navigation (within a course or module).&lt;br /&gt;
&lt;br /&gt;
===Consistency===&lt;br /&gt;
&lt;br /&gt;
All parts of the interface should be consistent.  We need to have a set of guidelines and core frameworks to better restrict what developers are allowed to do, while also reworking the core code to implement things like blocks and tabs in consistent ways.&lt;br /&gt;
&lt;br /&gt;
===Usability===&lt;br /&gt;
&lt;br /&gt;
Users should be able to easily learn what is there for them.&lt;br /&gt;
&lt;br /&gt;
Users should be able to move around &amp;quot;their world&amp;quot; within Moodle with a minimum of effort.&lt;br /&gt;
&lt;br /&gt;
===Performance===&lt;br /&gt;
&lt;br /&gt;
Processing blocks and building up a page with navigation must be very efficient. &lt;br /&gt;
&lt;br /&gt;
===Backward compatibility===&lt;br /&gt;
&lt;br /&gt;
If possible, plugins should not have to change.&lt;br /&gt;
&lt;br /&gt;
Users should also not find the new interface too different (just better!)&lt;br /&gt;
&lt;br /&gt;
==Scope== &lt;br /&gt;
&lt;br /&gt;
What parts of Moodle might be affected by this work?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Navigation bar===&lt;br /&gt;
&lt;br /&gt;
Since Moodle 1.9, we construct the navigation bar from an array using the build_navigation function. However, that converts all the data to a string, which is then passed to the theme. Instead, we should keep the information about the navigation bar links as structured data, and let the theme choose how to render it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Local navigation===&lt;br /&gt;
&lt;br /&gt;
In different places we have the global administration tree, the Course admin block, the Jump to menu, tabs like in the user profile, various activities, in the roles UI, and the &#039;Update this forum&#039; button. These are all ways of getting around nearby, related pages. It would be good to make these concepts more consistent. (There is also $homelink in the footer. Currently the HTML for this is generated in print_header.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This is an area we need to think about a lot more&#039;&#039;&#039;&lt;br /&gt;
:Please discuss here: http://moodle.org/mod/forum/discuss.php?d=115620&lt;br /&gt;
&lt;br /&gt;
===Blocks/pagelib===&lt;br /&gt;
&lt;br /&gt;
Blocks themselves should not change. What is currently inconsistent is how blocks get associated with particular pages. At the moment this is done through the (pageid, pagetype) columns of block_instance, and the pagetype column of block_pinned. Does it work if we change this to (contextid, pagetype)?&lt;br /&gt;
&lt;br /&gt;
The other thought is, can we make sticky blocks more flexible? What if we let them be configured in any context, not just globally? This would let people do things like add a block to every course in a particular category.&lt;br /&gt;
&lt;br /&gt;
Perhaps let themes control where on the page blocks can appear.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Some more thought required here&#039;&#039;&#039;.&lt;br /&gt;
:Please discuss here: http://moodle.org/mod/forum/discuss.php?d=95882&lt;br /&gt;
&lt;br /&gt;
===Course view===&lt;br /&gt;
&lt;br /&gt;
What do we need on top of the existing course formats?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Themability===&lt;br /&gt;
&lt;br /&gt;
Give themers as much flexibility as possible, without having to do major changes throughout Moodle.&lt;br /&gt;
&lt;br /&gt;
Let them change the HTML output by the print_XXX functions in weblib.php.&lt;br /&gt;
&lt;br /&gt;
Should we allow themes to have their own lang files and settings.php page in the admin tree?&lt;br /&gt;
&lt;br /&gt;
==Design==&lt;br /&gt;
&lt;br /&gt;
As I write this, we don&#039;t have a clear overview of the whole solution, but following some discussions, I have some ideas about how some components of the solution should work, and I want to write them down. Therefore, I present [[Navigation/Pagelib/Blocks 2.0 design|a possible (partial) design]]. (Real development never happens as they teach in Software Engineering classes anyway. ;-) )--[[User:Tim Hunt|Tim Hunt]] 23:28, 29 January 2009 (CST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Relevant tracker issues==&lt;br /&gt;
&lt;br /&gt;
These come from a review of all the [http://tracker.moodle.org/secure/IssueNavigator.jspa?reset=true&amp;amp;pid=10011&amp;amp;resolution=-1&amp;amp;component=10088&amp;amp;sorter/field=issuekey&amp;amp;sorter/order=ASC&amp;amp;sorter/field=priority&amp;amp;sorter/order=DESC &#039;Theme&#039; tracker issues]. &lt;br /&gt;
&lt;br /&gt;
* MDL-3625 $menu in header does too many things&lt;br /&gt;
* MDL-3626 header.html and footer.html $variable inconsistency&lt;br /&gt;
* MDL-8369 Folder-like presentation of the courses at the main page&lt;br /&gt;
* MDL-9306 Main course formats need to have tables removed but keep AJAX working - &#039;&#039;there seem to be some regressions from this work ;-)&#039;&#039;&lt;br /&gt;
** MDL-12164 Hiding Course Topics and Switching Roles creates Problem in other Topics&lt;br /&gt;
** MDL-13410 Course view misaligned&lt;br /&gt;
** MDL-17450 Display of blocks and topic section not correct in 2.0&lt;br /&gt;
* MDL-10522 Hard-coded &amp;amp;lt;br /&amp;gt; used for spacing.&lt;br /&gt;
** MDL-14058 Code includes &amp;lt;br /&amp;gt; tags in many places, which breaks theming, or makes it more difficult&lt;br /&gt;
* MDL-10681 Popup windows need uniform body class&lt;br /&gt;
* MDL-12093 It is not possible to change the page layout in popup windows&lt;br /&gt;
* MDL-12183 Improve block HTML structure&lt;br /&gt;
* MDL-12191 Let themes know whether this page has blocks.&lt;br /&gt;
* MDL-14061 Add category short names, and an option for categories in the breadcrumbs.&lt;br /&gt;
* MDL-14305 Class on body to identify the page as Moodle, and a specific site. (Enables sharing of stylesheets, but with a few specific customisations.)&lt;br /&gt;
* MDL-14306 The course category hierarchy should be reflected in CSS classes on the body tag (actually, contextids would let this be done more efficiently).&lt;br /&gt;
* MDL-14539 Replace table layout with div - &#039;&#039;parhaps a duplicate of MDL-9306.&#039;&#039;&lt;br /&gt;
* MDL-14632 Increase use of tabs on all mod activities.&lt;br /&gt;
* MDL-14901 Themes can no longer control the separater used in the nav bar.&lt;br /&gt;
* MDL-15400 Sideblocks on &amp;quot;My Moodle&amp;quot; page not conforming to global width&lt;br /&gt;
* MDL-15817 Part course them and part site theme is used when displayng Outline and Complete reports&lt;br /&gt;
* MDL-15959 patch any theme to have a personal visual style (CSS file) for each course - &#039;&#039;not sure this is a good solution, but it is an interesting requirement.&#039;&#039;&lt;br /&gt;
* MDL-16244 Support for a drop-down menu bar - &#039;&#039;Like on moodle.org now&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Roadmap]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=108993 General developer forum discussion about templates]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=95882 General developer forum discussion about blocks/pagelib]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=115389 Forum discussion about having blocks on the category pages]&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Conditional_activities&amp;diff=2823</id>
		<title>Conditional activities</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Conditional_activities&amp;diff=2823"/>
		<updated>2008-05-15T15:24:23Z</updated>

		<summary type="html">&lt;p&gt;Ray: /* This activity will be available when ... */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a developer&#039;s page for Moodle Version 2.0, describing an evolving specification.  UNDER CONSTRUCTION!&lt;br /&gt;
&lt;br /&gt;
Conditional activities allow the course editor to hide certain activities until conditions on other activities have been met.  &lt;br /&gt;
&lt;br /&gt;
For example, a student will not see Assignment B until they have scored 80% or higher on Quiz A. &lt;br /&gt;
&lt;br /&gt;
==Objectives==&lt;br /&gt;
&lt;br /&gt;
# We want to know when activities are finished (for each user independently)&lt;br /&gt;
# We want to have this calculated automatically, but also manually if required.&lt;br /&gt;
# We want other some activities to be hidden until other activities are done.&lt;br /&gt;
# We want to &amp;quot;chain&amp;quot; these things into learning paths.&lt;br /&gt;
# We want the course page to remain fast.&lt;br /&gt;
# We want conditional activities to be optional.&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] For us and no doubt other places, the &#039;activity completion&#039; part of the system is still useful even if we are not using conditional activities for a course. We would then want a reporting interface so that tutors can see which tracked activities their students have/haven&#039;t completed. (And for course staff, obviously they would be able to see all students on the course in the same manner.)&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
There are two main approaches to this.  For the discussion below let&#039;s use A to mean a source activity, and B and C to mean two activities that are only available when A is done.&lt;br /&gt;
&lt;br /&gt;
Approach 1: The one used by activity locking is to place the UI to choose the conditions in B, so that it specifies the passing grades etc that are needed for A so that B is unlocked.  This has advantages in that B can specify a different passing grade that C (both on the same A).&lt;br /&gt;
&lt;br /&gt;
Approach 2: This places the logic in A, so that it defines when it is &amp;quot;done&amp;quot; any way it likes and B can just say &amp;quot;I&#039;m available when A is done&amp;quot;.  The advantages here are that A can define &amp;quot;done&amp;quot; in any way it likes, and the configuration can be more subtle if the module wants it.&lt;br /&gt;
&lt;br /&gt;
The approach described below actually combines BOTH these approaches so it should please everyone and allow the maximum flexibility.&lt;br /&gt;
&lt;br /&gt;
==Interfaces== &lt;br /&gt;
&lt;br /&gt;
===Site settings===&lt;br /&gt;
&lt;br /&gt;
Admins can turn Conditional Activities on/off for the whole site.&lt;br /&gt;
&lt;br /&gt;
===Course settings===&lt;br /&gt;
&lt;br /&gt;
Teachers can choose between three states for a course:&lt;br /&gt;
# Conditional Activities off&lt;br /&gt;
# Conditional Activities Manual&lt;br /&gt;
# Conditional Activities Auto &lt;br /&gt;
&lt;br /&gt;
===Course page===&lt;br /&gt;
&lt;br /&gt;
For teachers&lt;br /&gt;
* Each activity will have an icon indicating the status, and clicking on it takes you to the activity settings (see below).  These are also available as a tab from the main activity pages.&lt;br /&gt;
&lt;br /&gt;
For students&lt;br /&gt;
* Colour icons (checkboxes) in red/orange/green down the side of the course format indicate the status of each activity&lt;br /&gt;
* In manual mode, these can be clicked on to toggle the status as required (so that students can manually keep track of what they&#039;ve done).&lt;br /&gt;
* In auto mode, these icons are fixed&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] Be very careful with colours. You mustn&#039;t use colour as only way of displaying information (accessibility). I&#039;d suggest something like: For manual mode, use straightforward checkbox as above; For auto mode, use an icon as described but make these look different as well as different colour (I&#039;d suggest grey crosshatching for unavailable, white (hollow w/black outline) for available but not done, green tick inside box for done-pass, red cross inside box for done-fail) and of course include alt text&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] &#039;Manual&#039; and &#039;Auto&#039; modes maybe needs rethinking. I think this should be actually be a choice of &#039;disable system&#039; (why? well, anyway), &#039;enable system&#039;, and &#039;enable system plus student progress&#039;. These are equiv to off, auto, and auto+manual. The reason for this is that if you specify conditions for something you always want it to be &#039;auto&#039; obviously. But, anything you didn&#039;t specify conditions for, it could be &#039;manual&#039; (i.e. you want students to track progress on some things that are not trackable automatically, e.g. &#039;go and read this web link&#039; (a link) or &#039;go and read the book we sent you&#039; (a label)&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] If this approach is adopted (or anyway for standard manual), it needs a way to turn off progress support per-activity, this could be in course_modules or whatever. For example you don&#039;t want to include a &#039;progress&#039; box on something like a generic course forum that is available for the life of the course, or a course resources page that&#039;s similar, or a page about how to contact student support. We do this because in editing mode, our checkboxes include a tiny little eye icon next to them so you can hide them where they aren&#039;t needed. Maybe also appropriate to set defaults i.e. labels default to not having progress.&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] At the OU we use an option that controls who sees the checkbox. Remember course:participate? YES IT&#039;S THAT AGAIN. Not that it is really really desperately needed or anything. Ahem. But anyhow, we have a specific permission for who the progress system applies to, and this is checked with doanything=false. You might need something similar.&lt;br /&gt;
&lt;br /&gt;
===Activity settings===&lt;br /&gt;
&lt;br /&gt;
When the teacher is editing the activity settings for each activity, they see two parts to the page:&lt;br /&gt;
&lt;br /&gt;
====This activity will be available when ...====&lt;br /&gt;
&lt;br /&gt;
The UI here is standard for all modules. (Settings are stored in the &#039;&#039;&#039;course_modules_avail&#039;&#039;&#039; table.)  It shows all the other activities in the course, and beside each of them are menus to choose from:&lt;br /&gt;
* Grade &amp;gt;= X  (&amp;lt;, &amp;lt;=, &amp;gt;= and &amp;gt;)&lt;br /&gt;
* Viewed&lt;br /&gt;
* Completed (as defined by that activity)&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] Should also include date as a condition. Would be stored in course_modules_avail&lt;br /&gt;
[[User:ray| Ray Lawrence]] Absolute dates or relative to the course start date?&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] Maybe consider also an option for whether the activity is visible before it is available, greyed out with a &#039;This activity will be available when...&#039; note, or not displayed at all.&lt;br /&gt;
&lt;br /&gt;
====This activity will be completed when ...====&lt;br /&gt;
&lt;br /&gt;
This UI shows optional settings for this activity to define when it thinks it is finished.  (Settings are stored in &#039;&#039;&#039;course_modules_done&#039;&#039;&#039; table):&lt;br /&gt;
* Grade &amp;gt;= X  (&amp;lt;, &amp;lt;=, &amp;gt;= and &amp;gt;)&lt;br /&gt;
* Viewed&lt;br /&gt;
* Something else (interface defined by module)&lt;br /&gt;
&lt;br /&gt;
==Tables==&lt;br /&gt;
&lt;br /&gt;
===course_modules_completion===&lt;br /&gt;
This table records the status of each user completing each activity module.  It represents current state and is used to make the display of course pages very fast.  It is updated whenever grades or modules change etc.  See also [[Course_completion]] for course completion which is a separate system.&lt;br /&gt;
&lt;br /&gt;
* id &lt;br /&gt;
* courseid  - just here for speed&lt;br /&gt;
* cmid  - FK to course_modules&lt;br /&gt;
* userid &lt;br /&gt;
* status - hide / not done / in progress / done fail / done pass&lt;br /&gt;
* timemodified&lt;br /&gt;
&lt;br /&gt;
===course_modules_avail===&lt;br /&gt;
Records settings for availability &lt;br /&gt;
* id &lt;br /&gt;
* cmid  - the activity that is defining the condition&lt;br /&gt;
* cmsourceid - the activity we are checking&lt;br /&gt;
* gradesign  - &amp;lt;, &amp;gt;, &amp;lt;=, =&amp;gt; etc&lt;br /&gt;
* gradecutoff &lt;br /&gt;
* views - boolean&lt;br /&gt;
* modulespecific - boolean&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] I think modulespecific is difficult to handle here because it probably needs to be set per module (i.e. typically in the module settings page and stored in the module&#039;s main table). Suggest moving to the _done table.&lt;br /&gt;
&lt;br /&gt;
[[User:sam marshall|sam marshall]] Eloy suggested we should only store conditions in one place (as opposed to the A/B above) but I see the possible need for several e.g. a quiz, you want one activity that shows if you get &amp;gt; 80% and another one that shows only if you get &amp;lt;80%. However I think this could still be simplified - how about putting the &#039;grade&#039; stuff ONLY in this &#039;avail&#039; table (so your choice for avail is basically always &#039;require the activity to think it&#039;s done, however it likes&#039; but then you can additionally require a grade as well). So done = completed regardless of grade or anything else, but avail could be conditional on grade.&lt;br /&gt;
&lt;br /&gt;
===course_modules_done===&lt;br /&gt;
Records settings for whether something is done&lt;br /&gt;
* id &lt;br /&gt;
* cmid &lt;br /&gt;
* gradesign  - &amp;lt;, &amp;gt;, &amp;lt;=, =&amp;gt; etc&lt;br /&gt;
* gradecutoff &lt;br /&gt;
* views - boolean&lt;br /&gt;
&lt;br /&gt;
==Process==&lt;br /&gt;
&lt;br /&gt;
Coming soon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Issues to think about==&lt;br /&gt;
&lt;br /&gt;
* How do we cope with circular references?&lt;br /&gt;
* We should remove conditions when activities are deleted - how does that affect things downstream?&lt;br /&gt;
&lt;br /&gt;
==sam&#039;s picture==&lt;br /&gt;
&lt;br /&gt;
This diagram shows sam&#039;s idea of how it should look/work, which is not quite the same as the original description above. It definitely isn&#039;t intended to be final in any way as features might need to be removed (or added or changed) etc. - I just did a diagram to illustrate my thinking.&lt;br /&gt;
&lt;br /&gt;
[[Image:conditional.png|Possible interface diagram]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*Take a look at the [http://moodle.org/mod/forum/view.php?f=678 Conditional activities forum] at [http://moodle.org http://moodle.org].&lt;br /&gt;
*[[Activity_Locking]], a MoodleDoc page with table and descriptions of different conditional activity modules&lt;br /&gt;
*[[Score Lock]] a MoodleDoc page for another conditional activity module for 1.6&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=35488 forum discussion about Stuart Mayor&#039;s Conditional Activities], including Moodle 1.6 version &lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=36697 Conditional activities at CICEI], running demo included as student, teacher and designer.&lt;br /&gt;
*[[Adding/editing_a_lesson#Dependent_on]] MoodleDoc page . The lesson activity settings in V 1.6 has a specialized dependency setting. Entering the lesson can be made dependent on the % (lesson questions) correct, time spent or completion of one other specific lesson. &lt;br /&gt;
&lt;br /&gt;
*Tracker reference(s) for conditional development _____________&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Conditional activities]]&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Outcomes&amp;diff=2084</id>
		<title>Outcomes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Outcomes&amp;diff=2084"/>
		<updated>2006-08-11T09:53:37Z</updated>

		<summary type="html">&lt;p&gt;Ray: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Feature description:&#039;&#039;&#039; Build on the keywords in 1.6 to provide metadata for all activities and courses, linkable to standard lists of metadata such as State-based learning outomes and curricula.&lt;br /&gt;
&lt;br /&gt;
This page is an initial place to discuss options for storing and managing moodle metadata.  These are just suggestions and are made by a person who does not know moodle internals.&lt;br /&gt;
&lt;br /&gt;
There are several steps to managing a complex applications metadata:&lt;br /&gt;
# Document the key &amp;quot;Data Element Concpets&amp;quot; and their structure.  This would include high-level concepts such as Course, Student, Teacher etc.&lt;br /&gt;
# Document data element properties associated with each concept.  Properties should always be associated with a concept.&lt;br /&gt;
# Store this metadata in a metadata &amp;quot;registry&amp;quot;, a centrally managed place to store metadata&lt;br /&gt;
# Create a system that allows users to modify and update metadata&lt;br /&gt;
&lt;br /&gt;
There are several ways to approach this.&lt;br /&gt;
&lt;br /&gt;
* There are metadata registry standards such as ISO/IEC 11179. This standard has a wide number of interpretations.&lt;br /&gt;
* There are other education metadata standards such as IMS global and the School Interoperability Framework (SIF)&lt;br /&gt;
* Once the metadata is stored in a consistant place and format, transforms can be made to extract portions of the metadata using reports or transforms&lt;br /&gt;
* A metadata registry can be the heart of a model-driven architecture&lt;br /&gt;
&lt;br /&gt;
Most systems attempt to seperate the semantics from the representation of metadata.&lt;br /&gt;
# Semantics tell us the meaning of a data element but are free from version or constraints&lt;br /&gt;
# Represtations of the metadata tell us what table and column metadata appears in each version of Moodle and what the limitations are in a specification&lt;br /&gt;
&lt;br /&gt;
Many metadata managment systems use a 3-part data element name:&lt;br /&gt;
&lt;br /&gt;
 ClassPropertyTerm&lt;br /&gt;
&lt;br /&gt;
Were Class is the concept, property is a property of that concept and Term is a Representation term such as Count, Date, ID, Indicator, Text&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 CourseDescriptionText&lt;br /&gt;
&lt;br /&gt;
==Questions==&lt;br /&gt;
* Where can we get a list of key moodle conceptual data elements and their definitions?&lt;br /&gt;
&lt;br /&gt;
* How do we set up a data stewardship role so individuals take responsiblity for maintaining subsets of all the data elements?&lt;br /&gt;
&lt;br /&gt;
* What should the highest level data elements be?  Course, Enrollment, Organization, Person, Quiz&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Metadata:MoodleCore]] LOM application profile for Moodle course&lt;br /&gt;
* [[Thing]] A root data element of a metadata registry&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Metadata_registry Wikipedia entry for Metadata registry]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/ISO/IEC_11179 Wikipedia entry for ISO/IEC 11179 ]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Data_element Wikipedia entry for Data element]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Representation_term Wikipedia entry for Representation term]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Data_element_name Wikipedia entry for Data element name ]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Data_element_definition Wikipedia entry for Data element definition ]&lt;br /&gt;
&lt;br /&gt;
==Example of a K-12 education metadata registry for ==&lt;br /&gt;
* [http://education.state.mn.us/datadictionary Minnesota (US) Department of Education Data Dictionary]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Future]]&lt;/div&gt;</summary>
		<author><name>Ray</name></author>
	</entry>
</feed>