code: def test_conversation_chain_handler_filters_parent_ids(
      df_with_nan, cfg
  ):
      for i in range(len(df_with_nan)):
          df_with_nan_1 = df_with_nan.copy()
          df_with_nan_1.loc[i, "parent_id"] = "MISSING"
  
          handler_1 = ConversationChainHandler(df_with_nan_1, cfg)
          df_with_nan_2 = df_with_nan.copy()
          df_with_nan_2.loc[i, "parent_id"] = "None"
  
          handler_2 = ConversationChainHandler(df_with_nan_2, cfg)
          assert (
              handler_1.conversation_chain_ids
              == handler_2.conversation_chain_ids
          )
  
file_path: h2o-llmstudio/tests/src/datasets/test_conversation_chain_handler.py
imports: import time
  from unittest import mock
  from unittest.mock import MagicMock
  import pandas
  import pytest
  from llm_studio.app_utils.default_datasets import prepare_default_dataset_causal_language_modeling
  from llm_studio.src.datasets.conversation_chain_handler import ConversationChainHandler
label_desc: Use image node_id 10 for calling a global function with example usage: test_conversation_chain_handler_filters_parent_ids(df_with_nan, cfg) without return types