{"problem": {"id": 1755, "resource_id": "prog.2021.adventure", "title": "Problem Set 5: Adventure"}, "student": {"id": 5609, "resource_id": "1DIYiK", "name": "Richard Dzurik", "email": "richard.dzurik@student.tuke.sk"}, "score": 25.5, "percentage": 25.5, "testcases": [{"id": 11401371, "title": "Structure Check", "description": null, "duration": 0.07542276382446289, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401372, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.1891927719116211, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401373, "title": "Static Code Analysis", "description": "Checks style of your code with `cppcheck` with following command:\n`cppcheck --enable=warning,performance,unusedFunction --error-exitcode=1 backpack.c command.c container.c game.c item.c parser.c room.c world.c main.c`\n", "duration": 0.3315596580505371, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401374, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Wconversion -Werror source_files.c -lm`\n", "duration": 0.7058970928192139, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401375, "title": "Makefile Checks", "description": null, "duration": 0.36316490173339844, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401376, "title": "make all", "description": "Test target \"all\"", "duration": 0.1882164478302002, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401375}, {"id": 11401377, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.17494845390319824, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401375}, {"id": 11401378, "title": "backpack", "description": null, "duration": 5.108535289764404, "score": 4.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401379, "title": "Dry Run for `add_item_to_backpack()` - unit test", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.1710350513458252, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401378}, {"id": 11401380, "title": "Basic Tests for `add_item_to_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18703889846801758, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401378}, {"id": 11401381, "title": "Basic Tests for `create_backpack()`", "description": "This is a basic functionality test.\n", "duration": 1.3738186359405518, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401378}, {"id": 11401382, "title": "Basic Tests for `create_backpack()` - unit test", "description": null, "duration": 0.2085576057434082, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401381}, {"id": 11401383, "title": "Basic Tests for `create_backpack()` - memory test", "description": null, "duration": 1.1652610301971436, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401381}, {"id": 11401384, "title": "Basic Tests for `delete_item_from_backpack()`", "description": "This is a basic functionality test.\n", "duration": 0.21109938621520996, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401378}, {"id": 11401385, "title": "Basic Tests for `delete_item_from_backpack()` - unit test", "description": null, "duration": 0.21109938621520996, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401384}, {"id": 11401386, "title": "Memory Test for `destroy_backpack()` - memory test", "description": null, "duration": 1.1073298454284668, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401378}, {"id": 11401387, "title": "Dry Run for `get_item_from_backpack()` - unit test", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.20255708694458008, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401378}, {"id": 11401388, "title": "Basic Tests for `get_item_from_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.19573473930358887, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401378}, {"id": 11401389, "title": "command", "description": null, "duration": 2.472257614135742, "score": 1.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401390, "title": "Dry Run for `create_command()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.21500039100646973, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401389}, {"id": 11401391, "title": "Dry Run for `create_command()` - unit test", "description": null, "duration": 0.21500039100646973, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401390}, {"id": 11401392, "title": "Basic Tests for `create_command()`", "description": "This is a basic functionality test.\n", "duration": 0.21392536163330078, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401389}, {"id": 11401393, "title": "Basic Tests for `create_command()` - unit test", "description": null, "duration": 0.21392536163330078, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401392}, {"id": 11401394, "title": "Memory Test for `destroy_command()` - memory test", "description": null, "duration": 1.283679485321045, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401389}, {"id": 11401395, "title": "container", "description": null, "duration": 4.805158376693726, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401396, "title": "Dry Run for `create_container()`", "description": "This is a standard dry run test. It checks the function  with dry params (usually with `NULL` or empty strings).\n", "duration": 1.4708280563354492, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401395}, {"id": 11401397, "title": "Dry Run for `create_container()` - unit test", "description": null, "duration": 0.20752692222595215, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401396}, {"id": 11401398, "title": "Dry Run for `create_container()` - memory test", "description": null, "duration": 1.263301134109497, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401396}, {"id": 11401399, "title": "Basic Tests for `create_container()`", "description": "This is a basic functionality test.\n", "duration": 0.25389695167541504, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401395}, {"id": 11401400, "title": "Basic Tests for `create_container()` - unit test", "description": null, "duration": 0.25389695167541504, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401399}, {"id": 11401401, "title": "Memory Test for `destroy_containers()` - memory test", "description": null, "duration": 1.2511088848114014, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401395}, {"id": 11401402, "title": "Dry Run for `get_from_container_by_name()` - unit test", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.18307232856750488, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401395}, {"id": 11401403, "title": "Basic Tests for `get_from_container_by_name()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.1948554515838623, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401395}, {"id": 11401404, "title": "Dry Run for `remove_container()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.20939421653747559, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401395}, {"id": 11401405, "title": "Dry Run for `remove_container()` - unit test", "description": null, "duration": 0.20939421653747559, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401404}, {"id": 11401406, "title": "Basic Tests for `remove_container()`", "description": "This is a basic functionality test.\n", "duration": 0.19574379920959473, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401395}, {"id": 11401407, "title": "Basic Tests for `remove_container()` - unit test", "description": null, "duration": 0.19574379920959473, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401406}, {"id": 11401408, "title": "game", "description": null, "duration": 2.450277090072632, "score": 1.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401409, "title": "Basic Tests for `create_game()`", "description": "This is a basic functionality test.\n", "duration": 0.1772150993347168, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401408}, {"id": 11401410, "title": "Basic Tests for `create_game()` - unit test", "description": null, "duration": 0.1772150993347168, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401409}, {"id": 11401411, "title": "Memory Test for `destroy_game()` - memory test", "description": null, "duration": 1.402214765548706, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401408}, {"id": 11401412, "title": "gameplay", "description": null, "duration": 1.5090217590332031, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401413, "title": "Check Number of Rooms and Items in the WORLD - unit test", "description": "This test counts rooms and items in rooms when world is created.\n", "duration": 0.18421220779418945, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401412}, {"id": 11401414, "title": "Movement and State Tests for `execute_command()`", "description": "This test suite tests movement between rooms and changing state of game after executing state-changing commands. This suite requires all modules implemented and functioning.\n", "duration": 0.18788743019104004, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401412}, {"id": 11401415, "title": "Movement and State Tests for `execute_command()` - unit test", "description": null, "duration": 0.18788743019104004, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401414}, {"id": 11401416, "title": "item", "description": null, "duration": 4.381622552871704, "score": 5.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401417, "title": "Dry Run for `create_item()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 1.2732868194580078, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401416}, {"id": 11401418, "title": "Dry Run for `create_item()` - unit test", "description": null, "duration": 0.17176079750061035, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401417}, {"id": 11401419, "title": "Dry Run for `create_item()` - memory test", "description": null, "duration": 1.1015260219573975, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401417}, {"id": 11401420, "title": "Basic Tests for `create_item()`", "description": "This is a basic functionality test.\n", "duration": 1.2545151710510254, "score": 2.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401416}, {"id": 11401421, "title": "Basic Tests for `create_item()` - unit test", "description": null, "duration": 0.16468191146850586, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401420}, {"id": 11401422, "title": "Basic Tests for `create_item()` - memory test", "description": null, "duration": 1.0898332595825195, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401420}, {"id": 11401423, "title": "Memory Test for `destroy_item()` - memory test", "description": null, "duration": 1.1238927841186523, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401416}, {"id": 11401424, "title": "parser", "description": null, "duration": 3.0893237590789795, "score": 1.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401425, "title": "Basic Tests for `create_parser()`", "description": "This is a basic functionality test.\n", "duration": 0.1911923885345459, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401424}, {"id": 11401426, "title": "Basic Tests for `create_parser()` - unit test", "description": null, "duration": 0.1911923885345459, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401425}, {"id": 11401427, "title": "All Required Commands Test for `create_parser()` - unit test", "description": "This test checks implementation of all required commands.\n", "duration": 0.18659615516662598, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401424}, {"id": 11401428, "title": "Memory Test for `destroy_parser()` - memory test", "description": null, "duration": 1.4131362438201904, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401424}, {"id": 11401429, "title": "Dry Run for `parse_input()` - unit test", "description": "This test requires `create_parser()` function implemented. This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.19698262214660645, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401424}, {"id": 11401430, "title": "Basic Tests for `parse_input()` - unit test", "description": "This test requires `create_parser()` function implemented. This is a basic functionality test.\n", "duration": 0.22171449661254883, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401424}, {"id": 11401431, "title": "room", "description": null, "duration": 6.134998083114624, "score": 7.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401432, "title": "Dry Run for `add_item_to_room()` - unit test", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.182936429977417, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401433, "title": "Basic Tests for `add_item_to_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.179152250289917, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401434, "title": "Dry Run for `create_room()`", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 1.28843092918396, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401435, "title": "Dry Run for `create_room()` - unit test", "description": null, "duration": 0.202423095703125, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401434}, {"id": 11401436, "title": "Dry Run for `create_room()` - memory test", "description": null, "duration": 1.086007833480835, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401434}, {"id": 11401437, "title": "Basic Tests for `create_room()`", "description": "This is a basic functionality test.\n", "duration": 1.4156723022460938, "score": 2.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401438, "title": "Basic Tests for `create_room()` - unit test", "description": null, "duration": 0.21979665756225586, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401437}, {"id": 11401439, "title": "Basic Tests for `create_room()` - memory test", "description": null, "duration": 1.195875644683838, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401437}, {"id": 11401440, "title": "Basic Tests for `delete_item_from_room()`", "description": "This is a basic functionality test.\n", "duration": 0.201507568359375, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401441, "title": "Basic Tests for `delete_item_from_room()` - unit test", "description": null, "duration": 0.201507568359375, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401440}, {"id": 11401442, "title": "Memory test for `destroy_room()` - memory test", "description": null, "duration": 1.0907602310180664, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401443, "title": "Dry Run for `get_item_from_room()` - unit test", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.19700288772583008, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401444, "title": "Basic Tests for `get_item_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.20841598510742188, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401445, "title": "Basic Tests for `set_exits_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.22002267837524414, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401431}, {"id": 11401446, "title": "world", "description": null, "duration": 3.06038761138916, "score": 1.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": null}, {"id": 11401447, "title": "Dry Run for `add_room_to_world()` - unit test", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.18429279327392578, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401446}, {"id": 11401448, "title": "Basic Tests for `add_room_to_world()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18270468711853027, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401446}, {"id": 11401449, "title": "Dry Run for `create_world()`", "description": "This test requires `add_room_to_world()` and `get_room()` functions implemented, if they are used. This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.19086933135986328, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386639, "parent": 11401446}, {"id": 11401450, "title": "Dry Run for `create_world()` - unit test", "description": null, "duration": 0.19086933135986328, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401449}, {"id": 11401451, "title": "Memory Test for `destroy_world()` - memory test", "description": null, "duration": 1.1202483177185059, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401446}, {"id": 11401452, "title": "Dry Run for `get_room()` - unit test", "description": "This is a standard dry run test. It checks the function with dry params (usually with `NULL` or empty strings).\n", "duration": 0.19893980026245117, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401446}, {"id": 11401453, "title": "Basic Tests for `get_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18621492385864258, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386639, "parent": 11401446}], "id": 386639, "resource_id": "447a738a-e1f6-4175-ba9a-f6e3cc68b359", "date_submitted": "2021-05-18T22:33:19Z", "date_evaluated": "2021-05-19T00:11:16.423Z", "max_score": 100.0}