#!/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