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

Function func

tools/humaneval/fix_v014.py:19–20  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

17 dxs = [xs[i] * i for i in range(1, len(xs))]
18
19 def func(x):
20 return poly(xs, x)
21
22 def derivative(x):
23 return poly(dxs, x)

Callers 6

test_code_coverageFunction · 0.85
replay_contractFunction · 0.85
check_validFunction · 0.85
test_code_coverageFunction · 0.85
wrapperMethod · 0.85
wrapperMethod · 0.85

Calls 1

polyFunction · 0.85

Tested by 2

test_code_coverageFunction · 0.68
test_code_coverageFunction · 0.68