Lines Matching defs:heuristic
21 from dex.heuristic import Heuristic
30 def __init__(self, context, name, heuristic, error):
33 self.heuristic = heuristic
39 return self.heuristic.penalty
46 return self.heuristic.max_penalty
53 return self.heuristic.score
75 summary = self.heuristic.summary_string
84 experience score calculated by the DExTer heuristic.
182 def _record_score(self, test_name, heuristic):
183 """Write out the test's heuristic score to the results .txt file
189 self.context.o.auto(heuristic.verbose_output, stream=Stream(fp))
205 def _record_successful_test(self, test_name, steps, heuristic):
209 test_case = TestCase(self.context, test_name, heuristic, None)
213 self.context.o.auto(heuristic.verbose_output)