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

Function get_atol

tools/humaneval/init_plus.py:84–89  ·  view source on GitHub ↗
(task_id: int)

Source from the content-addressed store, hash-verified

82
83
84def get_atol(task_id: int) -> float:
85 if task_id == 2 or task_id == 4:
86 return 1e-6
87 elif task_id == 32:
88 return 1e-4
89 return 0
90
91
92if __name__ == "__main__":

Callers 1

init_plus.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected