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

Function _ready_human_eval_plus_path

evalplus/data/humaneval.py:18–28  ·  view source on GitHub ↗
(mini=False, noextreme=False, version="default")

Source from the content-addressed store, hash-verified

16
17
18def _ready_human_eval_plus_path(mini=False, noextreme=False, version="default") -> str:
19 if HUMANEVAL_OVERRIDE_PATH:
20 return HUMANEVAL_OVERRIDE_PATH
21
22 version = HUMANEVAL_PLUS_VERSION if version == "default" else version
23 url, plus_path = get_dataset_metadata(
24 "HumanEvalPlus", HUMANEVAL_PLUS_VERSION, mini, noextreme
25 )
26 make_cache(url, plus_path)
27
28 return plus_path
29
30
31def get_human_eval_plus_hash(mini=False, noextreme=False, version="default") -> str:

Callers 2

get_human_eval_plus_hashFunction · 0.85
get_human_eval_plusFunction · 0.85

Calls 2

get_dataset_metadataFunction · 0.90
make_cacheFunction · 0.90

Tested by

no test coverage detected