|
@@ -340,15 +340,15 @@ def run_job(job: dict[str, Any], run_root: Path, timeout: int) -> dict[str, Any]
|
|
|
failures.append("pass_fail_marker_mismatch")
|
|
failures.append("pass_fail_marker_mismatch")
|
|
|
if "DONE (PASS" not in log_text:
|
|
if "DONE (PASS" not in log_text:
|
|
|
failures.append("sby_done_pass_missing")
|
|
failures.append("sby_done_pass_missing")
|
|
|
- if target["mode"] == "prove":
|
|
|
|
|
|
|
+ if target["mode"] in {"prove", "bmc"}:
|
|
|
if not assertions:
|
|
if not assertions:
|
|
|
failures.append("compiled_assertions_missing")
|
|
failures.append("compiled_assertions_missing")
|
|
|
- if "successful proof by k-induction" not in log_text:
|
|
|
|
|
|
|
+ if target["mode"] == "prove" and "successful proof by k-induction" not in log_text:
|
|
|
failures.append("k_induction_evidence_missing")
|
|
failures.append("k_induction_evidence_missing")
|
|
|
expected_solver = task
|
|
expected_solver = task
|
|
|
if not re.search(rf"(?im)Solver:\s*{re.escape(expected_solver)}\b", log_text):
|
|
if not re.search(rf"(?im)Solver:\s*{re.escape(expected_solver)}\b", log_text):
|
|
|
failures.append(f"solver_observation_missing:{expected_solver}")
|
|
failures.append(f"solver_observation_missing:{expected_solver}")
|
|
|
- else:
|
|
|
|
|
|
|
+ elif target["mode"] == "cover":
|
|
|
hits = cover_hit_ids(workdir)
|
|
hits = cover_hit_ids(workdir)
|
|
|
if not covers:
|
|
if not covers:
|
|
|
failures.append("compiled_covers_missing")
|
|
failures.append("compiled_covers_missing")
|
|
@@ -356,6 +356,8 @@ def run_job(job: dict[str, Any], run_root: Path, timeout: int) -> dict[str, Any]
|
|
|
failures.append(f"cover_hit_set_mismatch:{len(hits)}/{len(covers)}")
|
|
failures.append(f"cover_hit_set_mismatch:{len(hits)}/{len(covers)}")
|
|
|
if not relative_artifacts(workdir, "*.vcd"):
|
|
if not relative_artifacts(workdir, "*.vcd"):
|
|
|
failures.append("cover_trace_missing")
|
|
failures.append("cover_trace_missing")
|
|
|
|
|
+ else:
|
|
|
|
|
+ failures.append(f"unsupported_mode:{target['mode']}")
|
|
|
return {
|
|
return {
|
|
|
"name": target["name"],
|
|
"name": target["name"],
|
|
|
"task": task,
|
|
"task": task,
|