async def test_end_to_end_evaluation_script_unknown_entity(default_agent: Agent):
    generator = (await _create_data_generator(E2E_STORY_FILE_UNKNOWN_ENTITY, default_agent, use_e2e=True))
    completed_trackers = generator.generate_story_trackers()
    (story_evaluation, num_stories) = (await _collect_story_predictions(completed_trackers, default_agent, use_e2e=True))
    assert story_evaluation.evaluation_store.has_prediction_target_mismatch()
    assert (len(story_evaluation.failed_stories) == 1)
    assert (num_stories == 1)
async def test_end_to_end_evaluation_script_unknown_entity(default_agent: Agent):
    generator = (await _create_data_generator(E2E_STORY_FILE_UNKNOWN_ENTITY, default_agent, use_e2e=True))
    completed_trackers = generator.generate_story_trackers()
    (story_evaluation, num_stories) = (await _collect_story_predictions(completed_trackers, default_agent, use_e2e=True))
    assert story_evaluation.evaluation_store.has_prediction_target_mismatch()
    assert (len(story_evaluation.failed_stories) == 1)
    assert (num_stories == 1)