{"problem": {"id": 1752, "resource_id": "prog.2021.k", "title": "Problem Set 3: K"}, "student": {"id": 5609, "resource_id": "1DIYiK", "name": "Richard Dzurik", "email": "richard.dzurik@student.tuke.sk"}, "score": 98.5, "percentage": 98.5, "testcases": [{"id": 10827235, "title": "Structure Check", "description": null, "duration": 0.049657583236694336, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 375946, "parent": null}, {"id": 10827236, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.16988587379455566, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": null}, {"id": 10827237, "title": "Static Code Analysis", "description": "Checks style of your code with `cppcheck` with following command:\n`cppcheck --enable=performance,unusedFunction --error-exitcode=1 k.c hof.c main.c ui.c`\n", "duration": 0.27785539627075195, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": null}, {"id": 10827238, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -c -std=c11 -Wall -Werror -Wconversion k.c hof.c -lm`\n", "duration": 0.4803626537322998, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": null}, {"id": 10827239, "title": "Makefile Checks", "description": null, "duration": 0.32900404930114746, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": null}, {"id": 10827240, "title": "make all", "description": "Test target \"all\"", "duration": 0.17620468139648438, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827239}, {"id": 10827241, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.15279936790466309, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827239}, {"id": 10827242, "title": "Module K", "description": null, "duration": 9.523198127746582, "score": 60.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": null}, {"id": 10827243, "title": "Basic Test of `is_game_won()`", "description": "Runs test case with basic tests of function `is_game_won()`.\n", "duration": 1.210834264755249, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827242}, {"id": 10827244, "title": "Basic Test of `is_game_won()` - unit test", "description": null, "duration": 0.184739351272583, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827243}, {"id": 10827245, "title": "Basic Test of `is_game_won()` - memory test", "description": null, "duration": 1.026094913482666, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827243}, {"id": 10827246, "title": "Random Board Test of `is_game_won()`", "description": "Runs test case with tests of function `is_game_won()` using random generated boards.\n", "duration": 1.317356824874878, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827242}, {"id": 10827247, "title": "Random Board Test of `is_game_won()` - unit test", "description": null, "duration": 0.21928143501281738, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827246}, {"id": 10827248, "title": "Random Board Test of `is_game_won()` - memory test", "description": null, "duration": 1.0980753898620605, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827246}, {"id": 10827249, "title": "Basic Test of `is_move_possible()`", "description": "Runs test case with basic tests of function `is_move_possible()`.\n", "duration": 1.318824052810669, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827242}, {"id": 10827250, "title": "Basic Test of `is_move_possible()` - unit test", "description": null, "duration": 0.19746899604797363, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827249}, {"id": 10827251, "title": "Basic Test of `is_move_possible()` - memory test", "description": null, "duration": 1.1213550567626953, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827249}, {"id": 10827252, "title": "Random Board Test of `is_move_possible()`", "description": "Runs test case with tests of function `is_move_possible()` using random generated boards.\n", "duration": 1.4017808437347412, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827242}, {"id": 10827253, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 0.2017045021057129, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827252}, {"id": 10827254, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 1.2000763416290283, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827252}, {"id": 10827255, "title": "Input Values Test of `update()`", "description": "Runs test case with input values tests of function `update()`. It checks only correctness of input parameters and if board changes when wrong parameters are given.\n", "duration": 1.433314323425293, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827242}, {"id": 10827256, "title": "Input Values Test of `update()` - unit test", "description": null, "duration": 0.20673894882202148, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827255}, {"id": 10827257, "title": "Input Values Test of `update()` - memory test", "description": null, "duration": 1.2265753746032715, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827255}, {"id": 10827258, "title": "Random Tests of `update()`", "description": null, "duration": 1.8830974102020264, "score": 20.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827242}, {"id": 10827259, "title": "Random Test of `update()` - Return Value", "description": "Runs test case with tests of `update()` function's\nreturn value using random generated boards.\n", "duration": 0.23484396934509277, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827258}, {"id": 10827260, "title": "Random Test of `update()` - Updated Score", "description": "Runs test case with tests of `update()` function using random\ngenerated boards, where updated score is checked.\n", "duration": 0.22516965866088867, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827258}, {"id": 10827261, "title": "Random Test of `update()` - Updated Board", "description": "Runs test case with tests of `update()` function using random\ngenerated boards, where updated board is checked.\n", "duration": 1.423083782196045, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827258}, {"id": 10827262, "title": "Random Test of `update()` - Updated Board - unit test", "description": null, "duration": 0.21619749069213867, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827261}, {"id": 10827263, "title": "Random Test of `update()` - Updated Board - memory test", "description": null, "duration": 1.2068862915039062, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827261}, {"id": 10827264, "title": "Module HOF", "description": null, "duration": 10.13550877571106, "score": 38.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375946, "parent": null}, {"id": 10827265, "title": "Result Test of `add_player()`", "description": "Runs test case with tests of function `add_player()`. This test checks only the result value after function is called.\n", "duration": 1.3386318683624268, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827264}, {"id": 10827266, "title": "Result Test of `add_player()` - unit test", "description": null, "duration": 0.17584896087646484, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827265}, {"id": 10827267, "title": "Result Test of `add_player()` - memory test", "description": null, "duration": 1.162782907485962, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827265}, {"id": 10827268, "title": "Size Test of `add_player()`", "description": "Runs test case with tests of function `add_player()`. This test checks only the size value after function is called.\n", "duration": 1.3862133026123047, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827264}, {"id": 10827269, "title": "Size Test of `add_player()` - unit test", "description": null, "duration": 0.2165212631225586, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827268}, {"id": 10827270, "title": "Size Test of `add_player()` - memory test", "description": null, "duration": 1.169692039489746, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827268}, {"id": 10827271, "title": "HOF Test of `add_player()`", "description": "Runs test case with tests of function `add_player()`. This test checks, if HoF is same as expected after function is called.\n", "duration": 1.3153479099273682, "score": 9.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827264}, {"id": 10827272, "title": "HOF Test of `add_player()` - unit test", "description": null, "duration": 0.17154741287231445, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827271}, {"id": 10827273, "title": "HOF Test of `add_player()` - memory test", "description": null, "duration": 1.1438004970550537, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827271}, {"id": 10827274, "title": "Empty or No File Test of `load()`", "description": "Runs test case with basic tests of function `load()`. This test checks only return value of function when score file is empty or does not exist.\n", "duration": 1.27183198928833, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827264}, {"id": 10827275, "title": "Empty or No File Test of `load()` - unit test", "description": null, "duration": 0.18494081497192383, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827274}, {"id": 10827276, "title": "Empty or No File Test of `load()` - memory test", "description": null, "duration": 1.0868911743164062, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827274}, {"id": 10827277, "title": "Size Test of `load()`", "description": "Runs test case with tests of function `load()`. This test checks, if returned size is same as expected after fuction is called.\n", "duration": 1.3187732696533203, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827264}, {"id": 10827278, "title": "Size Test of `load()` - unit test", "description": null, "duration": 0.178267240524292, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827277}, {"id": 10827279, "title": "Size Test of `load()` - memory test", "description": null, "duration": 1.1405060291290283, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827277}, {"id": 10827280, "title": "HOF Test of `load()`", "description": "Runs test case with tests of function `load()`. This test checks, if loaded HoF is same as expected after function is called.\n", "duration": 1.394308090209961, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827264}, {"id": 10827281, "title": "HOF Test of `load()` - unit test", "description": null, "duration": 0.20058321952819824, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827280}, {"id": 10827282, "title": "HOF Test of `load()` - memory test", "description": null, "duration": 1.1937248706817627, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827280}, {"id": 10827283, "title": "Basic Test of `save()`", "description": "Runs test case with tests of function `save()`. This test checks, if saved file has expected size and content.\n", "duration": 1.4001281261444092, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375946, "parent": 10827264}, {"id": 10827284, "title": "Basic Test of `save()` - unit test", "description": null, "duration": 0.17830824851989746, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827283}, {"id": 10827285, "title": "Basic Test of `save()` - memory test", "description": null, "duration": 1.2218198776245117, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375946, "parent": 10827283}], "id": 375946, "resource_id": "badeb3ee-3137-411d-9927-28e5bec448b9", "date_submitted": "2021-04-13T12:31:59Z", "date_evaluated": "2021-04-13T14:10:57.930Z", "max_score": 100.0}