code: def test_triage_root_ready(self, status: str, space: Space):
      pbt = _create_algo(space).unwrap(PBT)
  
      trial = sample_trials(pbt.space, num=1, status="new")[0]
  
      pbt.register(trial)
  
      trial.status = status
      trial._results.append(
          Trial.Result(name="objective", type="objective", value=1)
      )
  
      trials_to_verify = pbt._triage([trial])
  
      assert trials_to_verify == [trial]
  
      assert pbt.has_suggested(trial)
      assert pbt.has_observed(trial)
      assert len(pbt.lineages) == 1
  
imports: from __future__ import annotations
  import functools
  import logging
  from typing import ClassVar
  import numpy
  import pytest
  from base import ExploitStub, ExploreStub, sample_trials
  from pytest_mock import MockerFixture
  from orion.algo.pbt.pbt import PBT, compute_fidelities
  from orion.algo.space import Space
  from orion.core.worker.primary_algo import SpaceTransform, create_algo
  from orion.core.worker.transformer import ReshapedSpace, TransformedSpace
  from orion.core.worker.trial import Trial
  from orion.testing.algo import BaseAlgoTests, TestPhase
label_desc: Use image node_id 3 for calling the TestPBTObserve obj's underlying member method code with example usage: obj.test_triage_root_ready(status, space) without return types