code: def three_family_with_trials(
      three_experiments_family, family_with_trials, orionstate
  ):
      """Create three experiments, all related, two direct children, with all types of trials."""
      exp = experiment_builder.build(
          name="test_double_exp_child2", storage=orionstate.storage
      )
      x = {"name": "/x", "type": "real"}
      z = {"name": "/z", "type": "real"}
  
      x_value = 0
      for status in Trial.allowed_stati:
          x["value"] = x_value + 0.75  # To avoid duplicates
          z["value"] = x_value * 100
          trial = Trial(experiment=exp.id, params=[x, z], status=status)
          x_value += 1
          orionstate.database.write("trials", trial.to_dict())
  
imports: import copy
  import os
  import pickle
  import zlib
  from collections import Counter
  from tempfile import NamedTemporaryFile
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  import orion.core.utils.backward
  from orion.core.worker.trial import Trial
  from orion.storage.backup import _get_exp_key, dump_database, get_experiment_parent_links, get_experiment_root_links, get_trial_parent_links
label_desc: Use image node_id 19 for calling a global function with example usage: three_family_with_trials(three_experiments_family, family_with_trials, orionstate) without return types