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

Evaluate the student's answer, as alternative to exact string matching #59

Closed
brianhou opened this issue Mar 1, 2015 · 1 comment
Closed
Milestone

Comments

@brianhou
Copy link
Contributor

brianhou commented Mar 1, 2015

This is a continuation of the discussion at Cal-CS-61A-Staff/berkeley-cs61a#135. As an example of the issue, if we expect [1, 2, 3], the unlocking attempt [1,2,3] fails.

@papajohn's proposal:

How about first string compare, then try: repr(eval(g)) except: pass, maybe
inside a timeout, as a second attempt to unlock.

@brianhou
Copy link
Contributor Author

brianhou commented Jul 1, 2015

Resolved by #101.

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

No branches or pull requests

2 participants