{"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": 49.0, "percentage": 49.0, "testcases": [{"id": 10810756, "title": "Structure Check", "description": null, "duration": 0.04257321357727051, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 375459, "parent": null}, {"id": 10810757, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.1625673770904541, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": null}, {"id": 10810758, "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.26511311531066895, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": null}, {"id": 10810759, "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.3770632743835449, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": null}, {"id": 10810760, "title": "Makefile Checks", "description": null, "duration": 0.30823445320129395, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 375459, "parent": null}, {"id": 10810761, "title": "make all", "description": "Test target \"all\"", "duration": 0.14248132705688477, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810760}, {"id": 10810762, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.16575312614440918, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810760}, {"id": 10810763, "title": "Module K", "description": null, "duration": 5.969953536987305, "score": 24.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": null}, {"id": 10810764, "title": "Basic Test of `is_game_won()`", "description": "Runs test case with basic tests of function `is_game_won()`.\n", "duration": 1.4560940265655518, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810763}, {"id": 10810765, "title": "Basic Test of `is_game_won()` - unit test", "description": null, "duration": 0.17721962928771973, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810764}, {"id": 10810766, "title": "Basic Test of `is_game_won()` - memory test", "description": null, "duration": 1.278874397277832, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810764}, {"id": 10810767, "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.3074226379394531, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810763}, {"id": 10810768, "title": "Random Board Test of `is_game_won()` - unit test", "description": null, "duration": 0.19143176078796387, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810767}, {"id": 10810769, "title": "Random Board Test of `is_game_won()` - memory test", "description": null, "duration": 1.1159908771514893, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810767}, {"id": 10810770, "title": "Basic Test of `is_move_possible()`", "description": "Runs test case with basic tests of function `is_move_possible()`.\n", "duration": 1.3291347026824951, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810763}, {"id": 10810771, "title": "Basic Test of `is_move_possible()` - unit test", "description": null, "duration": 0.19310283660888672, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810770}, {"id": 10810772, "title": "Basic Test of `is_move_possible()` - memory test", "description": null, "duration": 1.1360318660736084, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810770}, {"id": 10810773, "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": 0.1751844882965088, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810763}, {"id": 10810774, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 0.1751844882965088, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810773}, {"id": 10810775, "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": 0.18983125686645508, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810763}, {"id": 10810776, "title": "Input Values Test of `update()` - unit test", "description": null, "duration": 0.18983125686645508, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810775}, {"id": 10810777, "title": "Random Tests of `update()`", "description": null, "duration": 0.5325186252593994, "score": 5.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810763}, {"id": 10810778, "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.18248748779296875, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810777}, {"id": 10810779, "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.16549015045166016, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810777}, {"id": 10810780, "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.1845409870147705, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810777}, {"id": 10810781, "title": "Random Test of `update()` - Updated Board - unit test", "description": null, "duration": 0.1845409870147705, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810780}, {"id": 10810782, "title": "Module HOF", "description": null, "duration": 8.025670289993286, "score": 24.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": null}, {"id": 10810783, "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.3475449085235596, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810782}, {"id": 10810784, "title": "Result Test of `add_player()` - unit test", "description": null, "duration": 0.19112825393676758, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810783}, {"id": 10810785, "title": "Result Test of `add_player()` - memory test", "description": null, "duration": 1.156416654586792, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810783}, {"id": 10810786, "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.179534912109375, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810782}, {"id": 10810787, "title": "Size Test of `add_player()` - unit test", "description": null, "duration": 0.179534912109375, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810786}, {"id": 10810788, "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.14652609825134277, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810782}, {"id": 10810789, "title": "HOF Test of `add_player()` - unit test", "description": null, "duration": 0.14652609825134277, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810788}, {"id": 10810790, "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.2732694149017334, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810782}, {"id": 10810791, "title": "Empty or No File Test of `load()` - unit test", "description": null, "duration": 0.19433975219726562, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810790}, {"id": 10810792, "title": "Empty or No File Test of `load()` - memory test", "description": null, "duration": 1.0789296627044678, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810790}, {"id": 10810793, "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.2410216331481934, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810782}, {"id": 10810794, "title": "Size Test of `load()` - unit test", "description": null, "duration": 0.19568467140197754, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810793}, {"id": 10810795, "title": "Size Test of `load()` - memory test", "description": null, "duration": 1.0453369617462158, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810793}, {"id": 10810796, "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.6515257358551025, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810782}, {"id": 10810797, "title": "HOF Test of `load()` - unit test", "description": null, "duration": 0.2198173999786377, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810796}, {"id": 10810798, "title": "HOF Test of `load()` - memory test", "description": null, "duration": 1.4317083358764648, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810796}, {"id": 10810799, "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.491072177886963, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375459, "parent": 10810782}, {"id": 10810800, "title": "Basic Test of `save()` - unit test", "description": null, "duration": 0.23138117790222168, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810799}, {"id": 10810801, "title": "Basic Test of `save()` - memory test", "description": null, "duration": 1.2596909999847412, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375459, "parent": 10810799}], "id": 375459, "resource_id": "e95bf973-73c2-41d7-be6a-8f66f788e516", "date_submitted": "2021-04-12T10:08:57Z", "date_evaluated": "2021-04-12T10:10:38.747Z", "max_score": 100.0}