Assignments#

Assignments will be done in Jupyter Notebooks. They will be released and submitted on datahub.

Assignments are cumulative - previously covered topics may also appear in a future assignment. Due dates are listed on the syllabus.

Late Submissions#

You may submit late assignments, up to 72 hours after the initial deadline, for 75% credit.

Using Jupyter Notebooks for Class Assignments#

We will be using a system that allows for automatically grading notebook submissions.

Notebooks will be released with step-by-step instructions on what code to enter.

Follow these instructions for working with these notebooks:

• Whenever you see # YOUR CODE HERE, replace it with code to answer the question

• Make sure to remove the raise line, or the notebook will raise an error

• Do not edit or delete and cells that have assert lines in them

• These lines are used to check your code

• If they are edited, this gets flagged, and they get reset to the original versions before grading

• You can add new cells, and write extra code, as long as you follow what is written above

• Make sure to execute all code that you write.

• If you get an ‘AssertionError’ from a test cell, your answer is not correct

• Your grade is partly graded on the public tests (the asserts that you see) and partly on a hidden set of tests (extra ‘asserts’ that get added during grading)

• This means that passing all the assert you see does not guarantee correctness

• Make sure to check out code and its outputs, that it does what it is supposed to

Please ask all questions on Campuswire and/or in office hours.

A note on posting code: When asking or answering questions, do not post code that answers assignment questions. If you want to post larger segments of code, do so in a private post.

If you need to ask for an extension, please DM on Campuswire or email the instructor directly.

Grades will be released on Canvas about a week after the submission due date and feedback will be available on datahub. It is your responsibility to check your posted grades - please do so.