Download research/problems/gemm_optimization/rectangles/evaluate.sh from FrontierCS/Frontier-CS: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/datasets/FrontierCS/Frontier-CS/resolve/refs%2Fpr%2F3/research/problems/gemm_optimization/rectangles/evaluate.sh
- Command line
-
hf download hf://datasets/FrontierCS/Frontier-CS@refs/pr/3/research/problems/gemm_optimization/rectangles/evaluate.sh
-
curl -L -o evaluate.sh https://huggingface.co/datasets/FrontierCS/Frontier-CS/resolve/refs%2Fpr%2F3/research/problems/gemm_optimization/rectangles/evaluate.sh
438 Bytes
| set -euo pipefail | |
| SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | |
| cd "$SCRIPT_DIR" | |
| EXEC_ROOT="/work/execution_env" | |
| SOLUTION_PATH="$EXEC_ROOT/solution_env/solution.py" | |
| # Run the evaluator | |
| python3 evaluator.py --solution-path "$SOLUTION_PATH" --output-path ./result.json | |
| # Check if evaluation succeeded | |
| if [ ! -f "./result.json" ]; then | |
| echo "Evaluation failed - no result file generated" | |
| exit 1 | |
| fi | |