/
.gatorgrade.yml
114 lines (114 loc) · 3.14 KB
/
.gatorgrade.yml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# TODOs
- Luumba.py:
- description: No TODO markers left in Luumba.py
category: Luumba Labor
check: MatchFileFragment
options:
fragment: "TODO"
count: 0
exact: true
- garden/Croomba.py:
- description: Croomba.py contains no TODO markers
category: Algorithmic Ag
check: MatchFileFragment
options:
fragment: "TODO"
count: 0
exact: true
- treehouse/reflection.md:
- description: No TODO markers left in reflection.md
category: Reflection
check: MatchFileFragment
options:
fragment: "TODO"
count: 0
exact: true
# PROOF OF LIFE
- treehouse/reflection.md:
- description: Treehouse successfully constructed
category: Luumba Labor
check: ConfirmFileExists
- description: There's something a-field in the...field
check: CountCommandOutput
category: Algorithmic Ag
options:
command: ls -l garden/field
count: 3
# REFLECTION
- treehouse/reflection.md:
- description: All questions answered in reflection.md
category: Reflection
check: CountFileParagraphs
options:
count: 7
- treehouse/reflection.md:
- description: Reflection contains at least 300 words
category: Reflection
check: CountFileWords
options:
count: 300
- treehouse/reflection.md:
- description: All checkboxes checked, attested to
category: Reflection
check: MatchFileRegex
options:
regex: "\\-\\s\\[x\\]"
count: 3
# COMMENT COPS
- Luumba.py:
- description: Luumba.py has at least 10 single-line comments
category: Commenting code
check: CountSingleLineComments
options:
language: Python
count: 10
- Luumba.py:
- description: Luumba.py has at least 3 multi-line comments for function descriptions
category: Commenting code
check: CountMultipleLineComments
options:
language: Python
count: 3
- garden/Croomba.py:
- description: Croomba.py has at least 3 comments defining what methods might do
category: Commenting code
check: CountSingleLineComments
options:
language: Python
count: 7
# LEARNING OBJECTIVES
- Luumba.py:
- description: Luumba.py creates a minimum of 3 functions for cut shapes
category: Functions
check: MatchFileRegex
options:
regex: "def\\s[a-z0-9_]+\\([a-z0-9_\\:\\s=\\.]+(,(\\s)?[a-z0-9_\\:\\s=\\.]+)?\\)(\\s)?\\->(\\s)?[a-z]+\\:"
count: 3
- Luumba.py:
- description: Luumba.py functions return values
category: Functions
check: MatchFileRegex
options:
regex: "return\\s[a-z0-9_]+"
count: 3
- garden/Croomba.py:
- description: Croomba.py uses the mixer.mix() method
category: Algorithmic Ag
check: MatchFileRegex
options:
regex: "mixer\\.mix\\(\\)"
count: 1
- garden/Croomba.py:
- description: Croomba.py uses the dispenser.dispense() method
category: Algorithmic Ag
check: MatchFileRegex
options:
regex: "dispenser\\.dispense\\(\\)"
count: 1
- garden/Croomba.py:
- description: Croomba.py uses the can.use() method with correct parameter
category: Algorithmic Ag
check: MatchFileRegex
options:
regex: 'can.use\(location(\s)?=(\s)?"field"\)'
count: 1