Commit 7e7e2d55 authored by Alan White's avatar Alan White

results

parent 7a4d1495
python resultsAggregatorScript.py paperWorld1-nrisk1/ndebil0
python resultsAggregatorScript.py paperWorld1-nrisk1/ndebil025
python resultsAggregatorScript.py paperWorld1-nrisk1/ndebil05
python resultsAggregatorScript.py paperWorld1-nrisk1/ndebil075
python resultsAggregatorScript.py paperWorld1-nrisk2/ndebil0
python resultsAggregatorScript.py paperWorld1-nrisk2/ndebil025
python resultsAggregatorScript.py paperWorld1-nrisk2/ndebil05
python resultsAggregatorScript.py paperWorld1-nrisk2/ndebil075
python resultsAggregatorScript.py paperWorld1-nrisk3/ndebil0
python resultsAggregatorScript.py paperWorld1-nrisk3/ndebil025
python resultsAggregatorScript.py paperWorld1-nrisk3/ndebil05
python resultsAggregatorScript.py paperWorld1-nrisk3/ndebil075
python resultsAggregatorScript.py paperWorld2-nrisk1/ndebil0
python resultsAggregatorScript.py paperWorld2-nrisk1/ndebil025
python resultsAggregatorScript.py paperWorld2-nrisk1/ndebil05
python resultsAggregatorScript.py paperWorld2-nrisk1/ndebil075
python resultsAggregatorScript.py paperWorld2-nrisk2/ndebil0
python resultsAggregatorScript.py paperWorld2-nrisk2/ndebil025
python resultsAggregatorScript.py paperWorld2-nrisk2/ndebil05
python resultsAggregatorScript.py paperWorld2-nrisk2/ndebil075
python resultsAggregatorScript.py paperWorld2-nrisk3/ndebil0
python resultsAggregatorScript.py paperWorld2-nrisk3/ndebil025
python resultsAggregatorScript.py paperWorld2-nrisk3/ndebil05
python resultsAggregatorScript.py paperWorld2-nrisk3/ndebil075
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -11,12 +11,13 @@ planStats = {}
def traverse(root):
for dirName, subDirList, fileList in os.walk(root):
print('Found directory %s' % dirName)
if len(fileList) > 0:
handleExperiments(root, dirName, fileList)
summaryDir = root + '/'
displayStepStats(summaryDir)
displayPlanStats(summaryDir)
merge(summaryDir)
print "DONE: " + summaryDir
def displayMsgStats(summaryDir):
f = open(summaryDir+'msgStatSummary.csv', 'w')
......@@ -29,7 +30,7 @@ def displayMsgStats(summaryDir):
for lineSet in lines:
for entry in msgStats[key][lineSet]:
f.write("\n" + key + ", " + entry);
f.write('\nAverage\nst.dev\np-value\n')
f.write('\nAverage\nst.dev\n')
f.close()
def displayPlanStats(summaryDir):
......@@ -60,6 +61,25 @@ def displayStepStats(summaryDir):
f.write('\nAverage\nst.dev\n')
f.close()
def merge(summaryDir):
f = open(summaryDir+'summary.csv','w')
global stepStats
global stepStatsHeader
global planStats
global planStatsHeader
keys = sorted(planStats.keys())
f.write(stepStatsHeader + "," + planStatsHeader + "\n")
for key in keys:
lines = stepStats[key].keys()
for lineSet in lines:
stepStatLines = stepStats[key][lineSet]
planStatLines = planStats[key][lineSet]
combined = map(",(PLAN) ".join,zip(stepStatLines, planStatLines))
for entry in combined:
f.write(key + ", " + entry + "\n");
f.write('Average\nst.dev\n\n\n')
f.close()
def handleExperiments(root, dirName, fileList):
config, system, experimentNumber = experimentInfo(dirName.split('/'))
msgSummary = []
......
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 to comment