MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / compute_score

Function compute_score

union/TUS/run_c_alignment.py:127–131  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

125def alignment_process(query, candiate, model, type = 'cal'):
126 #query和candiate分别是两个表,然后需要提出他们的column当作节点
127 def compute_score(args):
128 s_name, t_name, s, t, s_sem, t_sem, m = args
129 logging.info(f"Processing: {s_name, t_name}")
130 score = compute_ensemble_score(s, t, s_sem, t_sem, m)
131 return s_name, t_name, score
132
133 df_query = pd.read_csv('benchmark/' + query)
134 df_cand = pd.read_csv('benchmark/' + candiate)

Callers

nothing calls this directly

Calls 2

infoMethod · 0.80
compute_ensemble_scoreFunction · 0.70

Tested by

no test coverage detected