Submitting Problem Sets
Creating and Cloning Repositories (one-time step)
- Click on the link in the green bar at the top of the problem set description.
This will automatically create a repository for you with the starter code.
These repositories are private to you and me, and should be kept that way,
unless you have a partner.
- If you are working in a pair,
go the Settings > Collaborators and Teams
in your repository and add your partner as a collaborator.
To avoid confusion, your partner should not create a repository for themselves by clicking on the link,
and should delete their own repository if it was already created.
- Clone this repository to a convenient location on your computer.
Cloning is a one-time task for each repository and machine.
git clone https://github.com/wellesleynlp/mlps1-yourusername
(replacing yourusername as needed)
Editing Code, Pushing Changes, Submissions
- Where starter code is provided, do not modify the interfaces of the functions or classes.
- Early in the coding process, well before the deadline,
add, commit, and push to ensure that everything's ok.
For example, if you have made changes to knn.py and mnistparse.py:
git add knn.py
The "status" command shows you which files have been changed since your last commit or pull.
git add mnistparse.py
git commit -m "my message"
Commit often; it serves as a backup system for various situations
(e.g. your hard drive crashes, or you make a mistake and want to revert to an earlier commit).
- If you are coding on multiple computers,
remember to execute a pull if you think your partner, or you on another computer, made commits recently.
- When you're ready to submit, fill in the required info in honorcode.py
and README.md and push.
The last commit before the submission deadline will be graded.
To take an extension,
add 1 to the number of late days in honorcode.py
and push to your repository by the deadline.
I won't grade this submission, but it will tell me that I can expect your submission
by the following day (Friday).
To take another extension,
add 1 again by Friday night, and submit by Saturday.
Repeat for more extensions.
You can check that your submission went through as intended by looking at
in the browser, logged in.