From d6984cced8682d98d11658338aae6d166cf6059d Mon Sep 17 00:00:00 2001
From: jmvt
- Number of students enrolled:
+ Number of students enrolled for ${students_enrolled_json['data'][0]['course_id']}:
% if students_enrolled_json is not None:
% if students_enrolled_json['status'] == 'success':
- ${students_enrolled_json['data']['value']} as of ${students_enrolled_json['time']}
+ ${students_enrolled_json['data'][0]['count']} as of ${students_enrolled_json['time']}
% else:
${students_enrolled_json['error']}
% endif
@@ -358,10 +358,10 @@ function goto( mode)
- Number of active students for the past 7 days:
+ Number of students active for ${students_active_json['data'][0]['course_id']} for the past 7 days:
% if students_active_json is not None:
% if students_active_json['status'] == 'success':
- ${students_active_json['data']['value']} as of ${students_active_json['time']}
+ ${students_active_json['data'][0]['count']} as of ${students_active_json['time']}
% else:
${students_active_json['error']}
% endif
@@ -407,8 +407,8 @@ function goto( mode)
- % for k,v in students_per_problem_correct_json['data'].items():
- Problem Number of students
+ % for row in students_per_problem_correct_json['data']:
+ ${k} ${v}
% endfor
${row['module_id']} ${row['count']}
Students per module who attempted at least one problem @@ -429,8 +430,8 @@ function goto( mode)
| Module | Number of students |
|---|---|
| ${k} | ${v} |
| ${row['module_id']} | ${row['count']} |
+
+
Grade distribution:
+ + % if overall_grade_distribution is not None: + % if overall_grade_distribution['status'] == 'success': +| Grade | Number of students |
|---|---|
| ${row['overall_grade']} | ${row['count']} |
Number of students who dropped off per day before becoming inactive:
## ## % if dropoff_per_day is not None: @@ -464,26 +486,6 @@ function goto( mode) ## % endif ## ## -##-##
Grade distribution:
-## -## % if overall_grade_distribution is not None: -## % if overall_grade_distribution['status'] == 'success': -##| Grade | Number of students |
|---|---|
| ${k} | ${v} |