#!/bin/sh set -eu # Only root may create, replace or remove files in /logs/verifier while grading runs, so no process of the method's # account, during or after its runs, can write a score file there. mkdir -p /logs/verifier chown root:root /logs/verifier chmod 0755 /logs/verifier # /logs/verifier is shared with the agent container: clear leftover score files before grading. # reward_scale.py clears them again and writes its own without following links. rm -rf /logs/verifier/reward.json /logs/verifier/reward.txt /logs/verifier/score_details.json exec python3 /tests/reward_scale.py