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

Function execute

tools/filter_inputs.py:8–14  ·  view source on GitHub ↗
(code, input_list)

Source from the content-addressed store, hash-verified

6
7
8def execute(code, input_list) -> bool:
9 try:
10 trusted_exec(code, [input_list], entry_point)
11 except Exception as e:
12 assert str(e) == "invalid inputs"
13 return False
14 return True
15
16
17def write(new_input_dict):

Callers 1

filter_inputs.pyFile · 0.85

Calls 1

trusted_execFunction · 0.90

Tested by

no test coverage detected