From ece87dbdb9ee1960fbe5aaddefd5169c144ea798 Mon Sep 17 00:00:00 2001 From: GitBluub Date: Thu, 21 Sep 2023 00:26:23 +0200 Subject: [PATCH] fix: try to fix scoro tests --- scorometer/main.py | 2 +- 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 ++++++++--------- 9 files changed, 159 insertions(+), 159 deletions(-) diff --git a/scorometer/main.py b/scorometer/main.py index 88f64ab..a9caab8 100755 --- a/scorometer/main.py +++ b/scorometer/main.py @@ -102,7 +102,7 @@ class Scorometer: def send(self, obj): obj["info"] = self.info - obj["game_id"] = game_uuid + obj["game_id"] = str(game_uuid) if not testing else "test" send(obj) def getPracticePartition(self, mode: int) -> list[list[Key]]: diff --git a/scorometer/tests/almost_perfect_play/output b/scorometer/tests/almost_perfect_play/output index 85c81f4..fa22062 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": 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}} +{"type": "timing", "id": 2, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 2, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 50, "wrong": 1, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 106200, "score": 50, "wrong": 1, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 7, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 7, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 9, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 9, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 10, "timing": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 10, "duration": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26650, "precision": 0.09, "score": {"max_score": 106200, "score": -26650, "wrong": 8, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}} diff --git a/scorometer/tests/early/output b/scorometer/tests/early/output index ae22e6d..6132ebc 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": 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}} +{"type": "timing", "id": 1, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 1, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 2, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 2, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 7, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 7, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 9, "timing": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 9, "duration": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 10, "timing": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 10, "duration": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26675, "precision": 0.09, "score": {"max_score": 106200, "score": -26675, "wrong": 9, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}} diff --git a/scorometer/tests/end_miss/output b/scorometer/tests/end_miss/output index a00048a..dfce1ec 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": 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}} +{"type": "timing", "id": 1, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 1, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 2, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 2, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 7, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 7, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26625, "precision": 0.09, "score": {"max_score": 106200, "score": -26625, "wrong": 7, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}} diff --git a/scorometer/tests/hold_not_enough/output b/scorometer/tests/hold_not_enough/output index 1d9547a..43c224d 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": 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}} +{"type": "timing", "id": 1, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 1, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 2, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 2, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "too short", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 7, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 7, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 9, "timing": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 9, "duration": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 10, "timing": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 10, "duration": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26675, "precision": 0.09, "score": {"max_score": 106200, "score": -26675, "wrong": 9, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}} diff --git a/scorometer/tests/hold_too_long/output b/scorometer/tests/hold_too_long/output index 31add7c..a5433e8 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": 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}} +{"type": "timing", "id": 1, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 1, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 2, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 2, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "long", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 7, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 7, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 9, "timing": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 9, "duration": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 10, "timing": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 10, "duration": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26675, "precision": 0.09, "score": {"max_score": 106200, "score": -26675, "wrong": 9, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}} diff --git a/scorometer/tests/late/output b/scorometer/tests/late/output index ae22e6d..6132ebc 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": 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}} +{"type": "timing", "id": 1, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 1, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 2, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 2, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 7, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 7, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 9, "timing": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 9, "duration": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 10, "timing": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 10, "duration": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26675, "precision": 0.09, "score": {"max_score": 106200, "score": -26675, "wrong": 9, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}} diff --git a/scorometer/tests/perfect_play/output b/scorometer/tests/perfect_play/output index 7cc0181..6132ebc 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": 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}} +{"type": "timing", "id": 1, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 1, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 2, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 2, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 2, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 7, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 7, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 9, "timing": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 9, "duration": "wrong", "info": {"max_score": 106200, "score": -125, "wrong": 8, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 10, "timing": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 10, "duration": "wrong", "info": {"max_score": 106200, "score": -150, "wrong": 9, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26675, "precision": 0.09, "score": {"max_score": 106200, "score": -26675, "wrong": 9, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}} diff --git a/scorometer/tests/random_miss/output b/scorometer/tests/random_miss/output index 1ba0cea..dcae7c2 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": 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}} +{"type": "timing", "id": 1, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "duration", "id": 1, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 1, "missed": 0, "perfect": 0, "great": 0, "good": 0, "current_streak": 0, "max_streak": 0}, "game_id": "test"} +{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 106200, "score": 50, "wrong": 1, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 106200, "score": 50, "wrong": 1, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 1, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 4, "timing": "wrong", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 4, "duration": "wrong", "info": {"max_score": 106200, "score": 25, "wrong": 2, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 5, "timing": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 5, "duration": "wrong", "info": {"max_score": 106200, "score": 0, "wrong": 3, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 6, "timing": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 6, "duration": "wrong", "info": {"max_score": 106200, "score": -25, "wrong": 4, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 8, "timing": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 8, "duration": "wrong", "info": {"max_score": 106200, "score": -50, "wrong": 5, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 9, "timing": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 9, "duration": "wrong", "info": {"max_score": 106200, "score": -75, "wrong": 6, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "timing", "id": 10, "timing": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "duration", "id": 10, "duration": "wrong", "info": {"max_score": 106200, "score": -100, "wrong": 7, "missed": 0, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}, "game_id": "test"} +{"type": "end", "overallScore": -26625, "precision": 0.09, "score": {"max_score": 106200, "score": -26625, "wrong": 7, "missed": 1061, "perfect": 0, "great": 1, "good": 0, "current_streak": 0, "max_streak": 1}}