Skip to content

Commit 0b549cf

Browse files
committed
refactor: change default conversion function for correctness witnesses in MEA
Proofs are not compared at the moment, but this may be needed in the future. Passing the full trace to the cache makes little sense, since currently proofs are represented as conditions and invariants (and invariants may be absent). Therefore, conditions are the best candidate for cached results to enable comparison of different proof versions.
1 parent b5d4068 commit 0b549cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cv/components/mea.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def __process_trace(self, error_trace_file: str, queue: multiprocessing.Queue =
247247
self.logger.debug(f"Trace '{error_trace_file}' has been parsed")
248248

249249
if parsed_error_trace.get('type') == WitnessType.CORRECTNESS:
250-
conversion_function = ConversionFunction.FULL
250+
conversion_function = ConversionFunction.CONDITIONS
251251
else:
252252
conversion_function = self.conversion_function
253253
converted_error_trace = convert_error_trace(parsed_error_trace, conversion_function,

0 commit comments

Comments
 (0)