Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide a testcase from the student #411

Open
eldos-dl opened this issue Apr 8, 2020 · 1 comment
Open

Hide a testcase from the student #411

eldos-dl opened this issue Apr 8, 2020 · 1 comment

Comments

@eldos-dl
Copy link

eldos-dl commented Apr 8, 2020

I have noticed that students can see all the test cases, that are being checked by looking at the tests folder. Is there a way to hide the tests from the student?

@Sumukh
Copy link
Member

Sumukh commented Apr 14, 2020

If you want students to reason about the expected output before seeing them, you can use the "locking" feature of OK (See the paper here for it's effectiveness: http://denero.org/content/pubs/las15_basu_unlocking.pdf)

If you're ok exposing the input but not the output, you can wrap it an another layer of hashing. Here's one way we've done that: http://denero.org/content/pubs/las16_sridhara_fuzz.pdf

If you fully want to hide the existence of a test case, you'll have to use server side auto-grading (and not client side scoring). It's pretty hard to fully hide what a program is executing (because end users control the code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants