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.
Written Assignments
We are now requiring students to typeset their homeworks. This is a change from before,
where we allowed students to neatly handwrite assignments.
Programming Assignments
Please use
Python >= 3.8
to develop your code. The final grading will be run on Linux servers and will be compatible with
all Python >= 3.8 versions.
The submitted code will
not be graded if it has one or more of the
following issues:
-
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
quit(), exit(),
sys.exit(), os._exit().
-
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.
Collaboration Policy
For collaboration policy and things to keep in mind regarding academic misconduct please see
the information
here.
Regrades
All regrade requests are through Gradescope. After grades are released, you have up to 3 days (72 hours) to submit a regrade request.
GradeScope
We will use GradeScope for grading written and coding problems. To sign up for our class, follow the
instructions below:
-
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.
-
Gradescope Course Link: Link
If you have any questions, please reach out on
Ed.
Written Assignments
All assignments (homework problems and project milestones) must be submitted on
Gradescope 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.
Programming Assignments
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
rice
(
rice.stanford.edu).
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
Gradescope.
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
Ed 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.