mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-08-26 17:12:03 +00:00
Some checks failed
Test / Run Python Tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Co-authored-by: bytecii <bytecii@users.noreply.github.com> Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
26 lines
649 B
Bash
Executable file
26 lines
649 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
echo "========================================="
|
|
echo "Running Eigent Benchmark Evaluation"
|
|
echo "========================================="
|
|
|
|
WORKING_DIR="${WORKING_DIR:-/workspace}"
|
|
|
|
set +e
|
|
python3 /tests/evaluate.py \
|
|
--config /tests/config.json \
|
|
--working-dir "$WORKING_DIR" \
|
|
--output-dir /logs/verifier
|
|
eval_exit=$?
|
|
set -e
|
|
|
|
echo "========================================="
|
|
echo "Evaluation completed with exit code: $eval_exit"
|
|
echo "========================================="
|
|
|
|
if [ $eval_exit -ne 0 ] && [ ! -f /logs/verifier/reward.txt ]; then
|
|
echo "0.0" > /logs/verifier/reward.txt
|
|
fi
|
|
|
|
exit 0
|