(mini=False, noextreme=False, version="default")
| 18 | |
| 19 | |
| 20 | def _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 | |
| 34 | def mbpp_serialize_inputs(task_id: str, inputs: list) -> list: |
no test coverage detected