MCPcopy Index your code
hub / github.com/evalplus/evalplus / _ret

Function _ret

tools/humaneval/init_plus.py:23–31  ·  view source on GitHub ↗

This is a hacky function to return some garbages so that we can successfully run the function .

(entry_point)

Source from the content-addressed store, hash-verified

21
22
23def _ret(entry_point) -> str:
24 """This is a hacky function to return some garbages so that we can
25 successfully run the function .
26 """
27 if entry_point == "sort_third" or entry_point == "sort_even":
28 return [1, 2, 3]
29 elif entry_point == "bf":
30 return ()
31 return "1"
32
33
34def instrument_inputs(entry_point, prompt, test) -> str:

Callers 1

instrument_inputsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected