MCPcopy
hub / github.com/evalplus/evalplus / _ready_mbpp_plus_path

Function _ready_mbpp_plus_path

evalplus/data/mbpp.py:20–31  ·  view source on GitHub ↗
(mini=False, noextreme=False, version="default")

Source from the content-addressed store, hash-verified

18
19
20def _ready_mbpp_plus_path(mini=False, noextreme=False, version="default") -> str:
21 assert mini is False, "Mini version of MBPP+ is not available yet."
22
23 if MBPP_OVERRIDE_PATH:
24 return MBPP_OVERRIDE_PATH
25
26 version = MBPP_PLUS_VERSION if version == "default" else version
27
28 url, plus_path = get_dataset_metadata("MbppPlus", version, mini, noextreme)
29 make_cache(url, plus_path)
30
31 return plus_path
32
33
34def mbpp_serialize_inputs(task_id: str, inputs: list) -> list:

Callers 3

filter_extreme.pyFile · 0.90
get_mbpp_plusFunction · 0.85
get_mbpp_plus_hashFunction · 0.85

Calls 2

get_dataset_metadataFunction · 0.90
make_cacheFunction · 0.90

Tested by

no test coverage detected