How to submit assignment
1 How to submit assignment
In this course, we will use GitHub Classroom to submit & grade assignments. Please follow the instructions below to submit your assignment.
1.1 Option 1: A simple workflow (Full local)
See the slides for the detailed instructions.
- Clone the repository from GitHub.
- Edit the assignment.py with marimo editor. Type
marimo edit assignment/assignment.py
- Submit the assignment.py via git. (You can use GitHub Desktop, or command line)
- Check the grading on the GitHub Classroom.
1.2 Option 2: Github Codespaces (Full cloud)
See the slides for the detailed instructions.
- Go to your assignment repository on GitHub
- Click the green “Code” button
- Click the “Open with Codespaces” button
- Wait for the Codespaces to be ready.
- Type ‘marimo edit assignment/assignment.py’. If you cannot find marimo, type “uv run marimo edit assignment/assignment.py” which should work.
- You will be redirected to a webpage and prompted to enter the access token. The access token can be found on the terminal window in the Codespaces.
- Take the access token in the url “the alphabets after”?access_token=” and enter the token in the webpage.
1.3 Preparations (Local but with Docker Machine)
See the slides for the detailed instructions.
- Install Docker Desktop
- Install GitHub Desktop
- Install VS Code
Steps
- Clone the repository from GitHub.
- Open with the VS Code, and click “Reopen in Container”
- Open the assignment.py with marimo editor.
- Submit the assignment.py to the repository.