evaluation
genlm.eval.domains.spider.spider_eval.evaluation
eval_exec_match_worker(db, p_str, g_str, pred, gold, result_queue)
Worker function to execute SQL queries and compare results. This function is intended to run in a separate process.
Source code in genlm/eval/domains/spider/spider_eval/evaluation.py
eval_exec_match(db, p_str, g_str, pred, gold, timeout=None)
Execute the eval_exec_match function with a timeout using multiprocessing.