Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/evalplus/evalplus
/ poly
Function
poly
tools/humaneval/fix_v014.py:8–9 ·
view source on GitHub ↗
(xs, x)
Source
from the content-addressed store, hash-verified
6
7
8
def
poly(xs, x):
9
return
sum([coeff * math.pow(x, i)
for
i, coeff in enumerate(xs)])
10
11
12
def
check_valid(xs):
Callers
3
func
Function · 0.85
derivative
Function · 0.85
check_valid
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected