{"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": 18.5, "percentage": 18.5, "testcases": [{"id": 11393269, "title": "Structure Check", "description": null, "duration": 0.0896446704864502, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393270, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.21197295188903809, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393271, "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.29582762718200684, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393272, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Wconversion -Werror source_files.c -lm`\n", "duration": 0.8999900817871094, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393273, "title": "Makefile Checks", "description": null, "duration": 0.5062322616577148, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393274, "title": "make all", "description": "Test target \"all\"", "duration": 0.2730565071105957, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393273}, {"id": 11393275, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.23317575454711914, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393273}, {"id": 11393276, "title": "backpack", "description": null, "duration": 6.577430248260498, "score": 3.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393277, "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.2619295120239258, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393276}, {"id": 11393278, "title": "Basic Tests for `add_item_to_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.30315113067626953, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393276}, {"id": 11393279, "title": "Basic Tests for `create_backpack()`", "description": "This is a basic functionality test.\n", "duration": 1.645787000656128, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393276}, {"id": 11393280, "title": "Basic Tests for `create_backpack()` - unit test", "description": null, "duration": 0.28407931327819824, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393279}, {"id": 11393281, "title": "Basic Tests for `create_backpack()` - memory test", "description": null, "duration": 1.3617076873779297, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393279}, {"id": 11393282, "title": "Basic Tests for `delete_item_from_backpack()`", "description": "This is a basic functionality test.\n", "duration": 0.3116936683654785, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393276}, {"id": 11393283, "title": "Basic Tests for `delete_item_from_backpack()` - unit test", "description": null, "duration": 0.3116936683654785, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393282}, {"id": 11393284, "title": "Memory Test for `destroy_backpack()` - memory test", "description": null, "duration": 1.3133373260498047, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393276}, {"id": 11393285, "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.28795385360717773, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393276}, {"id": 11393286, "title": "Basic Tests for `get_item_from_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.24240398406982422, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393276}, {"id": 11393287, "title": "command", "description": null, "duration": 3.0333218574523926, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393288, "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.26877689361572266, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393287}, {"id": 11393289, "title": "Dry Run for `create_command()` - unit test", "description": null, "duration": 0.26877689361572266, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393288}, {"id": 11393290, "title": "Basic Tests for `create_command()`", "description": "This is a basic functionality test.\n", "duration": 0.40164828300476074, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393287}, {"id": 11393291, "title": "Basic Tests for `create_command()` - unit test", "description": null, "duration": 0.40164828300476074, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393290}, {"id": 11393292, "title": "Memory Test for `destroy_command()` - memory test", "description": null, "duration": 1.299208641052246, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393287}, {"id": 11393293, "title": "container", "description": null, "duration": 5.9001524448394775, "score": 3.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393294, "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.7018537521362305, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393293}, {"id": 11393295, "title": "Dry Run for `create_container()` - unit test", "description": null, "duration": 0.2974853515625, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393294}, {"id": 11393296, "title": "Dry Run for `create_container()` - memory test", "description": null, "duration": 1.4043684005737305, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393294}, {"id": 11393297, "title": "Basic Tests for `create_container()`", "description": "This is a basic functionality test.\n", "duration": 0.28803491592407227, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393293}, {"id": 11393298, "title": "Basic Tests for `create_container()` - unit test", "description": null, "duration": 0.28803491592407227, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393297}, {"id": 11393299, "title": "Memory Test for `destroy_containers()` - memory test", "description": null, "duration": 1.364682674407959, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393293}, {"id": 11393300, "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.2620255947113037, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393293}, {"id": 11393301, "title": "Basic Tests for `get_from_container_by_name()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.24515461921691895, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393293}, {"id": 11393302, "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.338665246963501, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393293}, {"id": 11393303, "title": "Dry Run for `remove_container()` - unit test", "description": null, "duration": 0.338665246963501, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393302}, {"id": 11393304, "title": "Basic Tests for `remove_container()`", "description": "This is a basic functionality test.\n", "duration": 0.3852725028991699, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393293}, {"id": 11393305, "title": "Basic Tests for `remove_container()` - unit test", "description": null, "duration": 0.3852725028991699, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393304}, {"id": 11393306, "title": "game", "description": null, "duration": 2.8171072006225586, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393307, "title": "Basic Tests for `create_game()`", "description": "This is a basic functionality test.\n", "duration": 0.248704195022583, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393306}, {"id": 11393308, "title": "Basic Tests for `create_game()` - unit test", "description": null, "duration": 0.248704195022583, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393307}, {"id": 11393309, "title": "Memory Test for `destroy_game()` - memory test", "description": null, "duration": 1.4279701709747314, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393306}, {"id": 11393310, "title": "gameplay", "description": null, "duration": 2.0515685081481934, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393311, "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.2762477397918701, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393310}, {"id": 11393312, "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.22644925117492676, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393310}, {"id": 11393313, "title": "Movement and State Tests for `execute_command()` - unit test", "description": null, "duration": 0.22644925117492676, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393312}, {"id": 11393314, "title": "item", "description": null, "duration": 5.634535312652588, "score": 4.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393315, "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.6679997444152832, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393314}, {"id": 11393316, "title": "Dry Run for `create_item()` - unit test", "description": null, "duration": 0.2869992256164551, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393315}, {"id": 11393317, "title": "Dry Run for `create_item()` - memory test", "description": null, "duration": 1.3810005187988281, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393315}, {"id": 11393318, "title": "Basic Tests for `create_item()`", "description": "This is a basic functionality test.\n", "duration": 1.5765392780303955, "score": 2.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393314}, {"id": 11393319, "title": "Basic Tests for `create_item()` - unit test", "description": null, "duration": 0.3050048351287842, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393318}, {"id": 11393320, "title": "Basic Tests for `create_item()` - memory test", "description": null, "duration": 1.2715344429016113, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393318}, {"id": 11393321, "title": "Memory Test for `destroy_item()` - memory test", "description": null, "duration": 1.3387384414672852, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393314}, {"id": 11393322, "title": "parser", "description": null, "duration": 3.669481039047241, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393323, "title": "Basic Tests for `create_parser()`", "description": "This is a basic functionality test.\n", "duration": 0.3271312713623047, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393322}, {"id": 11393324, "title": "Basic Tests for `create_parser()` - unit test", "description": null, "duration": 0.3271312713623047, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393323}, {"id": 11393325, "title": "All Required Commands Test for `create_parser()` - unit test", "description": "This test checks implementation of all required commands.\n", "duration": 0.27057814598083496, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393322}, {"id": 11393326, "title": "Memory Test for `destroy_parser()` - memory test", "description": null, "duration": 1.2745006084442139, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393322}, {"id": 11393327, "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.3716549873352051, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393322}, {"id": 11393328, "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.2668263912200928, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393322}, {"id": 11393329, "title": "room", "description": null, "duration": 7.857507705688477, "score": 7.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393330, "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.21791887283325195, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393331, "title": "Basic Tests for `add_item_to_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2627229690551758, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393332, "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.6277365684509277, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393333, "title": "Dry Run for `create_room()` - unit test", "description": null, "duration": 0.2656886577606201, "score": 1.5, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393332}, {"id": 11393334, "title": "Dry Run for `create_room()` - memory test", "description": null, "duration": 1.3620479106903076, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393332}, {"id": 11393335, "title": "Basic Tests for `create_room()`", "description": "This is a basic functionality test.\n", "duration": 1.661945104598999, "score": 2.5, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393336, "title": "Basic Tests for `create_room()` - unit test", "description": null, "duration": 0.2999234199523926, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393335}, {"id": 11393337, "title": "Basic Tests for `create_room()` - memory test", "description": null, "duration": 1.3620216846466064, "score": 0.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393335}, {"id": 11393338, "title": "Basic Tests for `delete_item_from_room()`", "description": "This is a basic functionality test.\n", "duration": 0.306673526763916, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393339, "title": "Basic Tests for `delete_item_from_room()` - unit test", "description": null, "duration": 0.306673526763916, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393338}, {"id": 11393340, "title": "Memory test for `destroy_room()` - memory test", "description": null, "duration": 1.3930563926696777, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393341, "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.36298251152038574, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393342, "title": "Basic Tests for `get_item_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.32186174392700195, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393343, "title": "Basic Tests for `set_exits_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2578165531158447, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393329}, {"id": 11393344, "title": "world", "description": null, "duration": 3.7120094299316406, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": null}, {"id": 11393345, "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.2181389331817627, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393344}, {"id": 11393346, "title": "Basic Tests for `add_room_to_world()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.3107905387878418, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393344}, {"id": 11393347, "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.2550380229949951, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 386519, "parent": 11393344}, {"id": 11393348, "title": "Dry Run for `create_world()` - unit test", "description": null, "duration": 0.2550380229949951, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393347}, {"id": 11393349, "title": "Memory Test for `destroy_world()` - memory test", "description": null, "duration": 1.2724545001983643, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393344}, {"id": 11393350, "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.28641581535339355, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393344}, {"id": 11393351, "title": "Basic Tests for `get_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.265763521194458, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 386519, "parent": 11393344}], "id": 386519, "resource_id": "2d993502-47cc-4978-aa5d-194ed8ef41e8", "date_submitted": "2021-05-18T20:03:25Z", "date_evaluated": "2021-05-18T20:11:11.940Z", "max_score": 100.0}