code: def build_one_tree_treebank(fake_scores=True):
      text = "((S (VP (VB Unban)) (NP (NNP Mox) (NNP Opal))))"
      trees = tree_reader.read_trees(text)
      assert len(trees) == 1
      gold = trees[0]
      if fake_scores:
          prediction = (gold, 1.0)
          treebank = [ParseResult(gold, [prediction], None, None)]
          return treebank
      else:
          prediction = gold
          return collate([gold], [prediction])
  
file_path: stanza/stanza/tests/server/test_parser_eval.py
imports: import pytest
  import stanza
  from stanza.models.constituency import tree_reader
  from stanza.protobuf import EvaluateParserRequest, EvaluateParserResponse
  from stanza.server.parser_eval import build_request, collate, EvaluateParser, ParseResult
  from stanza.tests.server.test_java_protobuf_requests import check_tree
  from stanza.tests import *
label_desc: Use image node_id 1 for calling a global function with example usage: build_one_tree_treebank(fake_scores) and returns: treebank, collate