introduce compute_param_mapping_hash helper