In auto-tests, @code_hash controls bytecode stability. In legacy tests, expected hashes are specified in a separate file.
@code_hash to match (boc) hash of compiled.fif against expected. While being much less flexible than @fif_codegen, it nevertheless gives a guarantee of bytecode stability on compiler modifications.