MCPcopy Create free account
hub / github.com/IBM/ACPBench / set_equal

Function set_equal

src/evaluators/base.py:39–40  ·  view source on GitHub ↗
(ans1, ans2)

Source from the content-addressed store, hash-verified

37 return res
38
39def set_equal(ans1, ans2):
40 return set(ans1) == set(ans2)
41
42def jaccard_similarity(ans1, ans2):
43 s1, s2 = set(ans1), set(ans2)

Callers 2

get_scoreMethod · 0.90
get_scoreMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected