-
Notifications
You must be signed in to change notification settings - Fork 0
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
Display graphics results in autograder output #10
Comments
To allow
and have it save to file only when |
needs testing. should i also assume that the student’s function return the image link? that’s what i’m going with but i started wondering. finishing this tomorrow morning.
…10) The problem is that picture.py crashes and freezes when doing the quilts
Need to look into why |
On investigation, it appears the quilt is too large (892 primitive objects, going 9 levels deep). The method works fine on simpler objects. Some preliminary testing suggests that 500 objects is its breaking point. |
So that's not something we can fix, is it? |
Not easily, but I'm going to look into it. Worst case, we can simplify the quilt a little bit without sacrificing its aesthetics/difficulty. Or, we can test an intermediate function -- for example, each quadrant is only 223 objects/8 levels, and going from there to the final step is straightforward. |
Update for our records: waiting on LTS to install PIL on Canopy so we can test this. |
(in case we don't develop perfect graphics-grading functionality...)
Define a class of test cases where there is no expected result -- the autograder simply displays the resulting picture (take the cs1graphics output and save it as a png), and the expected image. Use the quilt task as an example.
The text was updated successfully, but these errors were encountered: