-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters