Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,16 @@ cython_debug/

*.vo
*.pyc

# PyCharm
.idea/*

# Files created during install, unzip and make process
coq/*
coq-serapi/*
ASTactic/coqhammer/*
coq_projects/
data/*
projs_split.json
sexp_cache/*

15 changes: 8 additions & 7 deletions ASTactic/evaluation/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@

for f in glob(os.path.join(sys.argv[1], "*.json")):
results = json.load(open(f))["results"]
for r in results:
proj = r["filename"].split(os.path.sep)[2]
if r["success"] and r["time"] <= TIME_LIMIT:
num_success[proj] += 1
avg_time += r["time"]
else:
num_fail[proj] += 1
for theory in results:
for r in theory:
proj = r["filename"].split(os.path.sep)[2]
if r["success"] and r["time"] <= TIME_LIMIT:
num_success[proj] += 1
avg_time += r["time"]
else:
num_fail[proj] += 1

total_success = 0
total_fail = 0
Expand Down