{"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": 8.5, "percentage": 8.5, "testcases": [{"id": 11261411, "title": "Structure Check", "description": null, "duration": 0.0761418342590332, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261412, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.1614234447479248, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261413, "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.22075915336608887, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261414, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Wconversion -Werror source_files.c -lm`\n", "duration": 0.7892661094665527, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261415, "title": "Makefile Checks", "description": null, "duration": 0.4119138717651367, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261416, "title": "make all", "description": "Test target \"all\"", "duration": 0.20899152755737305, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261415}, {"id": 11261417, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.20292234420776367, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261415}, {"id": 11261418, "title": "backpack", "description": null, "duration": 5.251411199569702, "score": 3.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261419, "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.240187406539917, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261418}, {"id": 11261420, "title": "Basic Tests for `add_item_to_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.20209574699401855, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261418}, {"id": 11261421, "title": "Basic Tests for `create_backpack()`", "description": "This is a basic functionality test.\n", "duration": 1.398287296295166, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261418}, {"id": 11261422, "title": "Basic Tests for `create_backpack()` - unit test", "description": null, "duration": 0.20132756233215332, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261421}, {"id": 11261423, "title": "Basic Tests for `create_backpack()` - memory test", "description": null, "duration": 1.1969597339630127, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261421}, {"id": 11261424, "title": "Basic Tests for `delete_item_from_backpack()`", "description": "This is a basic functionality test.\n", "duration": 0.20562505722045898, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261418}, {"id": 11261425, "title": "Basic Tests for `delete_item_from_backpack()` - unit test", "description": null, "duration": 0.20562505722045898, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261424}, {"id": 11261426, "title": "Memory Test for `destroy_backpack()` - memory test", "description": null, "duration": 1.1867949962615967, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261418}, {"id": 11261427, "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.19678854942321777, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261418}, {"id": 11261428, "title": "Basic Tests for `get_item_from_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.19798040390014648, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261418}, {"id": 11261429, "title": "command", "description": null, "duration": 2.500983953475952, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261430, "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.18451166152954102, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261429}, {"id": 11261431, "title": "Dry Run for `create_command()` - unit test", "description": null, "duration": 0.18451166152954102, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261430}, {"id": 11261432, "title": "Basic Tests for `create_command()`", "description": "This is a basic functionality test.\n", "duration": 0.20582795143127441, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261429}, {"id": 11261433, "title": "Basic Tests for `create_command()` - unit test", "description": null, "duration": 0.20582795143127441, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261432}, {"id": 11261434, "title": "Memory Test for `destroy_command()` - memory test", "description": null, "duration": 1.3090314865112305, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261429}, {"id": 11261435, "title": "container", "description": null, "duration": 3.9594316482543945, "score": 1.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261436, "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": 0.435791015625, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261435}, {"id": 11261437, "title": "Dry Run for `create_container()` - unit test", "description": null, "duration": 0.435791015625, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261436}, {"id": 11261438, "title": "Basic Tests for `create_container()`", "description": "This is a basic functionality test.\n", "duration": 0.43433594703674316, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261435}, {"id": 11261439, "title": "Basic Tests for `create_container()` - unit test", "description": null, "duration": 0.43433594703674316, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261438}, {"id": 11261440, "title": "Memory Test for `destroy_containers()` - memory test", "description": null, "duration": 1.2561097145080566, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261435}, {"id": 11261441, "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.2118227481842041, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261435}, {"id": 11261442, "title": "Basic Tests for `get_from_container_by_name()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.17743301391601562, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261435}, {"id": 11261443, "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.18361234664916992, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261435}, {"id": 11261444, "title": "Dry Run for `remove_container()` - unit test", "description": null, "duration": 0.18361234664916992, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261443}, {"id": 11261445, "title": "Basic Tests for `remove_container()`", "description": "This is a basic functionality test.\n", "duration": 0.19365286827087402, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261435}, {"id": 11261446, "title": "Basic Tests for `remove_container()` - unit test", "description": null, "duration": 0.19365286827087402, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261445}, {"id": 11261447, "title": "game", "description": null, "duration": 2.2310566902160645, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261448, "title": "Basic Tests for `create_game()`", "description": "This is a basic functionality test.\n", "duration": 0.2058393955230713, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261447}, {"id": 11261449, "title": "Basic Tests for `create_game()` - unit test", "description": null, "duration": 0.2058393955230713, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261448}, {"id": 11261450, "title": "Memory Test for `destroy_game()` - memory test", "description": null, "duration": 1.1782844066619873, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261447}, {"id": 11261451, "title": "gameplay", "description": null, "duration": 1.4800612926483154, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261452, "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.19983935356140137, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261451}, {"id": 11261453, "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.1840991973876953, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261451}, {"id": 11261454, "title": "Movement and State Tests for `execute_command()` - unit test", "description": null, "duration": 0.1840991973876953, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261453}, {"id": 11261455, "title": "item", "description": null, "duration": 2.2713429927825928, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261456, "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": 0.19523835182189941, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261455}, {"id": 11261457, "title": "Dry Run for `create_item()` - unit test", "description": null, "duration": 0.19523835182189941, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261456}, {"id": 11261458, "title": "Basic Tests for `create_item()`", "description": "This is a basic functionality test.\n", "duration": 0.18769073486328125, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261455}, {"id": 11261459, "title": "Basic Tests for `create_item()` - unit test", "description": null, "duration": 0.18769073486328125, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261458}, {"id": 11261460, "title": "Memory Test for `destroy_item()` - memory test", "description": null, "duration": 1.1158421039581299, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261455}, {"id": 11261461, "title": "parser", "description": null, "duration": 2.7776124477386475, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261462, "title": "Basic Tests for `create_parser()`", "description": "This is a basic functionality test.\n", "duration": 0.18718433380126953, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261461}, {"id": 11261463, "title": "Basic Tests for `create_parser()` - unit test", "description": null, "duration": 0.18718433380126953, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261462}, {"id": 11261464, "title": "All Required Commands Test for `create_parser()` - unit test", "description": "This test checks implementation of all required commands.\n", "duration": 0.17545652389526367, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261461}, {"id": 11261465, "title": "Memory Test for `destroy_parser()` - memory test", "description": null, "duration": 1.1352670192718506, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261461}, {"id": 11261466, "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.21282291412353516, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261461}, {"id": 11261467, "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.1779799461364746, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261461}, {"id": 11261468, "title": "room", "description": null, "duration": 5.097913980484009, "score": 4.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261469, "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.182234525680542, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261470, "title": "Basic Tests for `add_item_to_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.1863548755645752, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261471, "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.3737573623657227, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261472, "title": "Dry Run for `create_room()` - unit test", "description": null, "duration": 0.1948552131652832, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261471}, {"id": 11261473, "title": "Dry Run for `create_room()` - memory test", "description": null, "duration": 1.1789021492004395, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261471}, {"id": 11261474, "title": "Basic Tests for `create_room()`", "description": "This is a basic functionality test.\n", "duration": 0.39098620414733887, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261475, "title": "Basic Tests for `create_room()` - unit test", "description": null, "duration": 0.39098620414733887, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261474}, {"id": 11261476, "title": "Basic Tests for `delete_item_from_room()`", "description": "This is a basic functionality test.\n", "duration": 0.24178838729858398, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261477, "title": "Basic Tests for `delete_item_from_room()` - unit test", "description": null, "duration": 0.24178838729858398, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261476}, {"id": 11261478, "title": "Memory test for `destroy_room()` - memory test", "description": null, "duration": 1.1038501262664795, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261479, "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.18921756744384766, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261480, "title": "Basic Tests for `get_item_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18149042129516602, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261481, "title": "Basic Tests for `set_exits_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.1726233959197998, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261468}, {"id": 11261482, "title": "world", "description": null, "duration": 2.985515832901001, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": null}, {"id": 11261483, "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.18670034408569336, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261482}, {"id": 11261484, "title": "Basic Tests for `add_room_to_world()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.16911840438842773, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261482}, {"id": 11261485, "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.21392512321472168, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384253, "parent": 11261482}, {"id": 11261486, "title": "Dry Run for `create_world()` - unit test", "description": null, "duration": 0.21392512321472168, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261485}, {"id": 11261487, "title": "Memory Test for `destroy_world()` - memory test", "description": null, "duration": 1.073986530303955, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261482}, {"id": 11261488, "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.23312759399414062, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261482}, {"id": 11261489, "title": "Basic Tests for `get_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.1816568374633789, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384253, "parent": 11261482}], "id": 384253, "resource_id": "7ddc6954-80e8-4e24-8fa7-71080f59f37c", "date_submitted": "2021-05-14T11:02:42Z", "date_evaluated": "2021-05-14T12:11:11.544Z", "max_score": 100.0}