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

Function turn_all_list_into_tuple

evalplus/data/mbpp.py:148–151  ·  view source on GitHub ↗
(inp)

Source from the content-addressed store, hash-verified

146 elif task_id in [580, 615, 791]:
147
148 def turn_all_list_into_tuple(inp):
149 if isinstance(inp, list):
150 return tuple([turn_all_list_into_tuple(item) for item in inp])
151 return inp
152
153 modified_inputs = [turn_all_list_into_tuple(inp) for inp in inputs]
154

Callers 1

mbpp_deserialize_inputsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected