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

Function get_evalplus_data

evalplus/evalperf.py:86–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84
85
86def get_evalplus_data():
87 problems_he = get_human_eval_plus(noextreme=True)
88 dataset_hash = get_human_eval_plus_hash(noextreme=True)
89 expected_output_human = get_groundtruth(problems_he, dataset_hash, [])
90 problems_mbpp = get_mbpp_plus(noextreme=True)
91 dataset_hash = get_mbpp_plus_hash(noextreme=True)
92 expected_output_mbpp = get_groundtruth(
93 problems_mbpp,
94 dataset_hash,
95 MBPP_OUTPUT_NOT_NONE_TASKS,
96 )
97 problems = {**problems_he, **problems_mbpp}
98 expected_output = {**expected_output_human, **expected_output_mbpp}
99 return problems, expected_output
100
101
102def table_print(table_name: str, kv: Dict):

Callers 1

scriptFunction · 0.85

Calls 5

get_human_eval_plusFunction · 0.90
get_human_eval_plus_hashFunction · 0.90
get_groundtruthFunction · 0.90
get_mbpp_plusFunction · 0.90
get_mbpp_plus_hashFunction · 0.90

Tested by

no test coverage detected