From 7cc57a40fd2f91fa9fb077a4fe23b4e8a9411f74 Mon Sep 17 00:00:00 2001 From: Sebastian Kosak <54958619+seb711@users.noreply.github.com> Date: Wed, 5 Jun 2024 14:16:19 +0200 Subject: [PATCH] Update exec_eval.py Updated documentation for method --- exec_eval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec_eval.py b/exec_eval.py index 9bc34ba..8866353 100644 --- a/exec_eval.py +++ b/exec_eval.py @@ -178,8 +178,8 @@ def postprocess(query: str) -> str: # db is the database path # we are going to evaluate whether they are equivalent in all the databases # that are in the same directory as db -# 0 if denotationally equivalent -# 1 otherwise +# 1 if denotationally equivalent +# 0 otherwise # the meaning of each auxillary argument can be seen in the parser definition in evaluation.py def eval_exec_match(db: str, p_str: str, g_str: str, plug_value: bool, keep_distinct: bool, progress_bar_for_each_datapoint: bool) -> int: # post-process the prediction.