- If you encounter a timeout during the evaluation of Go, please use the following command when creating the container.
```shell
docker run -it-p 5000:5000 -eGO111MODULE=on -eGOPROXY=https://goproxy.io code-eval-{your-dataset}:latest python server.py
```
```
4. To ensure you have access to the service, use the following command to check the inference environment and evaluation service connection status. (If both inferences and code evaluations run on the same host, skip this step.)
4. To ensure you have access to the service, use the following command to check the inference environment and evaluation service connection status. (If both inferences and code evaluations run on the same host, skip this step.)
...
@@ -205,7 +213,7 @@ When supporting new datasets or modifying post-processors, it is possible that m
...
@@ -205,7 +213,7 @@ When supporting new datasets or modifying post-processors, it is possible that m
1. Remove the installation of the `code-evaluator` in `Dockerfile`, mount the `code-evaluator` when starting the container instead:
1. Remove the installation of the `code-evaluator` in `Dockerfile`, mount the `code-evaluator` when starting the container instead:
```shell
```shell
sudo docker run -it-p 5000:5000 -v /local/path/of/code-evaluator:/workspace/code-evaluator code-eval:latest bash
docker run -it-p 5000:5000 -v /local/path/of/code-evaluator:/workspace/code-evaluator code-eval:latest bash
```
```
2. Install and start the code evaluation service locally. At this point, any necessary modifications can be made to the local copy of the `code-evaluator`.
2. Install and start the code evaluation service locally. At this point, any necessary modifications can be made to the local copy of the `code-evaluator`.