{"problem": {"id": 1741, "resource_id": "zap.2020.files", "title": "Files"}, "student": {"id": 5609, "resource_id": "1DIYiK", "name": "Richard Dzurik", "email": "richard.dzurik@student.tuke.sk"}, "score": 4.25, "percentage": 38.63636363636363, "testcases": [{"id": 9374503, "title": "Structure Check", "description": null, "duration": 0.04368853569030762, "score": null, "hint": null, "strict": true, "passed": true, "type": "ws", "render": "normal", "submission": 351680, "parent": null}, {"id": 9374504, "title": "Count Words", "description": null, "duration": 1.7383880615234375, "score": 3.5, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 351680, "parent": null}, {"id": 9374505, "title": "Global variables", "description": "Code should not contain any global variables. The output of this test needs to be empty.\n", "duration": 0.11389470100402832, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374504}, {"id": 9374506, "title": "Compilation", "description": "Compiles your code with `gcc` with standard `c11` and flags `-Wall -Werror`. The only allowed functions are the following 4 (from `stdio.h`):\n\n- `fopen()`\n- `fclose()`\n- `fgetc()`\n- `fputc()`\n\nAny other library functions in your code will cause the compilation to fail.\n", "duration": 0.14183783531188965, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374504}, {"id": 9374507, "title": "Empty file test", "description": null, "duration": 0.2799956798553467, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374504}, {"id": 9374508, "title": "Generate empty file", "description": null, "duration": 0.07739663124084473, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374507}, {"id": 9374509, "title": "Run", "description": "Runs your program with name of an empty file as its command line argument.\n", "duration": 0.09798502922058105, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374507}, {"id": 9374510, "title": "Evaluate file content", "description": "Expected word count is 0.\n", "duration": 0.1046140193939209, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374507}, {"id": 9374511, "title": "Random file without hidden word", "description": null, "duration": 0.35205912590026855, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374504}, {"id": 9374512, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.15535950660705566, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374511}, {"id": 9374513, "title": "Run", "description": null, "duration": 0.10532307624816895, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374511}, {"id": 9374514, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.09137654304504395, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374511}, {"id": 9374515, "title": "Random file 1", "description": null, "duration": 0.2963097095489502, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374504}, {"id": 9374516, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.13811206817626953, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374515}, {"id": 9374517, "title": "Run", "description": null, "duration": 0.07946515083312988, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374515}, {"id": 9374518, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.07873249053955078, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374515}, {"id": 9374519, "title": "Random file 2", "description": null, "duration": 0.2967257499694824, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374504}, {"id": 9374520, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.13970041275024414, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374519}, {"id": 9374521, "title": "Run", "description": null, "duration": 0.08013629913330078, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374519}, {"id": 9374522, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.0768890380859375, "score": 2.0, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374519}, {"id": 9374523, "title": "Every Second", "description": null, "duration": 1.422879934310913, "score": 0.75, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 351680, "parent": null}, {"id": 9374524, "title": "Global variables", "description": "Code should not contain any global variables. The output of this test needs to be empty.\n", "duration": 0.07494711875915527, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374523}, {"id": 9374525, "title": "Compilation", "description": "Compiles your code with `gcc` with standard `c11` and flags `-Wall -Werror`. The only allowed functions are the following 4 (from `stdio.h`):\n\n- `fopen()`\n- `fclose()`\n- `fgetc()`\n- `fputc()`\n\nAny other library functions in your code will cause the compilation to fail.\n", "duration": 0.11255979537963867, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374523}, {"id": 9374526, "title": "Empty file", "description": null, "duration": 0.22526192665100098, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374523}, {"id": 9374527, "title": "Generate empty file", "description": null, "duration": 0.07661008834838867, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374526}, {"id": 9374528, "title": "Run", "description": "Runs your program with name of an empty file as its command line argument.\n", "duration": 0.07410383224487305, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374526}, {"id": 9374529, "title": "Evaluate file content", "description": "It is expected that the output file is empty.\n", "duration": 0.07454800605773926, "score": 0.75, "hint": null, "strict": false, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374526}, {"id": 9374530, "title": "Random file: Boundary check", "description": null, "duration": 0.27852702140808105, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374523}, {"id": 9374531, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.12402987480163574, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374530}, {"id": 9374532, "title": "Run", "description": null, "duration": 0.0801393985748291, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374530}, {"id": 9374533, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.07435774803161621, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374530}, {"id": 9374534, "title": "Random file 1", "description": null, "duration": 0.3106882572174072, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374523}, {"id": 9374535, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.12423396110534668, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374534}, {"id": 9374536, "title": "Run", "description": null, "duration": 0.09586548805236816, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374534}, {"id": 9374537, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.09058880805969238, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374534}, {"id": 9374538, "title": "Random file 2", "description": null, "duration": 0.2705669403076172, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "suite", "render": "normal", "submission": 351680, "parent": 9374523}, {"id": 9374539, "title": "Generate random file", "description": "`stdout` of this task contains the generated file content.\n", "duration": 0.12180089950561523, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374538}, {"id": 9374540, "title": "Run", "description": null, "duration": 0.07431292533874512, "score": null, "hint": null, "strict": true, "passed": true, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374538}, {"id": 9374541, "title": "Evaluate file content", "description": "This test prints the output file to the standard output and compares it with the expected file content. The contents must match exactly for this test to pass.\n", "duration": 0.07445311546325684, "score": 0.0, "hint": null, "strict": false, "passed": false, "type": "exec", "render": "normal", "submission": 351680, "parent": 9374538}], "id": 351680, "resource_id": "113cddf4-8d13-4922-958b-b46c943a5f6e", "date_submitted": "2020-11-26T19:07:46Z", "date_evaluated": "2020-11-26T20:11:41.411Z", "max_score": 11.0}