code: def node_evaluator(
      consistent_id_object_repository: ConsistentIdObjectRepository,
      simple_semantic_manifest_lookup: SemanticManifestLookup,
      dataflow_plan_builder: DataflowPlanBuilder,
  ) -> NodeEvaluatorForLinkableInstances:  # noqa: D
      """Return a node evaluator using the nodes in semantic_model_name_to_nodes."""
      node_data_set_resolver: DataflowPlanNodeOutputDataSetResolver = DataflowPlanNodeOutputDataSetResolver(
          column_association_resolver=DunderColumnAssociationResolver(
              simple_semantic_manifest_lookup
          ),
          semantic_manifest_lookup=simple_semantic_manifest_lookup,
      )
  
      source_nodes = tuple(
          consistent_id_object_repository.simple_model_read_nodes.values()
      )
  
      return NodeEvaluatorForLinkableInstances(
          semantic_model_lookup=simple_semantic_manifest_lookup.semantic_model_lookup,
          # Use all nodes in the simple model as candidates for joins.
          nodes_available_for_joins=source_nodes,
          node_data_set_resolver=node_data_set_resolver,
      )
  
imports: from __future__ import annotations
  import logging
  from typing import Sequence
  import pytest
  from dbt_semantic_interfaces.type_enums.time_granularity import TimeGranularity
  from metricflow.dataflow.builder.dataflow_plan_builder import DataflowPlanBuilder
  from metricflow.dataflow.builder.node_data_set import DataflowPlanNodeOutputDataSetResolver
  from metricflow.dataflow.builder.node_evaluator import JoinLinkableInstancesRecipe, LinkableInstanceSatisfiabilityEvaluation, NodeEvaluatorForLinkableInstances
  from metricflow.dataflow.builder.partitions import PartitionTimeDimensionJoinDescription
  from metricflow.dataflow.dataflow_plan import BaseOutput, ValidityWindowJoinDescription
  from metricflow.dataset.dataset import DataSet
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.plan_conversion.column_resolver import DunderColumnAssociationResolver
  from metricflow.plan_conversion.node_processor import PreJoinNodeProcessor
  from metricflow.specs.specs import DimensionSpec, EntityReference, EntitySpec, LinkableInstanceSpec, LinklessEntitySpec, TimeDimensionSpec
  from metricflow.sql.sql_plan import SqlJoinType
  from metricflow.test.fixtures.model_fixtures import ConsistentIdObjectRepository
label_desc: Use image node_id 1 for calling a global function with example usage: node_evaluator(consistent_id_object_repository, simple_semantic_manifest_lookup, dataflow_plan_builder) and returns: NodeEvaluatorForLinkableInstances