Skip to content

Commit

Permalink
allow OOM for old AutoQ
Browse files Browse the repository at this point in the history
  • Loading branch information
alan23273850 committed Oct 18, 2024
1 parent e8314d5 commit aa5e447
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion POPL25/Evaluation/non-parameterized/gen_table_correct.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def json_to_latex_table(tool_list, latex_filename):
if data['result'] == '1' or data['result'] == 'O':
data['result'] = data['total']
elif 'autoq' in tool:
if data['result'] != 'TIMEOUT':
if data['result'] not in ('TIMEOUT', 'ERROR'):
assert data['result'] != 'V'
assert data['total'].count('/') == data['result'].count('/')
if '/' in data['total']:
Expand Down
2 changes: 1 addition & 1 deletion POPL25/Evaluation/non-parameterized/gen_table_flipgate.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def json_to_latex_table(tool_list, latex_filename):
if data['result'] == '1' or data['result'] == 'O':
data['result'] = data['total']
elif 'autoq' in tool:
if data['result'] != 'TIMEOUT':
if data['result'] not in ('TIMEOUT', 'ERROR'):
assert data['result'] == 'V' or data['result'] == 'V/V'
if '/' in data['result']:
data['result'] = format_duration(parse_duration(str(data['total'].split('/')[0]))) + '/' + format_duration(parse_duration(str(data['total'].split('/')[1])))
Expand Down
2 changes: 1 addition & 1 deletion POPL25/Evaluation/non-parameterized/gen_table_missgate.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def json_to_latex_table(tool_list, latex_filename):
if data['result'] == '1' or data['result'] == 'O':
data['result'] = data['total']
elif 'autoq' in tool:
if data['result'] != 'TIMEOUT':
if data['result'] not in ('TIMEOUT', 'ERROR'):
if ('OEGrover' in file and data['result'] != '0') or ('OEGrover' not in file and 'V' not in data['result']):
data['result'] = 'WRONG'
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def json_to_latex_table(tool_list, latex_filename):
if data['result'] == '1' or data['result'] == 'O':
data['result'] = data['total']
elif 'autoq' in tool:
if data['result'] != 'TIMEOUT':
if data['result'] not in ('TIMEOUT', 'ERROR'):
assert data['result'] != 'V'
assert data['total'].count('/') == data['result'].count('/')
if '/' in data['total']:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def json_to_latex_table(tool_list, latex_filename):
if data['result'] == '1' or data['result'] == 'O':
data['result'] = data['total']
elif 'autoq' in tool:
if data['result'] != 'TIMEOUT':
if data['result'] not in ('TIMEOUT', 'ERROR'):
assert data['result'] == 'V' or data['result'] == 'V/V'
if '/' in data['result']:
data['result'] = format_duration(parse_duration(str(data['total'].split('/')[0]))) + '/' + format_duration(parse_duration(str(data['total'].split('/')[1])))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def json_to_latex_table(tool_list, latex_filename):
if data['result'] == '1' or data['result'] == 'O':
data['result'] = data['total']
elif 'autoq' in tool:
if data['result'] != 'TIMEOUT':
if data['result'] not in ('TIMEOUT', 'ERROR'):
if ('OEGrover' in file and data['result'] != '0') or ('OEGrover' not in file and 'V' not in data['result']):
data['result'] = 'WRONG'
else:
Expand Down

0 comments on commit aa5e447

Please sign in to comment.