2222from idp_common import image , metrics , s3 , utils
2323from idp_common .assessment .models import AssessmentResult , AssessmentTask
2424from idp_common .assessment .strands_executor import execute_assessment_tasks_parallel
25+ from idp_common .assessment .strands_service import _convert_field_path_to_string
2526from idp_common .config .models import IDPConfig
2627from idp_common .config .schema_constants import (
2728 SCHEMA_ITEMS ,
@@ -305,7 +306,7 @@ def _traverse(
305306 task_id = f"task_{ task_counter [0 ]} " ,
306307 task_type = "attribute" ,
307308 field_path = item_path ,
308- field_name = prop_name ,
309+ field_name = _convert_field_path_to_string ( item_path ) ,
309310 field_schema = items_schema ,
310311 confidence_threshold = threshold ,
311312 parent_assessment_dict = assessment_list , # type: ignore
@@ -328,7 +329,7 @@ def _traverse(
328329 task_id = f"task_{ task_counter [0 ]} " ,
329330 task_type = "attribute" ,
330331 field_path = field_path ,
331- field_name = prop_name ,
332+ field_name = _convert_field_path_to_string ( field_path ) ,
332333 field_schema = prop_schema ,
333334 confidence_threshold = threshold ,
334335 parent_assessment_dict = parent_dict ,
0 commit comments