Skip to content

Commit

Permalink
Fix pastis-benchmark plot command for the proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheitman committed Aug 28, 2023
1 parent f504f68 commit 5530692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pastisbenchmark/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ def _calcul_smt_stats(self, campaign: CampaignResult, cov_results: List[Coverage
stot, sat, unsat, to = sstats["total_solving_attempt"], sstats["SAT"], sstats["UNSAT"], sstats["TIMEOUT"]
coved, uncoved = len(sstats["branch_reverted"]), len(sstats["branch_not_solved"])
ratio = cov_number / sat if sat else cov_number
entry = SmtEntry(engine=fuzzer, sat=sat, unsat=unsat, timeout=to, total=stot, avg_query=sovt/stot,
avg_query = sovt / stot if stot else -1.0
entry = SmtEntry(engine=fuzzer, sat=sat, unsat=unsat, timeout=to, total=stot, avg_query=avg_query,
cov_sat_ratio=ratio, branch_solved=coved, branch_not_solved=uncoved)
entries.append(entry)
except FileNotFoundError:
Expand Down

0 comments on commit 5530692

Please sign in to comment.