Skip to content

Commit 735cab3

Browse files
skyzhxzhseh
andauthored
add gradescope agreement and update readme (#597)
* add gradescope agreement and update readme Signed-off-by: Alex Chi <[email protected]> * Update README.md Co-authored-by: Xu <[email protected]> --------- Signed-off-by: Alex Chi <[email protected]> Co-authored-by: Xu <[email protected]>
1 parent 599044a commit 735cab3

File tree

5 files changed

+91
-118
lines changed

5 files changed

+91
-118
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#==============================================================================#
22
# This file specifies intentionally untracked files that git should ignore.
33
#==============================================================================#
4+
/GRADESCOPE.md
45

56
#==============================================================================#
67
# File extensions to be ignored anywhere in the tree.

Dockerfile

Lines changed: 0 additions & 18 deletions
This file was deleted.

GRADESCOPE.md.template

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# BusTub Non-CMU Gradescope
2+
3+
To create a fair learning environment for all students and avoid potential
4+
Academic Integrity Violations within CMU, we ask you to AVOID making your
5+
BusTub repository public on GitHub. If you are not a student from CMU, you will
6+
need to sign this document before submitting to Gradescope.
7+
8+
Please sign this document by filling your information in the form and include
9+
this file along with your submission. Firstly, run the following command to copy
10+
this file:
11+
12+
```
13+
cp GRADESCOPE.md.template GRADESCOPE.md
14+
```
15+
16+
Then, please read the following agreement and fill in the signature below.
17+
18+
```plain
19+
I hereby agree to the terms outlined in this agreement ("Agreement"). By
20+
signing this Agreement, I acknowledge that I have read, understood, and will
21+
comply with the following terms and conditions:
22+
23+
1. Respect for System Security: I understand and acknowledge that the Gradescope
24+
system, which is used for the submission and grading of assignments, projects,
25+
and examinations, is a secure platform. I agree to respect the security measures
26+
implemented by Gradescope and will not engage in any activities that could
27+
compromise the integrity, functionality, or security of the system.
28+
29+
TL;DR: DO NOT try to retrieve private test cases from the autograder. They are
30+
not meant to be used by students in their local development environment.
31+
32+
2. Academic Integrity: I affirm that the work I submit for assessment,
33+
including assignments, projects, and examinations, is my original work. I
34+
understand that cheating, plagiarism, or any form of academic dishonesty is
35+
strictly prohibited by the School/Organization's policies, and any violation
36+
will result in appropriate disciplinary action, which may include academic
37+
penalties and sanctions.
38+
39+
TL;DR: DO submit your own work.
40+
41+
3. Prohibition on Publishing: I agree not to publish, upload, or otherwise make
42+
available any solutions, code, assignments, projects, or related materials
43+
provided by the School/Organization that are designated as confidential or
44+
proprietary to any public repositories on GitHub or any other online
45+
platforms accessible to the public. This includes but is not limited to
46+
personal repositories, organizational repositories, public gists, and forums.
47+
48+
TL;DR: DO NOT publish your project solution anywhere. You may publish blog
49+
posts on your general approach and ideas about the project, but DO NOT
50+
publish it before the CMU deadline for that project, and DO NOT publish code.
51+
52+
4. No Official Help: I understand and acknowledge that the School/Organization
53+
does not offer official assistance or support for technical, academic, or
54+
non-academic matters. This includes, but is not limited to, help with
55+
assignments, projects, technical troubleshooting, academic advising, and
56+
administrative inquiries.
57+
58+
TL;DR: This is an unofficial Gradescope for 15-445/645 course. DO NOT submit
59+
issues to the BusTub repo regarding Gradescope issues. There is an
60+
unofficial Discord server, but neither TAs or professors will actively
61+
monitor it. See the course FAQ for the Discord link.
62+
63+
===BEGIN SIGNATURE===
64+
Student's GitHub ID:
65+
Student's Legal Name:
66+
Student's Organization/School Name:
67+
Student's Email:
68+
Date:
69+
=== END SIGNATURE ===
70+
```
71+
72+
* Note: Your email should be the same as your Gradescope email. Please use the email
73+
from your academic affiliation if possible.
74+
* Note: If you do not have a GitHub account, please fill in N/A.
75+
* Note: If you are not affiliated with any organization, you can fill in
76+
the third line with N/A.
77+
78+
The `make submit-pX` command will automatically include this file (TBD) and the
79+
grader will grade your submission. Thank you for your interest in the BusTub
80+
project, and thank you for helping us create a fair learning environment.
81+
82+
[id]: bustub-non-cmu-gradescope-23333
83+
84+
<!-- Hopefully GitHub can index the above slug and we can easily find BusTub repos with GitHub search. -->

README.md

Lines changed: 6 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ We suggest working on your projects in separate branches. If you do not understa
6969

7070
## Build
7171

72-
We recommend developing BusTub on Ubuntu 20.04, Ubuntu 22.04, or macOS (M1/M2/Intel). We do not support any other environments (i.e., do not open issues or come to office hours to debug them). We do not support WSL.
72+
We recommend developing BusTub on Ubuntu 22.04, or macOS (M1/M2/Intel). We do not support any other environments (i.e., do not open issues or come to office hours to debug them). We do not support WSL. The grading environment runs
73+
Ubuntu 22.04.
7374

74-
### Linux / Mac (Recommended)
75+
### Linux (Recommended) / macOS (Development Only)
7576

7677
To ensure that you have the proper packages on your machine, run the following script to automatically install them:
7778

@@ -102,66 +103,11 @@ This enables [AddressSanitizer](https://github.com/google/sanitizers) by default
102103

103104
If you want to use other sanitizers,
104105

105-
106106
```
107107
$ cmake -DCMAKE_BUILD_TYPE=Debug -DBUSTUB_SANITIZER=thread ..
108108
$ make -j`nproc`
109109
```
110110

111-
### Windows (Not Guaranteed to Work)
112-
113-
If you are using Windows 10, you can use the Windows Subsystem for Linux (WSL) to develop, build, and test Bustub. All you need is to [Install WSL](https://docs.microsoft.com/en-us/windows/wsl/install-win10). You can just choose "Ubuntu" (no specific version) in Microsoft Store. Then, enter WSL and follow the above instructions.
114-
115-
If you are using CLion, it also [works with WSL](https://blog.jetbrains.com/clion/2018/01/clion-and-linux-toolchain-on-windows-are-now-friends).
116-
117-
### Vagrant (Not Guaranteed to Work)
118-
119-
First, make sure you have Vagrant and Virtualbox installed
120-
```
121-
$ sudo apt update
122-
$ sudo apt install vagrant virtualbox
123-
```
124-
125-
From the repository directory, run this command to create and start a Vagrant box:
126-
127-
```
128-
$ vagrant up
129-
```
130-
131-
This will start a Vagrant box running Ubuntu 20.02 in the background with all the packages needed. To access it, type
132-
133-
```
134-
$ vagrant ssh
135-
```
136-
137-
to open a shell within the box. You can find Bustub's code mounted at `/bustub` and run the commands mentioned above like normal.
138-
139-
### Docker (Not Guaranteed to Work)
140-
141-
First, make sure that you have docker installed:
142-
```
143-
$ sudo apt update
144-
$ sudo apt install docker
145-
```
146-
147-
From the repository directory, run these commands to create a Docker image and container:
148-
149-
```
150-
$ docker build . -t bustub
151-
$ docker create -t -i --name bustub -v $(pwd):/bustub bustub bash
152-
```
153-
154-
This will create a Docker image and container. To run it, type:
155-
156-
```
157-
$ docker start -a -i bustub
158-
```
159-
160-
to open a shell within the box. You can find Bustub's code mounted at `/bustub` and run the commands mentioned above like normal.
161-
162-
## Testing
163-
164-
```
165-
$ cd build
166-
$ make check-tests
167-
```
111+
There are some differences between macOS and Linux (i.e., mutex behavior) that might cause test cases
112+
to produce different results in different platforms. We recommend students to use a Linux VM for running
113+
test cases and reproducing errors whenever possible.

Vagrantfile

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)