Assignments (With Guidelines Inspired From CS 221)
Assignments and Due Dates
Assignment will generally have a written part and a
programming part. The following explains what we
expect for each part and submission instructions.
Clearly written homeworks are much easier to grade and provide feedback on, and so we
encourage students to type their assignments, but this is not a requirement.
You may alternatively scan (to a pdf) neatly handwritten
The grader runs on Python 3.6, which is not guaranteed to work with older versions (below 3.6). Please use Python 3.6.X
to develop your code. The final grading will be run on Linux servers and will be compatible with
all Python 3.6.X versions.
The submitted code will not
be graded if it has one or more of the
Code that uses Python packages outside the standard library are not guaranteed to work.
For example, you may not use an external package that implements q-learning.
The code quits in an unexpected way. To prevent this, do not use
The code reads external resources beyond the files provided for the homework.
Malicious code is considered a violation of the honor code, will receive a score
of zero and will be reported to the Office of Judicial Affairs.
For collaboration policy and things to keep in mind regarding academic misconduct please see
the information here
All regrade requests are through Gradescope. After grades are released, you have up to 3 days (72 hours) to submit a regrade request.
We will use GradeScope for grading written and coding problems. To sign up for our class, follow the
Go to https://gradescope.com/.
Click “Sign up for free” and select “I am a student”.
Sign in with your Stanford SUNet id email account.
Use Entry code: YV76N6.
If you have any questions, please reach out on Piazza
All assignments (homework problems and project milestones) must be submitted on
by 6 pm (Pacific Time)
Make sure to compile all written portions into a single PDF file before uploading to
Gradescope. Mark each page to the corresponding problem.
All assignments (homework problems and project milestones) must be submitted using the submit
script by 6 pm (Pacific Time)
. Please note that the submission script
is only guaranteed to work on
To submit your assignment, please follow the instructions below:
Zip your assignment by running the following command in your assignment folder:
Upload your submission files (usually <assignment ID>.zip) to
Since other submission methods are not accepted (such as email), it is important to check early on that you can
use the submit script. Please try this out early and do not try this for the first time at the deadline. If you
are having trouble or something goes wrong, please reach out on
Piazza or ask a CA. Do not send us your submission via email.
We give partial credit and so partial work is better than not submitting anything. We will automatically sanity
check your code in some basic test cases, but we may grade your code on additional test cases. It is important to
rigorously check your code yourself.