Skip to content

Writing a semi-public test? #844

Closed Answered by chrispyles
JedidiahTsang asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is probably the best way to write public tests that check for correctness without giving away the answer. Since the public test files are available to students (even if the output of the test failure didn't print their contents), hashing is the only way that I can think of to include the correct answer without revealing it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JedidiahTsang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants