{"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": 63.5, "percentage": 63.5, "testcases": [{"id": 10817580, "title": "Structure Check", "description": null, "duration": 0.054499149322509766, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 375662, "parent": null}, {"id": 10817581, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.19496965408325195, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": null}, {"id": 10817582, "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.30782437324523926, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": null}, {"id": 10817583, "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.5341119766235352, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": null}, {"id": 10817584, "title": "Makefile Checks", "description": null, "duration": 0.3903474807739258, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": null}, {"id": 10817585, "title": "make all", "description": "Test target \"all\"", "duration": 0.18500137329101562, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817584}, {"id": 10817586, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.20534610748291016, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817584}, {"id": 10817587, "title": "Module K", "description": null, "duration": 8.625691175460815, "score": 43.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": null}, {"id": 10817588, "title": "Basic Test of `is_game_won()`", "description": "Runs test case with basic tests of function `is_game_won()`.\n", "duration": 1.373291015625, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817587}, {"id": 10817589, "title": "Basic Test of `is_game_won()` - unit test", "description": null, "duration": 0.24376249313354492, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817588}, {"id": 10817590, "title": "Basic Test of `is_game_won()` - memory test", "description": null, "duration": 1.129528522491455, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817588}, {"id": 10817591, "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.3287146091461182, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817587}, {"id": 10817592, "title": "Random Board Test of `is_game_won()` - unit test", "description": null, "duration": 0.23148298263549805, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817591}, {"id": 10817593, "title": "Random Board Test of `is_game_won()` - memory test", "description": null, "duration": 1.0972316265106201, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817591}, {"id": 10817594, "title": "Basic Test of `is_move_possible()`", "description": "Runs test case with basic tests of function `is_move_possible()`.\n", "duration": 1.3285739421844482, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817587}, {"id": 10817595, "title": "Basic Test of `is_move_possible()` - unit test", "description": null, "duration": 0.24369335174560547, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817594}, {"id": 10817596, "title": "Basic Test of `is_move_possible()` - memory test", "description": null, "duration": 1.0848805904388428, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817594}, {"id": 10817597, "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.3765411376953125, "score": 9.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817587}, {"id": 10817598, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 0.22350859642028809, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817597}, {"id": 10817599, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 1.1530325412750244, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817597}, {"id": 10817600, "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.354856014251709, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817587}, {"id": 10817601, "title": "Input Values Test of `update()` - unit test", "description": null, "duration": 0.2185680866241455, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817600}, {"id": 10817602, "title": "Input Values Test of `update()` - memory test", "description": null, "duration": 1.1362879276275635, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817600}, {"id": 10817603, "title": "Random Tests of `update()`", "description": null, "duration": 0.6838524341583252, "score": 5.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817587}, {"id": 10817604, "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.23104238510131836, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817603}, {"id": 10817605, "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.2235393524169922, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817603}, {"id": 10817606, "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": 0.22927069664001465, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817603}, {"id": 10817607, "title": "Random Test of `update()` - Updated Board - unit test", "description": null, "duration": 0.22927069664001465, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817606}, {"id": 10817608, "title": "Module HOF", "description": null, "duration": 7.041457891464233, "score": 20.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": null}, {"id": 10817609, "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": 0.23714160919189453, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817608}, {"id": 10817610, "title": "Result Test of `add_player()` - unit test", "description": null, "duration": 0.23714160919189453, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817609}, {"id": 10817611, "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": 0.24741816520690918, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817608}, {"id": 10817612, "title": "Size Test of `add_player()` - unit test", "description": null, "duration": 0.24741816520690918, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817611}, {"id": 10817613, "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.20539164543151855, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817608}, {"id": 10817614, "title": "HOF Test of `add_player()` - unit test", "description": null, "duration": 0.20539164543151855, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817613}, {"id": 10817615, "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.3800928592681885, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817608}, {"id": 10817616, "title": "Empty or No File Test of `load()` - unit test", "description": null, "duration": 0.25040602684020996, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817615}, {"id": 10817617, "title": "Empty or No File Test of `load()` - memory test", "description": null, "duration": 1.1296868324279785, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817615}, {"id": 10817618, "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.3531510829925537, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817608}, {"id": 10817619, "title": "Size Test of `load()` - unit test", "description": null, "duration": 0.21097373962402344, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817618}, {"id": 10817620, "title": "Size Test of `load()` - memory test", "description": null, "duration": 1.1421773433685303, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817618}, {"id": 10817621, "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.376110315322876, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817608}, {"id": 10817622, "title": "HOF Test of `load()` - unit test", "description": null, "duration": 0.22881531715393066, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817621}, {"id": 10817623, "title": "HOF Test of `load()` - memory test", "description": null, "duration": 1.1472949981689453, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817621}, {"id": 10817624, "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.3297951221466064, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375662, "parent": 10817608}, {"id": 10817625, "title": "Basic Test of `save()` - unit test", "description": null, "duration": 0.2243359088897705, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817624}, {"id": 10817626, "title": "Basic Test of `save()` - memory test", "description": null, "duration": 1.105459213256836, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375662, "parent": 10817624}], "id": 375662, "resource_id": "a6c302e4-b9d4-4d0e-89da-2ab250be5de7", "date_submitted": "2021-04-12T19:48:10Z", "date_evaluated": "2021-04-12T20:14:18.649Z", "max_score": 100.0}