{"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": 13.0, "percentage": 13.0, "testcases": [{"id": 11327736, "title": "Structure Check", "description": null, "duration": 0.11585545539855957, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327737, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.16953706741333008, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327738, "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.21630048751831055, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327739, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Wconversion -Werror source_files.c -lm`\n", "duration": 0.7861804962158203, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327740, "title": "Makefile Checks", "description": null, "duration": 0.31557703018188477, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327741, "title": "make all", "description": "Test target \"all\"", "duration": 0.15894293785095215, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327740}, {"id": 11327742, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.15663409233093262, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327740}, {"id": 11327743, "title": "backpack", "description": null, "duration": 5.581383943557739, "score": 3.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327744, "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.25521111488342285, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327743}, {"id": 11327745, "title": "Basic Tests for `add_item_to_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2363884449005127, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327743}, {"id": 11327746, "title": "Basic Tests for `create_backpack()`", "description": "This is a basic functionality test.\n", "duration": 1.4114794731140137, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327743}, {"id": 11327747, "title": "Basic Tests for `create_backpack()` - unit test", "description": null, "duration": 0.22542428970336914, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327746}, {"id": 11327748, "title": "Basic Tests for `create_backpack()` - memory test", "description": null, "duration": 1.1860551834106445, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327746}, {"id": 11327749, "title": "Basic Tests for `delete_item_from_backpack()`", "description": "This is a basic functionality test.\n", "duration": 0.21344208717346191, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327743}, {"id": 11327750, "title": "Basic Tests for `delete_item_from_backpack()` - unit test", "description": null, "duration": 0.21344208717346191, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327749}, {"id": 11327751, "title": "Memory Test for `destroy_backpack()` - memory test", "description": null, "duration": 1.2552735805511475, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327743}, {"id": 11327752, "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.22489333152770996, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327743}, {"id": 11327753, "title": "Basic Tests for `get_item_from_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.19957470893859863, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327743}, {"id": 11327754, "title": "command", "description": null, "duration": 2.536668300628662, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327755, "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.251453161239624, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327754}, {"id": 11327756, "title": "Dry Run for `create_command()` - unit test", "description": null, "duration": 0.251453161239624, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327755}, {"id": 11327757, "title": "Basic Tests for `create_command()`", "description": "This is a basic functionality test.\n", "duration": 0.2582733631134033, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327754}, {"id": 11327758, "title": "Basic Tests for `create_command()` - unit test", "description": null, "duration": 0.2582733631134033, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327757}, {"id": 11327759, "title": "Memory Test for `destroy_command()` - memory test", "description": null, "duration": 1.203930377960205, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327754}, {"id": 11327760, "title": "container", "description": null, "duration": 5.230190992355347, "score": 3.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327761, "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.557417631149292, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327760}, {"id": 11327762, "title": "Dry Run for `create_container()` - unit test", "description": null, "duration": 0.25161004066467285, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327761}, {"id": 11327763, "title": "Dry Run for `create_container()` - memory test", "description": null, "duration": 1.3058075904846191, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327761}, {"id": 11327764, "title": "Basic Tests for `create_container()`", "description": "This is a basic functionality test.\n", "duration": 0.20348334312438965, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327760}, {"id": 11327765, "title": "Basic Tests for `create_container()` - unit test", "description": null, "duration": 0.20348334312438965, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327764}, {"id": 11327766, "title": "Memory Test for `destroy_containers()` - memory test", "description": null, "duration": 1.3108389377593994, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327760}, {"id": 11327767, "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.3039207458496094, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327760}, {"id": 11327768, "title": "Basic Tests for `get_from_container_by_name()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.19066858291625977, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327760}, {"id": 11327769, "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.21334600448608398, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327760}, {"id": 11327770, "title": "Dry Run for `remove_container()` - unit test", "description": null, "duration": 0.21334600448608398, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327769}, {"id": 11327771, "title": "Basic Tests for `remove_container()`", "description": "This is a basic functionality test.\n", "duration": 0.1963944435119629, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327760}, {"id": 11327772, "title": "Basic Tests for `remove_container()` - unit test", "description": null, "duration": 0.1963944435119629, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327771}, {"id": 11327773, "title": "game", "description": null, "duration": 2.5058202743530273, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327774, "title": "Basic Tests for `create_game()`", "description": "This is a basic functionality test.\n", "duration": 0.22188615798950195, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327773}, {"id": 11327775, "title": "Basic Tests for `create_game()` - unit test", "description": null, "duration": 0.22188615798950195, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327774}, {"id": 11327776, "title": "Memory Test for `destroy_game()` - memory test", "description": null, "duration": 1.2418744564056396, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327773}, {"id": 11327777, "title": "gameplay", "description": null, "duration": 1.7558016777038574, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327778, "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.282987117767334, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327777}, {"id": 11327779, "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.24261760711669922, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327777}, {"id": 11327780, "title": "Movement and State Tests for `execute_command()` - unit test", "description": null, "duration": 0.24261760711669922, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327779}, {"id": 11327781, "title": "item", "description": null, "duration": 2.732398509979248, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327782, "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.2923445701599121, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327781}, {"id": 11327783, "title": "Dry Run for `create_item()` - unit test", "description": null, "duration": 0.2923445701599121, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327782}, {"id": 11327784, "title": "Basic Tests for `create_item()`", "description": "This is a basic functionality test.\n", "duration": 0.25375914573669434, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327781}, {"id": 11327785, "title": "Basic Tests for `create_item()` - unit test", "description": null, "duration": 0.25375914573669434, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327784}, {"id": 11327786, "title": "Memory Test for `destroy_item()` - memory test", "description": null, "duration": 1.1744334697723389, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327781}, {"id": 11327787, "title": "parser", "description": null, "duration": 3.451655387878418, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327788, "title": "Basic Tests for `create_parser()`", "description": "This is a basic functionality test.\n", "duration": 0.23627829551696777, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327787}, {"id": 11327789, "title": "Basic Tests for `create_parser()` - unit test", "description": null, "duration": 0.23627829551696777, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327788}, {"id": 11327790, "title": "All Required Commands Test for `create_parser()` - unit test", "description": "This test checks implementation of all required commands.\n", "duration": 0.2557339668273926, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327787}, {"id": 11327791, "title": "Memory Test for `destroy_parser()` - memory test", "description": null, "duration": 1.291400671005249, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327787}, {"id": 11327792, "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.30586838722229004, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327787}, {"id": 11327793, "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.2657299041748047, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327787}, {"id": 11327794, "title": "room", "description": null, "duration": 6.810882091522217, "score": 6.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327795, "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.21281123161315918, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327796, "title": "Basic Tests for `add_item_to_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.1924428939819336, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327797, "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.4957678318023682, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327798, "title": "Dry Run for `create_room()` - unit test", "description": null, "duration": 0.22948050498962402, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327797}, {"id": 11327799, "title": "Dry Run for `create_room()` - memory test", "description": null, "duration": 1.2662873268127441, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327797}, {"id": 11327800, "title": "Basic Tests for `create_room()`", "description": "This is a basic functionality test.\n", "duration": 1.525334119796753, "score": 2.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327801, "title": "Basic Tests for `create_room()` - unit test", "description": null, "duration": 0.2914416790008545, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327800}, {"id": 11327802, "title": "Basic Tests for `create_room()` - memory test", "description": null, "duration": 1.2338924407958984, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327800}, {"id": 11327803, "title": "Basic Tests for `delete_item_from_room()`", "description": "This is a basic functionality test.\n", "duration": 0.22130894660949707, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327804, "title": "Basic Tests for `delete_item_from_room()` - unit test", "description": null, "duration": 0.22130894660949707, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327803}, {"id": 11327805, "title": "Memory test for `destroy_room()` - memory test", "description": null, "duration": 1.152472734451294, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327806, "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.2227635383605957, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327807, "title": "Basic Tests for `get_item_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2086188793182373, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327808, "title": "Basic Tests for `set_exits_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.25054454803466797, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327794}, {"id": 11327809, "title": "world", "description": null, "duration": 3.236464738845825, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": null}, {"id": 11327810, "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.247389554977417, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327809}, {"id": 11327811, "title": "Basic Tests for `add_room_to_world()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.23012471199035645, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327809}, {"id": 11327812, "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.21478486061096191, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 385424, "parent": 11327809}, {"id": 11327813, "title": "Dry Run for `create_world()` - unit test", "description": null, "duration": 0.21478486061096191, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327812}, {"id": 11327814, "title": "Memory Test for `destroy_world()` - memory test", "description": null, "duration": 1.1152944564819336, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327809}, {"id": 11327815, "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.2081773281097412, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327809}, {"id": 11327816, "title": "Basic Tests for `get_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2065291404724121, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 385424, "parent": 11327809}], "id": 385424, "resource_id": "7feee879-1b7c-4ecc-87d1-ea2af7b722c2", "date_submitted": "2021-05-16T17:30:22Z", "date_evaluated": "2021-05-16T18:14:39.092Z", "max_score": 100.0}