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

Any plans to add completion confirmation options? #6

Open
davidkane9 opened this issue Jul 19, 2019 · 1 comment
Open

Any plans to add completion confirmation options? #6

davidkane9 opened this issue Jul 19, 2019 · 1 comment

Comments

@davidkane9
Copy link

I would like to create a course and then be "sure" that my students have completed it. Any plans to add this sort of functionality? One method would be, once a student has "finished" --- defined in some reasonable manner --- they get issued a hash which they provide to me.

@ines
Copy link
Owner

ines commented Jul 22, 2019

I thought about this initially but it's pretty difficult to do it in a satisfying way, because everything's on the client and all of that can easily be manipulated. So it ultimately comes down to how much you trust your students.

Assuming your students won't have access to the source repo of the course, here's an idea of how you could do it with pretty minimal effort:

  1. At the end of each test() function you write for the individual exercises, print an exercise-specific hash / password / completion code etc. after calling success(). If the exercise is validated and no error is raised, the student will see it – if not, they won't.
  2. Ask the students to keep track of those codes.
  3. At the end of it, ask them to put them all together and report the result. (Easiest way would be to return a number for each exercise and ask them for the sum – but depending on what you teach, you could even make a little exercise out of that step and let them compute something more complex 😃)

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