code: def get_experiments(builder, args):
      """Return the different experiments.
  
      Parameters
      ----------
      args: dict
          Commandline arguments.
  
      """
      projection = {"name": 1, "version": 1, "refers": 1}
  
      query = {"name": args["name"]} if args.get("name") else {}
      experiments = builder.storage.fetch_experiments(query, projection)
  
      if args["name"]:
          root_experiments = experiments
      else:
          root_experiments = [
              exp
              for exp in experiments
              if exp["refers"].get("root_id", exp["_id"]) == exp["_id"]
          ]
  
      return [
          builder.load(name=exp["name"], version=exp.get("version", 1))
          for exp in root_experiments
      ]
  
file_path: orion/src/orion/core/cli/status.py
imports: import collections
  import logging
  import tabulate
  from orion.core.cli import base
  from orion.core.io import experiment_builder
label_desc: Use image node_id 4 for calling a global function with example usage: get_experiments(builder, args) and returns: unknown