Download tasks/format-code-task-000022/tests/test.patch from FineEnvs/MiMo-V2.6-RL-harbor-code: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/resolve/main/tasks/format-code-task-000022/tests/test.patch
- Command line
-
hf download hf://datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/tasks/format-code-task-000022/tests/test.patch
-
curl -L -o test.patch https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/resolve/main/tasks/format-code-task-000022/tests/test.patch
1.51 kB
| diff --git a/tests/functional/test_accounts.py b/tests/functional/test_accounts.py | |
| index f3f387c7bb..2d32cc5e16 100644 | |
| --- a/tests/functional/test_accounts.py | |
| +++ b/tests/functional/test_accounts.py | |
| def test_recover_signer(signer, message): | |
| def test_sign_eip712_message(signer): | |
| foo = Foo(signer.address) # type: ignore[call-arg] | |
| - message = foo.signable_message | |
| - signature = signer.sign_message(message) | |
| - assert signer.check_signature(message, signature) | |
| + signature = signer.sign_message(foo) | |
| + assert signer.check_signature(foo, signature) | |
| def test_sign_message_with_prompts(runner, keyfile_account, message): | |
| diff --git a/mimo_build_env.tar.gz.b64 b/mimo_build_env.tar.gz.b64 | |
| new file mode 100644 | |
| --- /dev/null | |
| +++ b/mimo_build_env.tar.gz.b64 | |
| +H4sIAAAAAAAAA+3S3YrCMBAF4F73KUb22vzURh9H0jRLCzaRJin49qYV3EVwvVEWd8930QnthCac | |
| +YU3qD+3euokXryKynVJLzW7rspaqkpUUstrl91KqXEi97ETfpBD1SFSM3sef+h59f1PsK/9oQ9wb | |
| +PwzatSx0z/vHo/yl2l7zF5s6519vRV2QeN4R7vvn+X+seNM73ujQlaalZQga25bBp9FY4vO1OZvm | |
| ++Zj7tIn9pKMtj6fYeUfrgfIq76H5EfhncrnDO324jJM2xicXAzueaD2Vv31bAAAAAAAAAAAAAAAA | |
| +AAAAAIC/5QyAQt2qACgAAA== | |
| diff --git a/mimo_test_command.sh b/mimo_test_command.sh | |
| new file mode 100755 | |
| --- /dev/null | |
| +++ b/mimo_test_command.sh | |
| +#!/usr/bin/env bash | |
| + | |
| +set -uo pipefail | |
| +cd /testbed || exit 1 | |
| +base64 -d mimo_build_env.tar.gz.b64 | tar -xzf - -C /testbed || exit 1 | |
| +exec bash -lc 'cd /testbed && bash -eo pipefail /testbed/.build_env/test_command.sh' | |