{"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": 84.5, "percentage": 84.5, "testcases": [{"id": 10823801, "title": "Structure Check", "description": null, "duration": 0.05517911911010742, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 375835, "parent": null}, {"id": 10823802, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.15621590614318848, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": null}, {"id": 10823803, "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.2738833427429199, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": null}, {"id": 10823804, "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.4230983257293701, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": null}, {"id": 10823805, "title": "Makefile Checks", "description": null, "duration": 0.3460249900817871, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": null}, {"id": 10823806, "title": "make all", "description": "Test target \"all\"", "duration": 0.18141555786132812, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823805}, {"id": 10823807, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.16460943222045898, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823805}, {"id": 10823808, "title": "Module K", "description": null, "duration": 9.29700517654419, "score": 60.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": null}, {"id": 10823809, "title": "Basic Test of `is_game_won()`", "description": "Runs test case with basic tests of function `is_game_won()`.\n", "duration": 1.2170867919921875, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823808}, {"id": 10823810, "title": "Basic Test of `is_game_won()` - unit test", "description": null, "duration": 0.18764376640319824, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823809}, {"id": 10823811, "title": "Basic Test of `is_game_won()` - memory test", "description": null, "duration": 1.0294430255889893, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823809}, {"id": 10823812, "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.3498094081878662, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823808}, {"id": 10823813, "title": "Random Board Test of `is_game_won()` - unit test", "description": null, "duration": 0.21058154106140137, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823812}, {"id": 10823814, "title": "Random Board Test of `is_game_won()` - memory test", "description": null, "duration": 1.1392278671264648, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823812}, {"id": 10823815, "title": "Basic Test of `is_move_possible()`", "description": "Runs test case with basic tests of function `is_move_possible()`.\n", "duration": 1.2821731567382812, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823808}, {"id": 10823816, "title": "Basic Test of `is_move_possible()` - unit test", "description": null, "duration": 0.21917295455932617, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823815}, {"id": 10823817, "title": "Basic Test of `is_move_possible()` - memory test", "description": null, "duration": 1.063000202178955, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823815}, {"id": 10823818, "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.2874641418457031, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823808}, {"id": 10823819, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 0.20084071159362793, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823818}, {"id": 10823820, "title": "Random Board Test of `is_move_possible()` - unit test", "description": null, "duration": 1.0866234302520752, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823818}, {"id": 10823821, "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.3145184516906738, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823808}, {"id": 10823822, "title": "Input Values Test of `update()` - unit test", "description": null, "duration": 0.23123812675476074, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823821}, {"id": 10823823, "title": "Input Values Test of `update()` - memory test", "description": null, "duration": 1.083280324935913, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823821}, {"id": 10823824, "title": "Random Tests of `update()`", "description": null, "duration": 1.847254753112793, "score": 20.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823808}, {"id": 10823825, "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.21113324165344238, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823824}, {"id": 10823826, "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.22879242897033691, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823824}, {"id": 10823827, "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.4073290824890137, "score": 10.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823824}, {"id": 10823828, "title": "Random Test of `update()` - Updated Board - unit test", "description": null, "duration": 0.22975659370422363, "score": 9.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823827}, {"id": 10823829, "title": "Random Test of `update()` - Updated Board - memory test", "description": null, "duration": 1.17757248878479, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823827}, {"id": 10823830, "title": "Module HOF", "description": null, "duration": 8.26698923110962, "score": 24.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375835, "parent": null}, {"id": 10823831, "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.2105576992034912, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823830}, {"id": 10823832, "title": "Result Test of `add_player()` - unit test", "description": null, "duration": 0.2105576992034912, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823831}, {"id": 10823833, "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.483618974685669, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823830}, {"id": 10823834, "title": "Size Test of `add_player()` - unit test", "description": null, "duration": 0.2371678352355957, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823833}, {"id": 10823835, "title": "Size Test of `add_player()` - memory test", "description": null, "duration": 1.2464511394500732, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823833}, {"id": 10823836, "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.18114352226257324, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823830}, {"id": 10823837, "title": "HOF Test of `add_player()` - unit test", "description": null, "duration": 0.18114352226257324, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823836}, {"id": 10823838, "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.4143157005310059, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823830}, {"id": 10823839, "title": "Empty or No File Test of `load()` - unit test", "description": null, "duration": 0.23062348365783691, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823838}, {"id": 10823840, "title": "Empty or No File Test of `load()` - memory test", "description": null, "duration": 1.183692216873169, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823838}, {"id": 10823841, "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.3668978214263916, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823830}, {"id": 10823842, "title": "Size Test of `load()` - unit test", "description": null, "duration": 0.211897611618042, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823841}, {"id": 10823843, "title": "Size Test of `load()` - memory test", "description": null, "duration": 1.1550002098083496, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823841}, {"id": 10823844, "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.3585164546966553, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823830}, {"id": 10823845, "title": "HOF Test of `load()` - unit test", "description": null, "duration": 0.20435261726379395, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823844}, {"id": 10823846, "title": "HOF Test of `load()` - memory test", "description": null, "duration": 1.1541638374328613, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823844}, {"id": 10823847, "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.431473731994629, "score": 5.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 375835, "parent": 10823830}, {"id": 10823848, "title": "Basic Test of `save()` - unit test", "description": null, "duration": 0.20529437065124512, "score": 4.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823847}, {"id": 10823849, "title": "Basic Test of `save()` - memory test", "description": null, "duration": 1.2261793613433838, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 375835, "parent": 10823847}], "id": 375835, "resource_id": "42837b35-361c-407e-a889-508af5115641", "date_submitted": "2021-04-13T09:57:04Z", "date_evaluated": "2021-04-13T10:11:06.199Z", "max_score": 100.0}