Skip to content
github-actions edited this page Jan 2, 2023 · 89 revisions

Test results

Homework Name Task Name Test Name Result
Homework where things go wrong [PAST DEADLINE] Return number task Build
Wrong output format
While loop task Build
Test timeout
Homework with injections Bash with many folders Inject testing folders
ls
Default Google Tests Configure CMake
Build
Test
Injected Google Tests Inject testing folders
Configure CMake
Build
Test
Sample homework Bash task Test output
Test wrong output
Build failure task Configure CMake
Build
CMake build arithmetics task Configure CMake
Build binary
Test integer arithmetics
Test float arithmetics
Simple cpp tasks Configure CMake
Build binary
String output is as expected
Test input piping Configure CMake
Build binary
Test input piping

Encountered errors

Homework where things go wrong

The deadline for this homework is exceeded. Errors hidden.


Homework where things go wrong

The deadline for this homework is exceeded. Errors hidden.


Sample homework | Bash task | Test wrong output

Status code 13

Input

bash test_me.sh

Output mismatch

--- Actual output

+++ Expected output

@@ -1,3 +1,4 @@

 Hello World!
-Another line
+Expected non-matching line
+
 test_me.sh

stdout

Hello World!
Another line
test_me.sh


Sample homework | Build failure task | Build

Status code 2

stderr

/tmp/homework_checker/task_2_c2e754d0b575ad7cbb5ae1197e16ed0c/main.cpp: In functionint main(int, const char**)’:
/tmp/homework_checker/task_2_c2e754d0b575ad7cbb5ae1197e16ed0c/main.cpp:2:11: error:stdoutwas not declared in this scope
    2 |   fprintf(stdout, "%s %s output\n", argv[1], argv[2]);
      |           ^~~~~~
/tmp/homework_checker/task_2_c2e754d0b575ad7cbb5ae1197e16ed0c/main.cpp:1:1: note:stdoutis defined in header ‘<cstdio>’; did you forget to#include <cstdio>’?
  +++ |+#include <cstdio>
    1 | int main(int argc, char const *argv[]) {
/tmp/homework_checker/task_2_c2e754d0b575ad7cbb5ae1197e16ed0c/main.cpp:2:3: error: ‘fprintf’ was not declared in this scope
    2 |   fprintf(stdout, "%s %s output\n", argv[1], argv[2]);
      |   ^~~~~~~
gmake[2]: *** [CMakeFiles/main.dir/build.make:76: CMakeFiles/main.dir/main.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/main.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

stdout

[ 50%] Building CXX object CMakeFiles/main.dir/main.cpp.o


Sample homework | CMake build arithmetics task | Test float arithmetics

Status code 13

Input

./build/sum_numbers 2.15 5

Output mismatch

--- Actual output

+++ Expected output

@@ -1 +1 @@

-7.0
+7.15

stdout

7



With ❤️ from Homework Bot 🤖

Clone this wiki locally