@@ -41,18 +41,25 @@ def __init__(self, multiple_task_results=None, **kwargs):
41
41
self .statistical_comparison_result = "IDENTICAL"
42
42
self .statistical_comparison_color = COLOR_GREEN
43
43
44
+ self .reason = ""
45
+ self .result = "IDENTICAL"
46
+ self .color = COLOR_GREEN
44
47
if self .stdout_trajectory_comparison_result == "DIVERGENT" :
45
- self .result = "DIVERGENT"
48
+ if self .result == "DONE" :
49
+ self .result = "DIVERGENT"
46
50
self .color = COLOR_YELLOW
47
- elif self .fingerprint_trajectory_comparison_result == "DIVERGENT" :
48
- self .result = "DIVERGENT"
51
+ self .reason = self .reason + ", different STDOUT trajectories"
52
+ if self .fingerprint_trajectory_comparison_result == "DIVERGENT" :
53
+ if self .result == "DONE" :
54
+ self .result = "DIVERGENT"
49
55
self .color = COLOR_YELLOW
50
- elif self .statistical_comparison_result == "DIFFERENT" :
51
- self .result = "DIFFERENT"
56
+ self .reason = self .reason + ", different fingerprint trajectories"
57
+ if self .statistical_comparison_result == "DIFFERENT" :
58
+ if self .result == "DONE" :
59
+ self .result = "DIFFERENT"
52
60
self .color = COLOR_YELLOW
53
- else :
54
- self .result = "IDENTICAL"
55
- self .color = COLOR_GREEN
61
+ self .reason = self .reason + ", different statistics"
62
+ self .reason = None if self .reason == "" else self .reason [2 :]
56
63
else :
57
64
self .fingerprint_trajectory_divergence_position = None
58
65
self .different_statistical_results = pd .DataFrame ()
0 commit comments