MCPcopy Create free account
hub / github.com/deepseek-ai/DeepSeek-Coder / _test

Function _test

Evaluation/PAL-Math/utils/python_executor.py:167–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165
166
167def _test():
168 batch_code = [
169 """
170 print("Hello world!")
171 """
172 ]
173
174 executor = PythonExecutor(get_answer_from_stdout=True)
175 predictions = executor.apply(batch_code[0])
176 print(predictions)
177
178
179if __name__ == '__main__':

Callers 1

python_executor.pyFile · 0.85

Calls 2

applyMethod · 0.95
PythonExecutorClass · 0.85

Tested by

no test coverage detected