# HW5 Grading Policy
$$
score = \sqrt{score_{raw}} * 10
\\
score_{raw} = correctness*0.5 + performance*0.2 + report
$$
## Correctness (50%)
- $X$: passed tests
- $N$: total number of tests
$$
correctness = \frac{X}{N} * 100
$$
## Performance (20%)
- $T$: time1 + panelty1 + time2 + panelty2 (from both scoreboards)
- $T_i$: student $i$'s $T$
- $T_{best}$: the minimum $T$ of all the students
$$
performance = \frac{T_{best}}{T_i}*100
$$
## Report (30%)
1. (10%) What is your parallelism strategy?
- Breifly describe how they parallelize the task
2. (10%) If there are 4 GPUs instead of 2, what would you do to maximize the performance?
- (5%) Given at least 1 method to maximize the performance
- (5%) Conduct experiments or give reasons why their method will likely improve the performance
3. (10%) If there are 5 gravity devices, is it necessary to simulate 5 n-body simulations independently for this problem?
- (5%) Answer no
- (5%) Explain why their answer should be correct
4. (Optional, 5%) Any suggestions or feedback for the homework are welcome.
- Given at least 1 meaningful suggestions or constructive feedback to the assignment or spec
###### tags: `grading policy`