File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
scripts/kani-std-analysis Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,15 +212,15 @@ def update_plot_metrics(self, all_data):
212212 for data in all_data :
213213 for metric in self .unsafe_metrics :
214214 if not metric .startswith ("verified" ):
215- self .unsafe_plot_data [metric ].append (data [ metric ] )
215+ self .unsafe_plot_data [metric ].append (data . get ( metric , 0 ) )
216216
217217 for metric in self .safe_abstr_metrics :
218218 if not metric .startswith ("verified" ):
219- self .safe_abstr_plot_data [metric ].append (data [ metric ] )
219+ self .safe_abstr_plot_data [metric ].append (data . get ( metric , 0 ) )
220220
221221 for metric in self .safe_metrics :
222222 if not metric .startswith ("verified" ):
223- self .safe_plot_data [metric ].append (data [ metric ] )
223+ self .safe_plot_data [metric ].append (data . get ( metric , 0 ) )
224224
225225 # Read output from kani list and std-analysis.sh, then compare their outputs to compute Kani-specific metrics
226226 # and write the results to {self.metrics_file}
You can’t perform that action at this time.
0 commit comments