{"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": 6.5, "percentage": 6.5, "testcases": [{"id": 11242828, "title": "Structure Check", "description": null, "duration": 0.08253836631774902, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242829, "title": "Globals", "description": "Searching for global variables, usage of which is _forbidden_.\n", "duration": 0.1561594009399414, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242830, "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.30330562591552734, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242831, "title": "Compilation", "description": "Compiles your code with the following command:\n`gcc -std=c11 -Wall -Wconversion -Werror source_files.c -lm`\n", "duration": 0.6651730537414551, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242832, "title": "Makefile Checks", "description": null, "duration": 0.30174827575683594, "score": 0.0, "hint": null, "strict": true, "passed": true, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242833, "title": "make all", "description": "Test target \"all\"", "duration": 0.15629267692565918, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242832}, {"id": 11242834, "title": "make clean", "description": "Test target \"clean\"", "duration": 0.14545559883117676, "score": null, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242832}, {"id": 11242835, "title": "backpack", "description": null, "duration": 5.465650320053101, "score": 3.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242836, "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.18837857246398926, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242835}, {"id": 11242837, "title": "Basic Tests for `add_item_to_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2186415195465088, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242835}, {"id": 11242838, "title": "Basic Tests for `create_backpack()`", "description": "This is a basic functionality test.\n", "duration": 1.3771374225616455, "score": 3.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242835}, {"id": 11242839, "title": "Basic Tests for `create_backpack()` - unit test", "description": null, "duration": 0.19068670272827148, "score": 2.0, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242838}, {"id": 11242840, "title": "Basic Tests for `create_backpack()` - memory test", "description": null, "duration": 1.186450719833374, "score": 1.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242838}, {"id": 11242841, "title": "Basic Tests for `delete_item_from_backpack()`", "description": "This is a basic functionality test.\n", "duration": 0.2316727638244629, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242835}, {"id": 11242842, "title": "Basic Tests for `delete_item_from_backpack()` - unit test", "description": null, "duration": 0.2316727638244629, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242841}, {"id": 11242843, "title": "Memory Test for `destroy_backpack()` - memory test", "description": null, "duration": 1.1951699256896973, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242835}, {"id": 11242844, "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.21857976913452148, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242835}, {"id": 11242845, "title": "Basic Tests for `get_item_from_backpack()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2322859764099121, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242835}, {"id": 11242846, "title": "command", "description": null, "duration": 2.515986919403076, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242847, "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.2760639190673828, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242846}, {"id": 11242848, "title": "Dry Run for `create_command()` - unit test", "description": null, "duration": 0.2760639190673828, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242847}, {"id": 11242849, "title": "Basic Tests for `create_command()`", "description": "This is a basic functionality test.\n", "duration": 0.23537874221801758, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242846}, {"id": 11242850, "title": "Basic Tests for `create_command()` - unit test", "description": null, "duration": 0.23537874221801758, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242849}, {"id": 11242851, "title": "Memory Test for `destroy_command()` - memory test", "description": null, "duration": 1.2035162448883057, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242846}, {"id": 11242852, "title": "container", "description": null, "duration": 4.693000793457031, "score": 1.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242853, "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.44299983978271484, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242852}, {"id": 11242854, "title": "Dry Run for `create_container()` - unit test", "description": null, "duration": 0.44299983978271484, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242853}, {"id": 11242855, "title": "Basic Tests for `create_container()`", "description": "This is a basic functionality test.\n", "duration": 0.4346044063568115, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242852}, {"id": 11242856, "title": "Basic Tests for `create_container()` - unit test", "description": null, "duration": 0.4346044063568115, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242855}, {"id": 11242857, "title": "Memory Test for `destroy_containers()` - memory test", "description": null, "duration": 1.273984670639038, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242852}, {"id": 11242858, "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.2358691692352295, "score": 1.5, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242852}, {"id": 11242859, "title": "Basic Tests for `get_from_container_by_name()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2729227542877197, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242852}, {"id": 11242860, "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.336045503616333, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242852}, {"id": 11242861, "title": "Dry Run for `remove_container()` - unit test", "description": null, "duration": 0.336045503616333, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242860}, {"id": 11242862, "title": "Basic Tests for `remove_container()`", "description": "This is a basic functionality test.\n", "duration": 0.29885411262512207, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242852}, {"id": 11242863, "title": "Basic Tests for `remove_container()` - unit test", "description": null, "duration": 0.29885411262512207, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242862}, {"id": 11242864, "title": "game", "description": null, "duration": 2.6441354751586914, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242865, "title": "Basic Tests for `create_game()`", "description": "This is a basic functionality test.\n", "duration": 0.25647902488708496, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242864}, {"id": 11242866, "title": "Basic Tests for `create_game()` - unit test", "description": null, "duration": 0.25647902488708496, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242865}, {"id": 11242867, "title": "Memory Test for `destroy_game()` - memory test", "description": null, "duration": 1.2928814888000488, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242864}, {"id": 11242868, "title": "gameplay", "description": null, "duration": 2.094791889190674, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242869, "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.31620216369628906, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242868}, {"id": 11242870, "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.2941551208496094, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242868}, {"id": 11242871, "title": "Movement and State Tests for `execute_command()` - unit test", "description": null, "duration": 0.2941551208496094, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242870}, {"id": 11242872, "title": "item", "description": null, "duration": 2.726043701171875, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242873, "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.24088668823242188, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242872}, {"id": 11242874, "title": "Dry Run for `create_item()` - unit test", "description": null, "duration": 0.24088668823242188, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242873}, {"id": 11242875, "title": "Basic Tests for `create_item()`", "description": "This is a basic functionality test.\n", "duration": 0.2813282012939453, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242872}, {"id": 11242876, "title": "Basic Tests for `create_item()` - unit test", "description": null, "duration": 0.2813282012939453, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242875}, {"id": 11242877, "title": "Memory Test for `destroy_item()` - memory test", "description": null, "duration": 1.2118890285491943, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242872}, {"id": 11242878, "title": "parser", "description": null, "duration": 3.7378156185150146, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242879, "title": "Basic Tests for `create_parser()`", "description": "This is a basic functionality test.\n", "duration": 0.28500962257385254, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242878}, {"id": 11242880, "title": "Basic Tests for `create_parser()` - unit test", "description": null, "duration": 0.28500962257385254, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242879}, {"id": 11242881, "title": "All Required Commands Test for `create_parser()` - unit test", "description": "This test checks implementation of all required commands.\n", "duration": 0.2714834213256836, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242878}, {"id": 11242882, "title": "Memory Test for `destroy_parser()` - memory test", "description": null, "duration": 1.3750886917114258, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242878}, {"id": 11242883, "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.34211087226867676, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242878}, {"id": 11242884, "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.2838096618652344, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242878}, {"id": 11242885, "title": "room", "description": null, "duration": 5.524376153945923, "score": 2.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242886, "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.2910580635070801, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242887, "title": "Basic Tests for `add_item_to_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.3634488582611084, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242888, "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": 0.3068418502807617, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242889, "title": "Dry Run for `create_room()` - unit test", "description": null, "duration": 0.3068418502807617, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242888}, {"id": 11242890, "title": "Basic Tests for `create_room()`", "description": "This is a basic functionality test.\n", "duration": 0.587824821472168, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242891, "title": "Basic Tests for `create_room()` - unit test", "description": null, "duration": 0.587824821472168, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242890}, {"id": 11242892, "title": "Basic Tests for `delete_item_from_room()`", "description": "This is a basic functionality test.\n", "duration": 0.33238768577575684, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242893, "title": "Basic Tests for `delete_item_from_room()` - unit test", "description": null, "duration": 0.33238768577575684, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242892}, {"id": 11242894, "title": "Memory test for `destroy_room()` - memory test", "description": null, "duration": 1.1790835857391357, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242895, "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.32339024543762207, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242896, "title": "Basic Tests for `get_item_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.24167919158935547, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242897, "title": "Basic Tests for `set_exits_from_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.27555298805236816, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242885}, {"id": 11242898, "title": "world", "description": null, "duration": 4.055803298950195, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": null}, {"id": 11242899, "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.2530646324157715, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242898}, {"id": 11242900, "title": "Basic Tests for `add_room_to_world()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.38758325576782227, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242898}, {"id": 11242901, "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.24570131301879883, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 383973, "parent": 11242898}, {"id": 11242902, "title": "Dry Run for `create_world()` - unit test", "description": null, "duration": 0.24570131301879883, "score": 0.0, "hint": null, "strict": true, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242901}, {"id": 11242903, "title": "Memory Test for `destroy_world()` - memory test", "description": null, "duration": 1.3280959129333496, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242898}, {"id": 11242904, "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.28705573081970215, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242898}, {"id": 11242905, "title": "Basic Tests for `get_room()` - unit test", "description": "This is a basic functionality test.\n", "duration": 0.2951490879058838, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 383973, "parent": 11242898}], "id": 383973, "resource_id": "3e386725-46d0-4240-8f88-63dc47a2843a", "date_submitted": "2021-05-13T18:55:16Z", "date_evaluated": "2021-05-13T20:10:58.111Z", "max_score": 100.0}