@classmethod
def build(cls, trial_entries):
    """Builder method for a list of trials.

        :param trial_entries: List of trial representation in dictionary form,
           as expected to be saved in a database.

        :returns: a list of corresponding `Trial` objects.
        """
    trials = []
    for entry in trial_entries:
        trials.append(cls(**entry))
    return trials
