{"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": 21.5, "percentage": 21.5, "testcases": [{"id": 11398542, "title": "Structure Check", "description": null, "duration": 0.07460832595825195, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398543, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.21931838989257812, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398544, "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.2784862518310547, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398545, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Wconversion -Werror source_files.c -lm`\n", "duration": 0.7520465850830078, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398546, "title": "Makefile Checks", "description": null, "duration": 0.584688663482666, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398547, "title": "make all", "description": "Test target \"all\"", "duration": 0.27486109733581543, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398546}, {"id": 11398548, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.3098275661468506, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398546}, {"id": 11398549, "title": "backpack", "description": null, "duration": 5.570598125457764, "score": 3.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398550, "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.2162332534790039, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398549}, {"id": 11398551, "title": "Basic Tests for `add_item_to_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.19878268241882324, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398549}, {"id": 11398552, "title": "Basic Tests for `create_backpack()`", "description": "This is a basic functionality test.\n", "duration": 1.4060869216918945, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398549}, {"id": 11398553, "title": "Basic Tests for `create_backpack()` - unit test", "description": null, "duration": 0.1792433261871338, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398552}, {"id": 11398554, "title": "Basic Tests for `create_backpack()` - memory test", "description": null, "duration": 1.2268435955047607, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398552}, {"id": 11398555, "title": "Basic Tests for `delete_item_from_backpack()`", "description": "This is a basic functionality test.\n", "duration": 0.2088298797607422, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398549}, {"id": 11398556, "title": "Basic Tests for `delete_item_from_backpack()` - unit test", "description": null, "duration": 0.2088298797607422, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398555}, {"id": 11398557, "title": "Memory Test for `destroy_backpack()` - memory test", "description": null, "duration": 1.2147750854492188, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398549}, {"id": 11398558, "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.21665453910827637, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398549}, {"id": 11398559, "title": "Basic Tests for `get_item_from_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.24522829055786133, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398549}, {"id": 11398560, "title": "command", "description": null, "duration": 2.8205816745758057, "score": 1.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398561, "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.25855541229248047, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398560}, {"id": 11398562, "title": "Dry Run for `create_command()` - unit test", "description": null, "duration": 0.25855541229248047, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398561}, {"id": 11398563, "title": "Basic Tests for `create_command()`", "description": "This is a basic functionality test.\n", "duration": 0.2406167984008789, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398560}, {"id": 11398564, "title": "Basic Tests for `create_command()` - unit test", "description": null, "duration": 0.2406167984008789, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398563}, {"id": 11398565, "title": "Memory Test for `destroy_command()` - memory test", "description": null, "duration": 1.3693084716796875, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398560}, {"id": 11398566, "title": "container", "description": null, "duration": 5.4674694538116455, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398567, "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.565244436264038, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398566}, {"id": 11398568, "title": "Dry Run for `create_container()` - unit test", "description": null, "duration": 0.2523212432861328, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398567}, {"id": 11398569, "title": "Dry Run for `create_container()` - memory test", "description": null, "duration": 1.3129231929779053, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398567}, {"id": 11398570, "title": "Basic Tests for `create_container()`", "description": "This is a basic functionality test.\n", "duration": 0.25074005126953125, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398566}, {"id": 11398571, "title": "Basic Tests for `create_container()` - unit test", "description": null, "duration": 0.25074005126953125, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398570}, {"id": 11398572, "title": "Memory Test for `destroy_containers()` - memory test", "description": null, "duration": 1.3653779029846191, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398566}, {"id": 11398573, "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.2516181468963623, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398566}, {"id": 11398574, "title": "Basic Tests for `get_from_container_by_name()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2379772663116455, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398566}, {"id": 11398575, "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.2184615135192871, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398566}, {"id": 11398576, "title": "Dry Run for `remove_container()` - unit test", "description": null, "duration": 0.2184615135192871, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398575}, {"id": 11398577, "title": "Basic Tests for `remove_container()`", "description": "This is a basic functionality test.\n", "duration": 0.32662010192871094, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398566}, {"id": 11398578, "title": "Basic Tests for `remove_container()` - unit test", "description": null, "duration": 0.32662010192871094, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398577}, {"id": 11398579, "title": "game", "description": null, "duration": 2.6151790618896484, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398580, "title": "Basic Tests for `create_game()`", "description": "This is a basic functionality test.\n", "duration": 0.2771332263946533, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398579}, {"id": 11398581, "title": "Basic Tests for `create_game()` - unit test", "description": null, "duration": 0.2771332263946533, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398580}, {"id": 11398582, "title": "Memory Test for `destroy_game()` - memory test", "description": null, "duration": 1.2630743980407715, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398579}, {"id": 11398583, "title": "gameplay", "description": null, "duration": 2.281005382537842, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398584, "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.3759937286376953, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398583}, {"id": 11398585, "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.27910518646240234, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398583}, {"id": 11398586, "title": "Movement and State Tests for `execute_command()` - unit test", "description": null, "duration": 0.27910518646240234, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398585}, {"id": 11398587, "title": "item", "description": null, "duration": 5.481259346008301, "score": 5.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398588, "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.5266711711883545, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398587}, {"id": 11398589, "title": "Dry Run for `create_item()` - unit test", "description": null, "duration": 0.2671043872833252, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398588}, {"id": 11398590, "title": "Dry Run for `create_item()` - memory test", "description": null, "duration": 1.2595667839050293, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398588}, {"id": 11398591, "title": "Basic Tests for `create_item()`", "description": "This is a basic functionality test.\n", "duration": 1.6135454177856445, "score": 2.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398587}, {"id": 11398592, "title": "Basic Tests for `create_item()` - unit test", "description": null, "duration": 0.3423311710357666, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398591}, {"id": 11398593, "title": "Basic Tests for `create_item()` - memory test", "description": null, "duration": 1.271214246749878, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398591}, {"id": 11398594, "title": "Memory Test for `destroy_item()` - memory test", "description": null, "duration": 1.2893924713134766, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398587}, {"id": 11398595, "title": "parser", "description": null, "duration": 3.4559824466705322, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398596, "title": "Basic Tests for `create_parser()`", "description": "This is a basic functionality test.\n", "duration": 0.25466132164001465, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398595}, {"id": 11398597, "title": "Basic Tests for `create_parser()` - unit test", "description": null, "duration": 0.25466132164001465, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398596}, {"id": 11398598, "title": "All Required Commands Test for `create_parser()` - unit test", "description": "This test checks implementation of all required commands.\n", "duration": 0.2493455410003662, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398595}, {"id": 11398599, "title": "Memory Test for `destroy_parser()` - memory test", "description": null, "duration": 1.288679838180542, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398595}, {"id": 11398600, "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.31078529357910156, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398595}, {"id": 11398601, "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.28853917121887207, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398595}, {"id": 11398602, "title": "room", "description": null, "duration": 7.898158311843872, "score": 7.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398603, "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.25110745429992676, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398604, "title": "Basic Tests for `add_item_to_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.24313759803771973, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398605, "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.6857576370239258, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398606, "title": "Dry Run for `create_room()` - unit test", "description": null, "duration": 0.35787367820739746, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398605}, {"id": 11398607, "title": "Dry Run for `create_room()` - memory test", "description": null, "duration": 1.3278839588165283, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398605}, {"id": 11398608, "title": "Basic Tests for `create_room()`", "description": "This is a basic functionality test.\n", "duration": 1.6579208374023438, "score": 2.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398609, "title": "Basic Tests for `create_room()` - unit test", "description": null, "duration": 0.3484621047973633, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398608}, {"id": 11398610, "title": "Basic Tests for `create_room()` - memory test", "description": null, "duration": 1.3094587326049805, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398608}, {"id": 11398611, "title": "Basic Tests for `delete_item_from_room()`", "description": "This is a basic functionality test.\n", "duration": 0.36178040504455566, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398612, "title": "Basic Tests for `delete_item_from_room()` - unit test", "description": null, "duration": 0.36178040504455566, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398611}, {"id": 11398613, "title": "Memory test for `destroy_room()` - memory test", "description": null, "duration": 1.3987338542938232, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398614, "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.2712535858154297, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398615, "title": "Basic Tests for `get_item_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.28391456604003906, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398616, "title": "Basic Tests for `set_exits_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2711031436920166, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398602}, {"id": 11398617, "title": "world", "description": null, "duration": 3.8893280029296875, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": null}, {"id": 11398618, "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.2550320625305176, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398617}, {"id": 11398619, "title": "Basic Tests for `add_room_to_world()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.3121151924133301, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398617}, {"id": 11398620, "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.28786659240722656, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386600, "parent": 11398617}, {"id": 11398621, "title": "Dry Run for `create_world()` - unit test", "description": null, "duration": 0.28786659240722656, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398620}, {"id": 11398622, "title": "Memory Test for `destroy_world()` - memory test", "description": null, "duration": 1.2367937564849854, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398617}, {"id": 11398623, "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.2924008369445801, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398617}, {"id": 11398624, "title": "Basic Tests for `get_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.26061463356018066, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386600, "parent": 11398617}], "id": 386600, "resource_id": "d75f453c-bc40-4b53-931c-fd269fd9e216", "date_submitted": "2021-05-18T21:57:24Z", "date_evaluated": "2021-05-18T22:09:20.880Z", "max_score": 100.0}