Skip to content

Commit 9594462

Browse files
committed
add fastest_words
1 parent a4767cb commit 9594462

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

analyzer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
cats = {
1212
"accuracy": ["def accuracy", "def wpm"],
1313
"autocorrect": ["def autocorrect", "def shifty_shifts"],
14+
"fastest_words": ["def fastest_words(", "def game"]
1415
}
1516

1617
ants = {

templates.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@
150150
"good-zip-use": "Great use of the `zip` function!",
151151
"good-dict-use": "Great use of a dictionary to utilize it's `.get` method as the `key` for the `min` function!",
152152
},
153+
"fastest_words": {
154+
"abstraction-barrier": "Make sure you aren't violating the abstraction barrier. You should use the provided selector "
155+
"functions instead.",
156+
"many-loops": "This solution is a bit complex... You shouldn't need more than 3 for loops.",
157+
"good-min-key": "Nice use of the min function with a key! This makes the code not only efficient, but easy to read "
158+
"and understand.",
159+
},
153160
}
154161

155162
ants_templates = {

0 commit comments

Comments
 (0)