[llvm-commits] [zorg] r147228 - /zorg/trunk/lnt/lnt/server/reporting/analysis.py
Daniel Dunbar
daniel at zuster.org
Fri Dec 23 16:51:38 PST 2011
Author: ddunbar
Date: Fri Dec 23 18:51:38 2011
New Revision: 147228
URL: http://llvm.org/viewvc/llvm-project?rev=147228&view=rev
Log:
[lnt/v0.4] lnt.server.ui/v4: Fix gathering of prev samples for estimating stddev.
Modified:
zorg/trunk/lnt/lnt/server/reporting/analysis.py
Modified: zorg/trunk/lnt/lnt/server/reporting/analysis.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/reporting/analysis.py?rev=147228&r1=147227&r2=147228&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/reporting/analysis.py (original)
+++ zorg/trunk/lnt/lnt/server/reporting/analysis.py Fri Dec 23 18:51:38 2011
@@ -2,6 +2,7 @@
Utilities for helping with the analysis of data, for reporting purposes.
"""
+from lnt.util import stats
from lnt.server.ui import util
from lnt.db.runinfo import ComparisonResult
from lnt.testing import PASS, FAIL, XFAIL
@@ -97,8 +98,8 @@
# runs.
#
# FIXME: This is using the wrong status kind. :/
- prev_samples = [v for run_id in comparison_window
- for v in self.sample_map.get((run_id, test_id), ())]
+ prev_samples = [v for run in comparison_window
+ for v in self.sample_map.get((run.id, test_id), ())]
if prev_samples:
# Filter out failing samples.
if status_field:
More information about the llvm-commits
mailing list