fix: update the scorometer test and fix missed counter

This commit is contained in:
GitBluub
2023-05-25 15:36:18 +09:00
committed by Zoe Roux
parent 1fa8c7a560
commit b3369a158f
9 changed files with 159 additions and 158 deletions
+21 -21
View File
@@ -1,21 +1,21 @@
{"type": "timing", "id": 1, "timing": "great", "info": {"max_score": 1000, "score": 0, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 1, "duration": "perfect", "info": {"max_score": 1000, "score": 100, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 2, "timing": "great", "info": {"max_score": 1000, "score": 100, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 2, "duration": "perfect", "info": {"max_score": 1000, "score": 200, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 3, "timing": "great", "info": {"max_score": 1000, "score": 200, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 3, "duration": "perfect", "info": {"max_score": 1000, "score": 300, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 4, "timing": "great", "info": {"max_score": 1000, "score": 300, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 4, "duration": "perfect", "info": {"max_score": 1000, "score": 400, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 5, "timing": "great", "info": {"max_score": 1000, "score": 400, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 5, "duration": "perfect", "info": {"max_score": 1000, "score": 500, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 6, "timing": "great", "info": {"max_score": 1000, "score": 500, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 6, "duration": "perfect", "info": {"max_score": 1000, "score": 600, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 7, "timing": "great", "info": {"max_score": 1000, "score": 600, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 7, "duration": "perfect", "info": {"max_score": 1000, "score": 700, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 8, "timing": "great", "info": {"max_score": 1000, "score": 700, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 8, "duration": "perfect", "info": {"max_score": 1000, "score": 800, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 9, "timing": "great", "info": {"max_score": 1000, "score": 800, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 9, "duration": "perfect", "info": {"max_score": 1000, "score": 900, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "timing", "id": 10, "timing": "great", "info": {"max_score": 1000, "score": 900, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"type": "duration", "id": 10, "duration": "perfect", "info": {"max_score": 1000, "score": 1000, "missed": 0, "perfect": 0, "great": 0, "good": 0}}
{"overallScore": 1000, "score": {"missed": 0, "good": 0, "great": 0, "perfect": 0, "maxScore": 1000}}
{"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}}