diff --git a/results/result_buffer3.json b/results/result_buffer3.json index 973fdb291cc8eb88a25b29db86555dbcbc8744cb..430ed4c1a4095b787f7789eebd90cd17225253d3 100644 --- a/results/result_buffer3.json +++ b/results/result_buffer3.json @@ -1 +1,280 @@ -{"time": 1683039846, "result": {"actors": {"2|https://moodle.localhost.de": {"submitted_scores": [], "verb_counts": {"accessed": 26}}, "56|https://moodle.localhost.de": {"submitted_scores": [{"score": 1, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=2", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}, {"score": 0, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=9", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}, {"score": 1, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=10", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}, {"score": 3, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=11", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}, {"score": 6, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=12", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}], "verb_counts": {"accessed": 50, "started": 5, "submitted": 5, "answered": 18, "leftUnanswered": 12}}, "system|https://moodle.localhost.de": {"submitted_scores": [], "verb_counts": {"graded": 9}}, "65|https://moodle.localhost.de": {"submitted_scores": [{"score": 4, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=3", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}], "verb_counts": {"accessed": 11, "started": 1, "submitted": 1, "answered": 6}}, "75|https://moodle.localhost.de": {"submitted_scores": [{"score": 1, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=4", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}], "verb_counts": {"accessed": 11, "started": 1, "submitted": 1, "answered": 6}}, "25|https://moodle.localhost.de": {"submitted_scores": [{"score": 3, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=5", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}], "verb_counts": {"accessed": 14, "started": 1, "submitted": 1, "answered": 6}}, "98|https://moodle.localhost.de": {"submitted_scores": [{"score": 3, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=6", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}], "verb_counts": {"accessed": 10, "started": 1, "submitted": 1, "answered": 6}}, "23|https://moodle.localhost.de": {"submitted_scores": [{"score": 2, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=7", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}], "verb_counts": {"accessed": 10, "started": 1, "submitted": 1, "answered": 6}}, "9|https://moodle.localhost.de": {"submitted_scores": [{"score": 5, "quiz_object": {"objectType": "Activity", "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=8", "definition": {"type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", "name": {"de": "Versuch test"}}}}], "verb_counts": {"accessed": 11, "started": 1, "submitted": 1, "answered": 6}}, "p1|https://moodle.localhost.de": {"submitted_scores": [], "verb_counts": {"accessed": 4}}}, "quizzes": {"https://moodle.localhost.de/mod/quiz/review.php": {"scores": {"56|https://moodle.localhost.de": [1, 0, 1, 3, 6], "65|https://moodle.localhost.de": [4], "75|https://moodle.localhost.de": [1], "25|https://moodle.localhost.de": [3], "98|https://moodle.localhost.de": [3], "23|https://moodle.localhost.de": [2], "9|https://moodle.localhost.de": [5]}, "stats": {"mean": 2.6363636363636362, "median": 3, "min": 0, "max": 6}}}}, "description": {"de": "Placeholder", "en": "placeholder"}} \ No newline at end of file +{ + "time": 1683623475, + "result": { + "actors": { + "2|https://moodle.localhost.de": { + "submitted_scores": [], + "verb_counts": { + "accessed": 26 + } + }, + "56|https://moodle.localhost.de": { + "submitted_scores": [ + { + "score": 1, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=2", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + }, + { + "score": 0, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=9", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + }, + { + "score": 1, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=10", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + }, + { + "score": 3, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=11", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + }, + { + "score": 6, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=12", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + } + ], + "verb_counts": { + "accessed": 50, + "started": 5, + "submitted": 5, + "answered": 18, + "leftUnanswered": 12 + } + }, + "system|https://moodle.localhost.de": { + "submitted_scores": [], + "verb_counts": { + "graded": 9 + } + }, + "65|https://moodle.localhost.de": { + "submitted_scores": [ + { + "score": 4, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=3", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + } + ], + "verb_counts": { + "accessed": 11, + "started": 1, + "submitted": 1, + "answered": 6 + } + }, + "75|https://moodle.localhost.de": { + "submitted_scores": [ + { + "score": 1, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=4", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + } + ], + "verb_counts": { + "accessed": 11, + "started": 1, + "submitted": 1, + "answered": 6 + } + }, + "25|https://moodle.localhost.de": { + "submitted_scores": [ + { + "score": 3, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=5", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + } + ], + "verb_counts": { + "accessed": 14, + "started": 1, + "submitted": 1, + "answered": 6 + } + }, + "98|https://moodle.localhost.de": { + "submitted_scores": [ + { + "score": 3, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=6", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + } + ], + "verb_counts": { + "accessed": 10, + "started": 1, + "submitted": 1, + "answered": 6 + } + }, + "23|https://moodle.localhost.de": { + "submitted_scores": [ + { + "score": 2, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=7", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + } + ], + "verb_counts": { + "accessed": 10, + "started": 1, + "submitted": 1, + "answered": 6 + } + }, + "9|https://moodle.localhost.de": { + "submitted_scores": [ + { + "score": 5, + "quiz_object": { + "objectType": "Activity", + "id": "https://moodle.localhost.de/mod/quiz/review.php?attempt=8", + "definition": { + "type": "https://xapi.elearn.rwth-aachen.de/definitions/lms/activities/quizAttempt", + "name": { + "de": "Versuch test" + } + } + } + } + ], + "verb_counts": { + "accessed": 11, + "started": 1, + "submitted": 1, + "answered": 6 + } + }, + "p1|https://moodle.localhost.de": { + "submitted_scores": [], + "verb_counts": { + "accessed": 4 + } + } + }, + "quizzes": { + "https://moodle.localhost.de/mod/quiz/review.php": { + "scores": { + "56|https://moodle.localhost.de": [ + 1, + 0, + 1, + 3, + 6 + ], + "65|https://moodle.localhost.de": [ + 4 + ], + "75|https://moodle.localhost.de": [ + 1 + ], + "25|https://moodle.localhost.de": [ + 3 + ], + "98|https://moodle.localhost.de": [ + 3 + ], + "23|https://moodle.localhost.de": [ + 2 + ], + "9|https://moodle.localhost.de": [ + 5 + ] + }, + "stats": { + "mean": 2.6363636363636362, + "median": 3, + "min": 0, + "max": 6 + } + } + } + }, + "description": { + "de": "Placeholder", + "en": "placeholder" + } +} \ No newline at end of file diff --git a/utilsJupyter.py b/utilsJupyter.py index 2d6666a91f237990abebeb652666d0e338ef0dda..48f0c9aa92bda92d79790260536417e5476e8271 100644 --- a/utilsJupyter.py +++ b/utilsJupyter.py @@ -66,4 +66,4 @@ def get_existing_results(api_url, analytics_token): def save_results(api_url, analytics_token, results): #save results to file in data/results.json with open('results/' + 'result_' + file_name, 'w') as outfile: - json.dump(results, outfile) + json.dump(results, outfile,indent=4)