harbor run -t openthoughts/tasktrove-selfinstruct-naive-sandboxes-2-verified-selfinstruct-naive-06042
harbor download openthoughts/tasktrove-selfinstruct-naive-sandboxes-2-verified-selfinstruct-naive-06042
You are tasked with a tiny terminal pipeline that takes a random integer and reduces it to an identifier by hashing it.
Goal
Environment
Steps
Generate a random number and compute the hash in a single command (a one-liner): NUM=$RANDOM; printf "%s" "$NUM" | md5sum | cut -d ' ' -f1
Alternatively, write a tiny script named hash_random.sh:
Make executable: chmod +x hash_random.sh
Run it: ./hash_random.sh
Expected output: a 32-character hexadecimal string, representing the MD5 hash of the decimal representation of the random number.
Notes
Deliverables