You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compare50/passes.py
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
classstructure(Pass):
10
10
"""Compares code structure by removing whitespace and comments; normalizing variable names, string literals, and numeric literals; and then running the winnowing algorithm."""
11
-
11
+
default=True
12
12
preprocessors= [preprocessors.strip_whitespace,
13
13
preprocessors.strip_comments,
14
14
preprocessors.normalize_identifiers,
@@ -20,16 +20,27 @@ class structure(Pass):
20
20
21
21
classexact(Pass):
22
22
"""Removes all whitespace, then uses the winnowing algorithm to compare submissions."""
0 commit comments