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

Function construct_inputs_sig

tools/_experimental/evaluate_coverage.py:17–24  ·  view source on GitHub ↗
(inputs: list)

Source from the content-addressed store, hash-verified

15
16
17def construct_inputs_sig(inputs: list) -> str:
18 str_builder = ""
19 for x in inputs:
20 if type(x) == str:
21 str_builder += f"'{to_raw(x)}',"
22 else:
23 str_builder += f"{x},"
24 return str_builder[:-1]
25
26
27class Capturing(list):

Callers 1

safety_testFunction · 0.85

Calls 1

to_rawFunction · 0.90

Tested by

no test coverage detected