From eb4754a90a3e36d7227aa9afd2e71127c3db3510 Mon Sep 17 00:00:00 2001 From: Michael Papadopoulos Date: Fri, 19 Jul 2024 15:19:36 -0400 Subject: [PATCH 1/4] Update specification.md --- _docs/instructor/autograding/specification.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_docs/instructor/autograding/specification.md b/_docs/instructor/autograding/specification.md index a809bef6..629501fd 100644 --- a/_docs/instructor/autograding/specification.md +++ b/_docs/instructor/autograding/specification.md @@ -128,6 +128,16 @@ executables. **type:** _boolean_ **default value:** ``false`` + _Students will not how many points hidden test cases are worth or + how many points they recieve for that test case. For similar functionality + while still allowing students to see how many points they receive, adjust + ``show_message``, ``show_actual``, and ``show_expected`` in validation instead._ + + +* **field:** ``"release_hidden_details"`` + **type:** _boolean_ + **default value:** ``false`` + * **field:** ``"extra_credit"`` **type:** _boolean_ From a91a2b441827d712238753f3671d913e64519429 Mon Sep 17 00:00:00 2001 From: Michael Papadopoulos Date: Mon, 22 Jul 2024 15:23:18 -0400 Subject: [PATCH 2/4] Update _docs/instructor/autograding/specification.md Co-authored-by: dorian451 <112524240+dorian451@users.noreply.github.com> --- _docs/instructor/autograding/specification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/instructor/autograding/specification.md b/_docs/instructor/autograding/specification.md index 629501fd..73a3a2cc 100644 --- a/_docs/instructor/autograding/specification.md +++ b/_docs/instructor/autograding/specification.md @@ -128,7 +128,7 @@ executables. **type:** _boolean_ **default value:** ``false`` - _Students will not how many points hidden test cases are worth or + _Students will not know how many points hidden test cases are worth or how many points they recieve for that test case. For similar functionality while still allowing students to see how many points they receive, adjust ``show_message``, ``show_actual``, and ``show_expected`` in validation instead._ From 013f1207f90954e063627186600eb55acd1d4197 Mon Sep 17 00:00:00 2001 From: Michael Papadopoulos Date: Wed, 7 Aug 2024 11:57:00 -0400 Subject: [PATCH 3/4] Progress on New Page --- Gemfile.lock | 7 +++ .../autograding/hidden_testcase_examples.md | 52 +++++++++++++++++++ navtreedata.js | 1 + 3 files changed, 60 insertions(+) create mode 100644 _docs/instructor/autograding/hidden_testcase_examples.md diff --git a/Gemfile.lock b/Gemfile.lock index 47e66c36..5a9fe22f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -38,6 +38,7 @@ GEM faraday-net_http (3.1.0) net-http ffi (1.16.3) + ffi (1.16.3-x64-mingw-ucrt) forwardable-extended (2.6.0) gemoji (4.1.0) github-pages (231) @@ -233,6 +234,8 @@ GEM uri nokogiri (1.16.3-arm64-darwin) racc (~> 1.4) + nokogiri (1.16.3-x64-mingw-ucrt) + racc (~> 1.4) nokogiri (1.16.3-x86_64-linux) racc (~> 1.4) octokit (4.25.1) @@ -270,19 +273,23 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.9.1) + unf_ext (0.0.9.1-x64-mingw-ucrt) unicode-display_width (1.8.0) uri (0.13.0) + wdm (0.2.0) webrick (1.8.1) yell (2.2.2) PLATFORMS arm64-darwin-22 + x64-mingw-ucrt x86_64-linux DEPENDENCIES github-pages (= 231) html-proofer (~> 3.19.4) json + wdm (>= 0.1.1) webrick (~> 1.8) BUNDLED WITH diff --git a/_docs/instructor/autograding/hidden_testcase_examples.md b/_docs/instructor/autograding/hidden_testcase_examples.md new file mode 100644 index 00000000..9f1cb74f --- /dev/null +++ b/_docs/instructor/autograding/hidden_testcase_examples.md @@ -0,0 +1,52 @@ +--- +title: Hidden Testcase Examples +category: Instructor > Autograding +redirect_from: + - /instructor/assignment_configuration/hidden_testcase_examples +--- + +### Hide Testcase Details and Score, Never Release + +In your `config.json`, add this line to the testcase: +``` +"hidden": true +``` + +This is what it will look like for students: + +#### Image goes here + +#### Discussion of use + +### Hide Testcase Details and Score, Release With Grades + +In your `config.json`, add these lines to the testcase: +``` +"hidden": true, +"release_hidden_details": true +``` + +This is what it will look like for students: + +#### Image goes here + +#### Discussion of use + +### Hide Testcase Details, Show Score + +In your `config.json`, **do not** change the `hidden` field. +Instead, add these lines to the testcase: +``` +"show_actual": never, +"show_expected": never +``` +Additionally, if working with image differences, add this line: +``` +"show_difference_image": never +``` + +This is what it will look like for students: + +#### Image goes here + +#### Discussion of use \ No newline at end of file diff --git a/navtreedata.js b/navtreedata.js index a8d8adf0..5285973f 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -128,6 +128,7 @@ var NAVTREE = [ "Validation", "/instructor/autograding/validation", null ], [ "Batch Regrade Submissions", "/instructor/autograding/batch_regrade", null ], [ "Sample Assignments", "/instructor/autograding/sample_assignments", null ], + [ "Hidden Testcase Examples", "/instructor/autograding/hidden_testcase_examples", null ], [ "Docker Images", "/instructor/autograding/docker_images", null ], [ "Docker UI", "/instructor/autograding/docker_ui", null ], [ "Static Analysis", "/instructor/autograding/static_analysis/index", [ From c14fa981b7e8a02a13baf1bafe3744d66c24cc7e Mon Sep 17 00:00:00 2001 From: Michael Papadopoulos Date: Wed, 7 Aug 2024 14:52:55 -0400 Subject: [PATCH 4/4] fix --- _docs/instructor/autograding/hidden_testcase_examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/instructor/autograding/hidden_testcase_examples.md b/_docs/instructor/autograding/hidden_testcase_examples.md index 9f1cb74f..a18cf31d 100644 --- a/_docs/instructor/autograding/hidden_testcase_examples.md +++ b/_docs/instructor/autograding/hidden_testcase_examples.md @@ -35,7 +35,7 @@ This is what it will look like for students: ### Hide Testcase Details, Show Score In your `config.json`, **do not** change the `hidden` field. -Instead, add these lines to the testcase: +Instead, add these lines to the validation of the testcase: ``` "show_actual": never, "show_expected": never