Get the hash of HumanEvalPlus. Returns: str: The hash of HumanEvalPlus
(mini=False, noextreme=False, version="default")
| 29 | |
| 30 | |
| 31 | def get_human_eval_plus_hash(mini=False, noextreme=False, version="default") -> str: |
| 32 | """Get the hash of HumanEvalPlus. |
| 33 | Returns: |
| 34 | str: The hash of HumanEvalPlus |
| 35 | """ |
| 36 | plus_path = _ready_human_eval_plus_path(mini, noextreme, version="default") |
| 37 | with open(plus_path, "rb") as f: |
| 38 | plus = f.read() |
| 39 | return hashlib.md5(plus).hexdigest() |
| 40 | |
| 41 | |
| 42 | def get_human_eval_plus( |
no test coverage detected