-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgatorgrade.yml
More file actions
95 lines (95 loc) · 3.32 KB
/
Copy pathgatorgrade.yml
File metadata and controls
95 lines (95 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
- description: "[MAIN] Program executes without err"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_main_exec_no_err
- description: "[THERMOMETER] lights_out sets all lights to off"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_reset_lights
- description: "[THERMOMETER] Program's 'reset' turns all lights on and then off"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_reset_system
- description: "[THERMOMETER] convert_temp_to_c converts a random value to correct temperature in C"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_convert_to_c
- description: "[THERMOMETER] convert_temp_to_f converts a random value to correct temperature in F"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_convert_to_f
- description: "[THERMOMETER] set_led_output turns ON the BLUE LED for cold temps"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_led_output_cold
- description: "[THERMOMETER] set_led_output turns ON the YELLOW LED for warm temps"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_led_output_warm
- description: "[THERMOMETER] set_led_output turns ON the RED LED for hot temps"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_led_output_hot
- description: "[SENSOR] Program correctly reads a sensor voltage and applies conversion"
check: ExecuteCommand
options:
command: uv run pytest tests/test_thermometer.py::test_read_sensor_voltage
- description: "[THERMOMETER] Functions are annotated properly"
check: ExecuteCommand
options:
command: uv run mypy src/Thermometer.py
- description: "[SENSOR] Functions are annotated properly"
check: ExecuteCommand
options:
command: uv run mypy src/Sensor.py
- src/Thermometer.py:
- description: "[THERMOMETER] Code contains at least 10 original comments"
check: CountSingleLineComments
options:
language: Python
count: 10
exact: false
- description: "[THERMOMETER] Code does not contain any TODOs"
check: MatchFileFragment
options:
fragment: TODO
count: 0
exact: true
- src/Sensor.py:
- description: "[SENSOR] Code contains at least 3 original comments"
check: CountSingleLineComments
options:
language: Python
count: 3
exact: false
- description: "[SENSOR] Code does not contain any TODOs"
check: MatchFileFragment
options:
fragment: TODO
count: 0
exact: true
- src/main.py:
- description: "[MAIN] Code contains at least 5 original comments"
check: CountSingleLineComments
options:
language: Python
count: 5
exact: false
- docs/summary.md:
- description: "[SUMMARY] The summary document contains no TODOs"
check: MatchFileFragment
options:
fragment: TODO
count: 0
exact: true
- description: "[MAIN] Code contains at least 5 original comments"
check: MatchFileFragment
options:
fragment: TODO
count: 0
exact: true
- description: "[SUMMARY] The summary document meets the word count"
check: CountFileWords
options:
count: 150
exact: false