def results(self, value):
        """
        Set the results directly, with automatic type detection for 'unknown' items
        Handles the format: [('unknown', {...}), ('unknown', {...})]
        """
        self._results_in_order = []

        if not isinstance(value, list):
            raise ValueError("Results must be a list")

        for item in value:
            if isinstance(item, tuple) and len(item) == 2:
                source_type, result_obj = item

                # Only auto-detect if the source type is "unknown"
                if source_type == "unknown":
                    detected_type = self._detect_result_type(result_obj)
                    self._results_in_order.append((detected_type, result_obj))
                else:
                    self._results_in_order.append((source_type, result_obj))
            else:
                # If not a tuple, detect and add
                detected_type = self._detect_result_type(item)
                self._results_in_order.append((detected_type, item))

        Set the results directly, with automatic type detection for 'unknown' items
        Handles the format: [('unknown', {...}), ('unknown', {...})]
        
py/shared/utils/base_utils.py