From 3658f1cb69e420cb371d30169eb150c9c2ad39f8 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 4 Nov 2019 17:35:24 -0500 Subject: [PATCH] add run code evaluator instructions --- docs/tutorial.txt | 5 +++++ evaluator2/submissions/104/result.txt | 2 ++ evaluator2/submissions/104/user_source_code | 1 + evaluator2/submissions/167/result.txt | 2 ++ evaluator2/submissions/167/user_source_code | 1 + evaluator2/submissions/19/result.txt | 2 ++ evaluator2/submissions/19/user_source_code | 1 + evaluator2/submissions/28/result.txt | 2 ++ evaluator2/submissions/28/user_source_code | 1 + evaluator2/submissions/74/result.txt | 2 ++ evaluator2/submissions/74/user_source_code | 1 + 11 files changed, 20 insertions(+) create mode 100644 docs/tutorial.txt create mode 100644 evaluator2/submissions/104/result.txt create mode 100644 evaluator2/submissions/104/user_source_code create mode 100644 evaluator2/submissions/167/result.txt create mode 100644 evaluator2/submissions/167/user_source_code create mode 100644 evaluator2/submissions/19/result.txt create mode 100644 evaluator2/submissions/19/user_source_code create mode 100644 evaluator2/submissions/28/result.txt create mode 100644 evaluator2/submissions/28/user_source_code create mode 100644 evaluator2/submissions/74/result.txt create mode 100644 evaluator2/submissions/74/user_source_code diff --git a/docs/tutorial.txt b/docs/tutorial.txt new file mode 100644 index 0000000..fffcf53 --- /dev/null +++ b/docs/tutorial.txt @@ -0,0 +1,5 @@ +The project can be run with docker-compose up + +to send a request to the code evaluator use the following instruction: + curl -i -H "Content-Type: application/json" -d "{ \"code\": \"puts 'Hello World'\" }" -X POST http://localhost:8080/v1 + diff --git a/evaluator2/submissions/104/result.txt b/evaluator2/submissions/104/result.txt new file mode 100644 index 0000000..6b32d1d --- /dev/null +++ b/evaluator2/submissions/104/result.txt @@ -0,0 +1,2 @@ +Result of the code evaluation is +[(stdin)= 17b945f3ccd2003a736cfc702c8d5578f39c72fc453001e03dff80fc7d540a69] diff --git a/evaluator2/submissions/104/user_source_code b/evaluator2/submissions/104/user_source_code new file mode 100644 index 0000000..9edf2a5 --- /dev/null +++ b/evaluator2/submissions/104/user_source_code @@ -0,0 +1 @@ +echo 'my new private key' | openssl sha256 \ No newline at end of file diff --git a/evaluator2/submissions/167/result.txt b/evaluator2/submissions/167/result.txt new file mode 100644 index 0000000..6b32d1d --- /dev/null +++ b/evaluator2/submissions/167/result.txt @@ -0,0 +1,2 @@ +Result of the code evaluation is +[(stdin)= 17b945f3ccd2003a736cfc702c8d5578f39c72fc453001e03dff80fc7d540a69] diff --git a/evaluator2/submissions/167/user_source_code b/evaluator2/submissions/167/user_source_code new file mode 100644 index 0000000..9edf2a5 --- /dev/null +++ b/evaluator2/submissions/167/user_source_code @@ -0,0 +1 @@ +echo 'my new private key' | openssl sha256 \ No newline at end of file diff --git a/evaluator2/submissions/19/result.txt b/evaluator2/submissions/19/result.txt new file mode 100644 index 0000000..6b32d1d --- /dev/null +++ b/evaluator2/submissions/19/result.txt @@ -0,0 +1,2 @@ +Result of the code evaluation is +[(stdin)= 17b945f3ccd2003a736cfc702c8d5578f39c72fc453001e03dff80fc7d540a69] diff --git a/evaluator2/submissions/19/user_source_code b/evaluator2/submissions/19/user_source_code new file mode 100644 index 0000000..9edf2a5 --- /dev/null +++ b/evaluator2/submissions/19/user_source_code @@ -0,0 +1 @@ +echo 'my new private key' | openssl sha256 \ No newline at end of file diff --git a/evaluator2/submissions/28/result.txt b/evaluator2/submissions/28/result.txt new file mode 100644 index 0000000..6b32d1d --- /dev/null +++ b/evaluator2/submissions/28/result.txt @@ -0,0 +1,2 @@ +Result of the code evaluation is +[(stdin)= 17b945f3ccd2003a736cfc702c8d5578f39c72fc453001e03dff80fc7d540a69] diff --git a/evaluator2/submissions/28/user_source_code b/evaluator2/submissions/28/user_source_code new file mode 100644 index 0000000..9edf2a5 --- /dev/null +++ b/evaluator2/submissions/28/user_source_code @@ -0,0 +1 @@ +echo 'my new private key' | openssl sha256 \ No newline at end of file diff --git a/evaluator2/submissions/74/result.txt b/evaluator2/submissions/74/result.txt new file mode 100644 index 0000000..6b32d1d --- /dev/null +++ b/evaluator2/submissions/74/result.txt @@ -0,0 +1,2 @@ +Result of the code evaluation is +[(stdin)= 17b945f3ccd2003a736cfc702c8d5578f39c72fc453001e03dff80fc7d540a69] diff --git a/evaluator2/submissions/74/user_source_code b/evaluator2/submissions/74/user_source_code new file mode 100644 index 0000000..9edf2a5 --- /dev/null +++ b/evaluator2/submissions/74/user_source_code @@ -0,0 +1 @@ +echo 'my new private key' | openssl sha256 \ No newline at end of file