Metadata writes for every trial