I am preparing my replication files for an article that has been accepted subject to replication checks. My code relies on a number of user written commands, and the journal's replication policy requires that these are supplied with the replication package. The difficulty is that it is hard for me to test whether what I have included is correct, and produces the exact same results given my very full ado folder. Is there any way to restrict where Stata looks for ado files (I know how to add folders, but this seems different)?

Beyond specifying the random number seed, I wondered if the community had any further advice on best practice for replication files. If it matters I prefer to use an approach that is agnostic about the particular version of Stata.

Thanks,

Stu.