import json
import sys
from collections import defaultdict
from main import combine_results


groupings = defaultdict(list)
for filename in sys.argv[1:]:
    problem, nodes, rate, version, _ = filename.split('_')
    with open(filename, 'r') as f:
        data = json.load(f)
    groupings[problem, nodes, rate, version].append(data[1])

for key, results in groupings.iteritems():
    print key, combine_results(results)

@@ -16,16 +16,36 @@
 ort sys%0A
+from os import path%0A
 from col
@@ -167,16 +167,51 @@
 gv%5B1:%5D:%0A
+    base = path.basename(filename)%0A
     prob
@@ -241,23 +241,19 @@
 on, _ = 
-filenam
+bas
 e.split(

Fix to hpcparse