Commit febc25e9 by Anselm Jia

fixes

parent 5dfdece2
import re import re
reg = "#include"
def go(): def go():
print("going") print("going")
count = 0 count = 0
......
...@@ -37,7 +37,7 @@ class TopFunctions(MRJob): ...@@ -37,7 +37,7 @@ class TopFunctions(MRJob):
count += s[0] count += s[0]
score += s[2] score += s[2]
total = int(l[0][1]) total = int(l[0][1])
yield name, (count, score) yield name, (count, total, score)
def reducer_init(self): def reducer_init(self):
self.h = [(-float("inf"), "")] self.h = [(-float("inf"), "")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment