---
# System prepended metadata

title: Avoid Compile Error on Grading System

---

# Avoid Compile Error on Grading System

***You'll probably get compile error on our grading system if you ignore the following advice.***

1. Make sure you can compile your codes with the command specified in SPEC.
2. Make sure you can run **test.sh** without compile error.
3. Organize your codes into the **default** directory tree structure, and **only put your custom packages and java files under src/ directory**.
![hw2](https://i.imgur.com/XxEyp0Z.png)

4. Don't **remove / move any default files**, especially for **Main.java**.
5. Don't import any **third-party packages** (ex: junit).
6. Access **Github Actions** to check whether your codes have compiled successfully and passed all public testcases on the remote auto-grading system, which will be triggered automatically whenever you push your commits to Github.
![](https://i.imgur.com/Vd4GgqO.png)
