From f0ea73a2dd800bc59fe98d1e727692c9fd08b749 Mon Sep 17 00:00:00 2001 From: GitBluub Date: Thu, 1 Jun 2023 01:07:32 +0900 Subject: [PATCH] fix: scorometer test --- scorometer/tests/almost_perfect_play/output | 38 +++++++++---------- scorometer/tests/early/output | 42 ++++++++++----------- scorometer/tests/end_miss/output | 34 ++++++++--------- scorometer/tests/hold_not_enough/output | 42 ++++++++++----------- scorometer/tests/hold_too_long/output | 42 ++++++++++----------- scorometer/tests/late/output | 42 ++++++++++----------- scorometer/tests/perfect_play/output | 42 ++++++++++----------- scorometer/tests/random_miss/output | 34 ++++++++--------- 8 files changed, 158 insertions(+), 158 deletions(-) diff --git a/scorometer/tests/almost_perfect_play/output b/scorometer/tests/almost_perfect_play/output index 5d9be90..85c81f4 100644 --- a/scorometer/tests/almost_perfect_play/output +++ b/scorometer/tests/almost_perfect_play/output @@ -1,19 +1,19 @@ -{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "end", "overallScore": 850, "score": {"missed": 1, "good": 0, "great": 0, "perfect": 9, "maxScore": 1000}} +{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "end", "overallScore": 875, "precision": 90.0, "score": {"max_score": 1000, "score": 875, "wrong": 0, "missed": 1, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} diff --git a/scorometer/tests/early/output b/scorometer/tests/early/output index 0670a44..ae22e6d 100644 --- a/scorometer/tests/early/output +++ b/scorometer/tests/early/output @@ -1,21 +1,21 @@ -{"type": "timing", "id": 1, "timing": "great", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0}} -{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0}} -{"type": "timing", "id": 2, "timing": "great", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0}} -{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0}} -{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0}} -{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0}} -{"type": "timing", "id": 4, "timing": "great", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0}} -{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0}} -{"type": "timing", "id": 5, "timing": "great", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0}} -{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0}} -{"type": "timing", "id": 6, "timing": "great", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0}} -{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0}} -{"type": "timing", "id": 7, "timing": "great", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0}} -{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0}} -{"type": "timing", "id": 8, "timing": "great", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0}} -{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0}} -{"type": "timing", "id": 9, "timing": "great", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0}} -{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0}} -{"type": "timing", "id": 10, "timing": "great", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0}} -{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0}} -{"type": "end", "overallScore": 1000, "score": {"missed": 0, "good": 0, "great": 10, "perfect": 0, "maxScore": 1000}} +{"type": "timing", "id": 1, "timing": "great", "info": {"max_score": 1000, "score": 75, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 75, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 2, "timing": "great", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 1000, "score": 225, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 225, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 4, "timing": "great", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 5, "timing": "great", "info": {"max_score": 1000, "score": 375, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 375, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 6, "timing": "great", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 7, "timing": "great", "info": {"max_score": 1000, "score": 525, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 525, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 8, "timing": "great", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "timing", "id": 9, "timing": "great", "info": {"max_score": 1000, "score": 675, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 675, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "timing", "id": 10, "timing": "great", "info": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "end", "overallScore": 750, "precision": 100.0, "score": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0, "current_streak": 10, "max_streak": 10}} diff --git a/scorometer/tests/end_miss/output b/scorometer/tests/end_miss/output index 4011e40..a00048a 100644 --- a/scorometer/tests/end_miss/output +++ b/scorometer/tests/end_miss/output @@ -1,17 +1,17 @@ -{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "end", "overallScore": 700, "score": {"missed": 2, "good": 0, "great": 0, "perfect": 8, "maxScore": 1000}} +{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "end", "overallScore": 750, "precision": 80.0, "score": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 2, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} diff --git a/scorometer/tests/hold_not_enough/output b/scorometer/tests/hold_not_enough/output index af438b9..1d9547a 100644 --- a/scorometer/tests/hold_not_enough/output +++ b/scorometer/tests/hold_not_enough/output @@ -1,21 +1,21 @@ -{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "duration", "id": 1, "duration": "too short", "info": {"max_score": 1000, "score": 50, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 50, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "duration", "id": 2, "duration": "too short", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "duration", "id": 3, "duration": "too short", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "duration", "id": 4, "duration": "too short", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "duration", "id": 5, "duration": "too short", "info": {"max_score": 1000, "score": 250, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 250, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "duration", "id": 6, "duration": "too short", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "duration", "id": 7, "duration": "too short", "info": {"max_score": 1000, "score": 350, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 350, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "duration", "id": 8, "duration": "too short", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "duration", "id": 9, "duration": "too short", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0}} -{"type": "duration", "id": 10, "duration": "too short", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0}} -{"type": "end", "overallScore": 500, "score": {"missed": 0, "good": 0, "great": 0, "perfect": 10, "maxScore": 1000}} +{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 1, "duration": "too short", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 2, "duration": "too short", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 3, "duration": "too short", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 4, "duration": "too short", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 5, "duration": "too short", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 6, "duration": "too short", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 7, "duration": "too short", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 8, "duration": "too short", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "duration", "id": 9, "duration": "too short", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "duration", "id": 10, "duration": "too short", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "end", "overallScore": 1000, "precision": 100.0, "score": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} diff --git a/scorometer/tests/hold_too_long/output b/scorometer/tests/hold_too_long/output index 318e929..31add7c 100644 --- a/scorometer/tests/hold_too_long/output +++ b/scorometer/tests/hold_too_long/output @@ -1,21 +1,21 @@ -{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "duration", "id": 1, "duration": "too long", "info": {"max_score": 1000, "score": 50, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 50, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "duration", "id": 2, "duration": "too long", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "duration", "id": 3, "duration": "too long", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "duration", "id": 4, "duration": "too long", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "duration", "id": 5, "duration": "too long", "info": {"max_score": 1000, "score": 250, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 250, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "duration", "id": 6, "duration": "too long", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "duration", "id": 7, "duration": "too long", "info": {"max_score": 1000, "score": 350, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 350, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "duration", "id": 8, "duration": "too long", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "duration", "id": 9, "duration": "too long", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0}} -{"type": "duration", "id": 10, "duration": "too long", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0}} -{"type": "end", "overallScore": 500, "score": {"missed": 0, "good": 0, "great": 0, "perfect": 10, "maxScore": 1000}} +{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 1, "duration": "too long", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 2, "duration": "too long", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 3, "duration": "too long", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 4, "duration": "too long", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 5, "duration": "too long", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 6, "duration": "too long", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 7, "duration": "too long", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 8, "duration": "too long", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "duration", "id": 9, "duration": "too long", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "duration", "id": 10, "duration": "too long", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "end", "overallScore": 1000, "precision": 100.0, "score": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} diff --git a/scorometer/tests/late/output b/scorometer/tests/late/output index 0670a44..ae22e6d 100644 --- a/scorometer/tests/late/output +++ b/scorometer/tests/late/output @@ -1,21 +1,21 @@ -{"type": "timing", "id": 1, "timing": "great", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0}} -{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0}} -{"type": "timing", "id": 2, "timing": "great", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0}} -{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0}} -{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0}} -{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0}} -{"type": "timing", "id": 4, "timing": "great", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0}} -{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0}} -{"type": "timing", "id": 5, "timing": "great", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0}} -{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0}} -{"type": "timing", "id": 6, "timing": "great", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0}} -{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0}} -{"type": "timing", "id": 7, "timing": "great", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0}} -{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0}} -{"type": "timing", "id": 8, "timing": "great", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0}} -{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0}} -{"type": "timing", "id": 9, "timing": "great", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0}} -{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0}} -{"type": "timing", "id": 10, "timing": "great", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0}} -{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0}} -{"type": "end", "overallScore": 1000, "score": {"missed": 0, "good": 0, "great": 10, "perfect": 0, "maxScore": 1000}} +{"type": "timing", "id": 1, "timing": "great", "info": {"max_score": 1000, "score": 75, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 75, "wrong": 0, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 2, "timing": "great", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 150, "wrong": 0, "missed": 0, "perfect": 0, "great": 2, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 1000, "score": 225, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 225, "wrong": 0, "missed": 0, "perfect": 0, "great": 3, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 4, "timing": "great", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 0, "great": 4, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 5, "timing": "great", "info": {"max_score": 1000, "score": 375, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 375, "wrong": 0, "missed": 0, "perfect": 0, "great": 5, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 6, "timing": "great", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 450, "wrong": 0, "missed": 0, "perfect": 0, "great": 6, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 7, "timing": "great", "info": {"max_score": 1000, "score": 525, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 525, "wrong": 0, "missed": 0, "perfect": 0, "great": 7, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 8, "timing": "great", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 0, "great": 8, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "timing", "id": 9, "timing": "great", "info": {"max_score": 1000, "score": 675, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 675, "wrong": 0, "missed": 0, "perfect": 0, "great": 9, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "timing", "id": 10, "timing": "great", "info": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "end", "overallScore": 750, "precision": 100.0, "score": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 0, "perfect": 0, "great": 10, "good": 0, "current_streak": 10, "max_streak": 10}} diff --git a/scorometer/tests/perfect_play/output b/scorometer/tests/perfect_play/output index aa2636c..7cc0181 100644 --- a/scorometer/tests/perfect_play/output +++ b/scorometer/tests/perfect_play/output @@ -1,21 +1,21 @@ -{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0}} -{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0}} -{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0}} -{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0}} -{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0}} -{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0}} -{"type": "end", "overallScore": 1000, "score": {"missed": 0, "good": 0, "great": 0, "perfect": 10, "maxScore": 1000}} +{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 2, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "wrong": 0, "missed": 0, "perfect": 6, "great": 0, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 7, "timing": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "wrong": 0, "missed": 0, "perfect": 7, "great": 0, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 8, "timing": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "wrong": 0, "missed": 0, "perfect": 8, "great": 0, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 900, "wrong": 0, "missed": 0, "perfect": 9, "great": 0, "good": 0, "current_streak": 9, "max_streak": 9}} +{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} +{"type": "end", "overallScore": 1000, "precision": 100.0, "score": {"max_score": 1000, "score": 1000, "wrong": 0, "missed": 0, "perfect": 10, "great": 0, "good": 0, "current_streak": 10, "max_streak": 10}} diff --git a/scorometer/tests/random_miss/output b/scorometer/tests/random_miss/output index fbd026c..1ba0cea 100644 --- a/scorometer/tests/random_miss/output +++ b/scorometer/tests/random_miss/output @@ -1,17 +1,17 @@ -{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 0, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0}} -{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0}} -{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0}} -{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0}} -{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0}} -{"type": "timing", "id": 8, "timing": "great", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 1, "good": 0}} -{"type": "duration", "id": 8, "duration": "too long", "info": {"max_score": 1000, "score": 550, "wrong": 0, "missed": 0, "perfect": 5, "great": 1, "good": 0}} -{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 550, "wrong": 0, "missed": 0, "perfect": 6, "great": 1, "good": 0}} -{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 650, "wrong": 0, "missed": 0, "perfect": 6, "great": 1, "good": 0}} -{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 650, "wrong": 0, "missed": 0, "perfect": 7, "great": 1, "good": 0}} -{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 750, "wrong": 0, "missed": 0, "perfect": 7, "great": 1, "good": 0}} -{"type": "end", "overallScore": 650, "score": {"missed": 2, "good": 0, "great": 1, "perfect": 7, "maxScore": 1000}} +{"type": "timing", "id": 1, "timing": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "wrong": 0, "missed": 0, "perfect": 1, "great": 0, "good": 0, "current_streak": 1, "max_streak": 1}} +{"type": "timing", "id": 3, "timing": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "wrong": 0, "missed": 0, "perfect": 2, "great": 0, "good": 0, "current_streak": 2, "max_streak": 2}} +{"type": "timing", "id": 4, "timing": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "wrong": 0, "missed": 0, "perfect": 3, "great": 0, "good": 0, "current_streak": 3, "max_streak": 3}} +{"type": "timing", "id": 5, "timing": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "wrong": 0, "missed": 0, "perfect": 4, "great": 0, "good": 0, "current_streak": 4, "max_streak": 4}} +{"type": "timing", "id": 6, "timing": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "wrong": 0, "missed": 0, "perfect": 5, "great": 0, "good": 0, "current_streak": 5, "max_streak": 5}} +{"type": "timing", "id": 8, "timing": "great", "info": {"max_score": 1000, "score": 575, "wrong": 0, "missed": 0, "perfect": 5, "great": 1, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "duration", "id": 8, "duration": "too long", "info": {"max_score": 1000, "score": 575, "wrong": 0, "missed": 0, "perfect": 5, "great": 1, "good": 0, "current_streak": 6, "max_streak": 6}} +{"type": "timing", "id": 9, "timing": "perfect", "info": {"max_score": 1000, "score": 675, "wrong": 0, "missed": 0, "perfect": 6, "great": 1, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 675, "wrong": 0, "missed": 0, "perfect": 6, "great": 1, "good": 0, "current_streak": 7, "max_streak": 7}} +{"type": "timing", "id": 10, "timing": "perfect", "info": {"max_score": 1000, "score": 775, "wrong": 0, "missed": 0, "perfect": 7, "great": 1, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 775, "wrong": 0, "missed": 0, "perfect": 7, "great": 1, "good": 0, "current_streak": 8, "max_streak": 8}} +{"type": "end", "overallScore": 725, "precision": 80.0, "score": {"max_score": 1000, "score": 725, "wrong": 0, "missed": 2, "perfect": 7, "great": 1, "good": 0, "current_streak": 8, "max_streak": 8}}