MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / get_entrypoint

Method get_entrypoint

src/evaluate.py:31–36  ·  view source on GitHub ↗
(self, instance)

Source from the content-addressed store, hash-verified

29
30
31 def get_entrypoint(self, instance):
32 entry_point = ""
33 if self.dataset.name == "openai_humaneval":
34 entry_point += instance["entry_point"]
35
36 return entry_point
37
38 def process_solution(self, solution, instance):
39 if self.dataset.name == "openai_humaneval" and not solution.startswith("def"):

Callers 1

get_solutionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected