I can implement a basic behave_differently.sh
head -c 1024 /dev/urandom
paradox.sh paradox.sh will be different than paradox.sh paradox.sh head -c 1024 /dev/urandom
paradox.sh paradox.sh will be different than paradox.sh paradox.shNo, the heat death might be _more likely_ to happen first, but it's not guaranteed.
sleep 1
date
but the intended requirement of behave_differently is that it produces
different output when run on a computer in exactly the same state. Or equivalently, that the program doesn't depend on the computer state, which is true in the more formal setting of universal Turing machines that start from a fixed state.Imagine my_program.sh says: echo "2022-02-26 10:30:00" and you run your version of behave_differently.sh at 10:29:59 on the 26/2. Then the output is the same.
I think that's the problem here.