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

Function get_atol

tools/mbpp/init_plus.py:104–128  ·  view source on GitHub ↗
(task_id: int)

Source from the content-addressed store, hash-verified

102
103
104def get_atol(task_id: int) -> float:
105 float_ans_list = [
106 82,
107 85,
108 98,
109 120,
110 124,
111 137,
112 139,
113 163,
114 233,
115 246,
116 248,
117 276,
118 293,
119 300,
120 312,
121 442,
122 574,
123 742,
124 746,
125 ]
126 if task_id in float_ans_list:
127 return 1e-4
128 return 0
129
130
131if __name__ == "__main__":

Callers 1

init_plus.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected