Skip to content

Commit

Permalink
Mode details on coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed May 1, 2023
1 parent e3b0174 commit c670649
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmarks/scripts/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ def main():
point_str = ", ".join(
["{}={}".format(k, ct_point[k]) for k in ct_point])
case_df = extract_complete_variants(extract_case(target_df, ct_point))
covered_variants = case_df['variant'].unique()
coverage = (len(covered_variants) / num_variants) * 100
print("{}[{}] coverage: {:.4f}%".format(
algname, point_str, coverage))
num_covered_variants = len(case_df['variant'].unique())
coverage = (num_covered_variants / num_variants) * 100
print("{}[{}] coverage: {} / {} ({:.4f}%)".format(
algname, point_str, num_covered_variants, num_variants, coverage))
print(extract_scores(case_df).head(7))


Expand Down

0 comments on commit c670649

Please sign in to comment.