Files
2026-09-04 14:58:42 +08:00

15 lines
325 BLFS
Bash

#!/bin/bash
# Run the test suite for gravitational wave detection task
cd /root
# Run pytest with CTRF reporting
pytest --ctrf /logs/verifier/ctrf.json /verifier/test_outputs.py -rA
# Write reward based on test result
if [ $? -eq 0 ]; then
echo 1 > /logs/verifier/reward.txt
else
echo 0 > /logs/verifier/reward.txt
fi