{"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": 11258212, "title": "Structure Check", "description": null, "duration": 0.10960745811462402, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258213, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.15726828575134277, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258214, "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.2186119556427002, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258215, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Wconversion -Werror source_files.c -lm`\n", "duration": 0.6885502338409424, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258216, "title": "Makefile Checks", "description": null, "duration": 0.3602573871612549, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258217, "title": "make all", "description": "Test target \"all\"", "duration": 0.19785594940185547, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258216}, {"id": 11258218, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.16240143775939941, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258216}, {"id": 11258219, "title": "backpack", "description": null, "duration": 5.287036657333374, "score": 3.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258220, "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.17275547981262207, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258219}, {"id": 11258221, "title": "Basic Tests for `add_item_to_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.20355558395385742, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258219}, {"id": 11258222, "title": "Basic Tests for `create_backpack()`", "description": "This is a basic functionality test.\n", "duration": 1.4407308101654053, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258219}, {"id": 11258223, "title": "Basic Tests for `create_backpack()` - unit test", "description": null, "duration": 0.21985912322998047, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258222}, {"id": 11258224, "title": "Basic Tests for `create_backpack()` - memory test", "description": null, "duration": 1.2208716869354248, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258222}, {"id": 11258225, "title": "Basic Tests for `delete_item_from_backpack()`", "description": "This is a basic functionality test.\n", "duration": 0.23557376861572266, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258219}, {"id": 11258226, "title": "Basic Tests for `delete_item_from_backpack()` - unit test", "description": null, "duration": 0.23557376861572266, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258225}, {"id": 11258227, "title": "Memory Test for `destroy_backpack()` - memory test", "description": null, "duration": 1.240560531616211, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258219}, {"id": 11258228, "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.22400522232055664, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258219}, {"id": 11258229, "title": "Basic Tests for `get_item_from_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.19572162628173828, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258219}, {"id": 11258230, "title": "command", "description": null, "duration": 2.4523160457611084, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258231, "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.21452069282531738, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258230}, {"id": 11258232, "title": "Dry Run for `create_command()` - unit test", "description": null, "duration": 0.21452069282531738, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258231}, {"id": 11258233, "title": "Basic Tests for `create_command()`", "description": "This is a basic functionality test.\n", "duration": 0.22084760665893555, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258230}, {"id": 11258234, "title": "Basic Tests for `create_command()` - unit test", "description": null, "duration": 0.22084760665893555, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258233}, {"id": 11258235, "title": "Memory Test for `destroy_command()` - memory test", "description": null, "duration": 1.2047879695892334, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258230}, {"id": 11258236, "title": "container", "description": null, "duration": 4.061864376068115, "score": 1.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258237, "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.44664478302001953, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258236}, {"id": 11258238, "title": "Dry Run for `create_container()` - unit test", "description": null, "duration": 0.44664478302001953, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258237}, {"id": 11258239, "title": "Basic Tests for `create_container()`", "description": "This is a basic functionality test.\n", "duration": 0.39176225662231445, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258236}, {"id": 11258240, "title": "Basic Tests for `create_container()` - unit test", "description": null, "duration": 0.39176225662231445, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258239}, {"id": 11258241, "title": "Memory Test for `destroy_containers()` - memory test", "description": null, "duration": 1.2199585437774658, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258236}, {"id": 11258242, "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.23151540756225586, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258236}, {"id": 11258243, "title": "Basic Tests for `get_from_container_by_name()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.19403386116027832, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258236}, {"id": 11258244, "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.18274593353271484, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258236}, {"id": 11258245, "title": "Dry Run for `remove_container()` - unit test", "description": null, "duration": 0.18274593353271484, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258244}, {"id": 11258246, "title": "Basic Tests for `remove_container()`", "description": "This is a basic functionality test.\n", "duration": 0.1895160675048828, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258236}, {"id": 11258247, "title": "Basic Tests for `remove_container()` - unit test", "description": null, "duration": 0.1895160675048828, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258246}, {"id": 11258248, "title": "game", "description": null, "duration": 2.558819532394409, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258249, "title": "Basic Tests for `create_game()`", "description": "This is a basic functionality test.\n", "duration": 0.2952442169189453, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258248}, {"id": 11258250, "title": "Basic Tests for `create_game()` - unit test", "description": null, "duration": 0.2952442169189453, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258249}, {"id": 11258251, "title": "Memory Test for `destroy_game()` - memory test", "description": null, "duration": 1.2962265014648438, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258248}, {"id": 11258252, "title": "gameplay", "description": null, "duration": 1.7473397254943848, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258253, "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.2512516975402832, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258252}, {"id": 11258254, "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.2733724117279053, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258252}, {"id": 11258255, "title": "Movement and State Tests for `execute_command()` - unit test", "description": null, "duration": 0.2733724117279053, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258254}, {"id": 11258256, "title": "item", "description": null, "duration": 2.513749599456787, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258257, "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.23439335823059082, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258256}, {"id": 11258258, "title": "Dry Run for `create_item()` - unit test", "description": null, "duration": 0.23439335823059082, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258257}, {"id": 11258259, "title": "Basic Tests for `create_item()`", "description": "This is a basic functionality test.\n", "duration": 0.21403932571411133, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258256}, {"id": 11258260, "title": "Basic Tests for `create_item()` - unit test", "description": null, "duration": 0.21403932571411133, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258259}, {"id": 11258261, "title": "Memory Test for `destroy_item()` - memory test", "description": null, "duration": 1.1388499736785889, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258256}, {"id": 11258262, "title": "parser", "description": null, "duration": 3.2236504554748535, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258263, "title": "Basic Tests for `create_parser()`", "description": "This is a basic functionality test.\n", "duration": 0.24373698234558105, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258262}, {"id": 11258264, "title": "Basic Tests for `create_parser()` - unit test", "description": null, "duration": 0.24373698234558105, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258263}, {"id": 11258265, "title": "All Required Commands Test for `create_parser()` - unit test", "description": "This test checks implementation of all required commands.\n", "duration": 0.2206878662109375, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258262}, {"id": 11258266, "title": "Memory Test for `destroy_parser()` - memory test", "description": null, "duration": 1.275888442993164, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258262}, {"id": 11258267, "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.23994994163513184, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258262}, {"id": 11258268, "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.2178800106048584, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258262}, {"id": 11258269, "title": "room", "description": null, "duration": 5.254725456237793, "score": 4.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258270, "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.22486186027526855, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258271, "title": "Basic Tests for `add_item_to_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18384408950805664, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258272, "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.371656894683838, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258273, "title": "Dry Run for `create_room()` - unit test", "description": null, "duration": 0.18121051788330078, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258272}, {"id": 11258274, "title": "Dry Run for `create_room()` - memory test", "description": null, "duration": 1.190446376800537, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258272}, {"id": 11258275, "title": "Basic Tests for `create_room()`", "description": "This is a basic functionality test.\n", "duration": 0.4112362861633301, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258276, "title": "Basic Tests for `create_room()` - unit test", "description": null, "duration": 0.4112362861633301, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258275}, {"id": 11258277, "title": "Basic Tests for `delete_item_from_room()`", "description": "This is a basic functionality test.\n", "duration": 0.2017807960510254, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258278, "title": "Basic Tests for `delete_item_from_room()` - unit test", "description": null, "duration": 0.2017807960510254, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258277}, {"id": 11258279, "title": "Memory test for `destroy_room()` - memory test", "description": null, "duration": 1.103006362915039, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258280, "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.21131134033203125, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258281, "title": "Basic Tests for `get_item_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18925046920776367, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258282, "title": "Basic Tests for `set_exits_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.1699812412261963, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258269}, {"id": 11258283, "title": "world", "description": null, "duration": 3.0753519535064697, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": null}, {"id": 11258284, "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.19025349617004395, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258283}, {"id": 11258285, "title": "Basic Tests for `add_room_to_world()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18421435356140137, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258283}, {"id": 11258286, "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.21908950805664062, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 384207, "parent": 11258283}, {"id": 11258287, "title": "Dry Run for `create_world()` - unit test", "description": null, "duration": 0.21908950805664062, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258286}, {"id": 11258288, "title": "Memory Test for `destroy_world()` - memory test", "description": null, "duration": 1.1156647205352783, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258283}, {"id": 11258289, "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.2220923900604248, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258283}, {"id": 11258290, "title": "Basic Tests for `get_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.18781685829162598, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 384207, "parent": 11258283}], "id": 384207, "resource_id": "8265794e-bba6-4eea-af6c-e990b3604e33", "date_submitted": "2021-05-14T09:31:31Z", "date_evaluated": "2021-05-14T10:10:14.336Z", "max_score": 100.0}