{"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": 90.0, "percentage": 90.0, "testcases": [{"id": 10825521, "title": "Structure Check", "description": null, "duration": 0.044966936111450195, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 375887, "parent": null}, {"id": 10825522, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.18332409858703613, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": null}, {"id": 10825523, "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.2827138900756836, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": null}, {"id": 10825524, "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.5017633438110352, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": null}, {"id": 10825525, "title": "Makefile Checks", "description": null, "duration": 0.3630526065826416, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": null}, {"id": 10825526, "title": "make all", "description": "Test target \"all\"", "duration": 0.18750691413879395, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825525}, {"id": 10825527, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.17554569244384766, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825525}, {"id": 10825528, "title": "Module K", "description": null, "duration": 9.472411394119263, "score": 60.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": null}, {"id": 10825529, "title": "Basic Test of `is_game_won()`", "description": "Runs test case with basic tests of function `is_game_won()`.\n", "duration": 1.2062461376190186, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825528}, {"id": 10825530, "title": "Basic Test of `is_game_won()` - unit test", "description": null, "duration": 0.17678284645080566, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825529}, {"id": 10825531, "title": "Basic Test of `is_game_won()` - memory test", "description": null, "duration": 1.029463291168213, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825529}, {"id": 10825532, "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.3125619888305664, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825528}, {"id": 10825533, "title": "Random Board Test of `is_game_won()` - unit test", "description": null, "duration": 0.22316861152648926, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825532}, {"id": 10825534, "title": "Random Board Test of `is_game_won()` - memory test", "description": null, "duration": 1.0893933773040771, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825532}, {"id": 10825535, "title": "Basic Test of `is_move_possible()`", "description": "Runs test case with basic tests of function `is_move_possible()`.\n", "duration": 1.2352559566497803, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825528}, {"id": 10825536, "title": "Basic Test of `is_move_possible()` - unit test", "description": null, "duration": 0.20743179321289062, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825535}, {"id": 10825537, "title": "Basic Test of `is_move_possible()` - memory test", "description": null, "duration": 1.0278241634368896, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825535}, {"id": 10825538, "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.3494858741760254, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825528}, {"id": 10825539, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 0.2112274169921875, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825538}, {"id": 10825540, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 1.138258457183838, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825538}, {"id": 10825541, "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.4600348472595215, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825528}, {"id": 10825542, "title": "Input Values Test of `update()` - unit test", "description": null, "duration": 0.22481250762939453, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825541}, {"id": 10825543, "title": "Input Values Test of `update()` - memory test", "description": null, "duration": 1.235222339630127, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825541}, {"id": 10825544, "title": "Random Tests of `update()`", "description": null, "duration": 1.9573984146118164, "score": 20.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825528}, {"id": 10825545, "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.2199258804321289, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825544}, {"id": 10825546, "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.2388300895690918, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825544}, {"id": 10825547, "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.4986424446105957, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825544}, {"id": 10825548, "title": "Random Test of `update()` - Updated Board - unit test", "description": null, "duration": 0.21695685386657715, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825547}, {"id": 10825549, "title": "Random Test of `update()` - Updated Board - memory test", "description": null, "duration": 1.2816855907440186, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825547}, {"id": 10825550, "title": "Module HOF", "description": null, "duration": 8.8593008518219, "score": 30.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375887, "parent": null}, {"id": 10825551, "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.3028173446655273, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825550}, {"id": 10825552, "title": "Result Test of `add_player()` - unit test", "description": null, "duration": 0.2213437557220459, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825551}, {"id": 10825553, "title": "Result Test of `add_player()` - memory test", "description": null, "duration": 1.0814735889434814, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825551}, {"id": 10825554, "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.3124003410339355, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825550}, {"id": 10825555, "title": "Size Test of `add_player()` - unit test", "description": null, "duration": 0.2187356948852539, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825554}, {"id": 10825556, "title": "Size Test of `add_player()` - memory test", "description": null, "duration": 1.0936646461486816, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825554}, {"id": 10825557, "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": 0.20875334739685059, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825550}, {"id": 10825558, "title": "HOF Test of `add_player()` - unit test", "description": null, "duration": 0.20875334739685059, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825557}, {"id": 10825559, "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.2566678524017334, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825550}, {"id": 10825560, "title": "Empty or No File Test of `load()` - unit test", "description": null, "duration": 0.20404958724975586, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825559}, {"id": 10825561, "title": "Empty or No File Test of `load()` - memory test", "description": null, "duration": 1.0526182651519775, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825559}, {"id": 10825562, "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.3338661193847656, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825550}, {"id": 10825563, "title": "Size Test of `load()` - unit test", "description": null, "duration": 0.2127547264099121, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825562}, {"id": 10825564, "title": "Size Test of `load()` - memory test", "description": null, "duration": 1.1211113929748535, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825562}, {"id": 10825565, "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.286099910736084, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825550}, {"id": 10825566, "title": "HOF Test of `load()` - unit test", "description": null, "duration": 0.2145371437072754, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825565}, {"id": 10825567, "title": "HOF Test of `load()` - memory test", "description": null, "duration": 1.0715627670288086, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825565}, {"id": 10825568, "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.4514145851135254, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375887, "parent": 10825550}, {"id": 10825569, "title": "Basic Test of `save()` - unit test", "description": null, "duration": 0.23548579216003418, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825568}, {"id": 10825570, "title": "Basic Test of `save()` - memory test", "description": null, "duration": 1.2159287929534912, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375887, "parent": 10825568}], "id": 375887, "resource_id": "749b5baf-562b-496b-af42-b0b2524653b8", "date_submitted": "2021-04-13T11:56:00Z", "date_evaluated": "2021-04-13T12:12:45.893Z", "max_score": 100.0}