"""Auto-generated stub for module: result_formatter."""
from typing import Any

# Constants
MetricPayload: Any

# Functions
def format_classification_results(split: str, predictions: Any, output: Any, target: Any, index_to_labels: Any[str, str], metric_functions: Any[str, Any]) -> Any:
    """
    Build standardized single-label classification metric payload.
    """
    ...
def format_detection_results(split: str, precision: Any[Any], recall: Any[Any], f1_score: Any[Any], index_to_labels: Any[str, str], mAP50: Any | None = None, mAP50_95: Any | None = None) -> Any:
    """
    Build standardized detection payload from per-class vectors.
    """
    ...
def format_keypoint_results(split: str, keypoint_names: Any[str] | None = None, mAP: Any | None = None, mAP50: Any | None = None, oks_mAP: Any | None = None, pck: Any | None = None, per_keypoint_pck: Any[Any] | None = None) -> Any:
    """
    Build keypoint/pose estimation payload.
    """
    ...
def format_multilabel_results(split: str, per_class_precision: Any[Any], per_class_recall: Any[Any], per_class_f1: Any[Any], macro_f1: Any | None, micro_f1: Any | None, mAP: Any | None, index_to_labels: Any[str, str]) -> Any:
    """
    Build multi-label classification payload.
    """
    ...
def format_ocr_results(split: str, cer: Any | None = None, wer: Any | None = None, precision: Any | None = None, recall: Any | None = None, f1_score: Any | None = None) -> Any:
    """
    Build OCR/text pipeline payload.
    """
    ...
def format_tracking_results(split: str, mota: Any | None = None, motp: Any | None = None, idf1: Any | None = None, hota: Any | None = None, fp: Any | None = None, fn: Any | None = None, ids: Any | None = None) -> Any:
    """
    Build MOT-style tracking payload.
    """
    ...
def format_yolo_results(yolo_result: Any, split: str) -> Any:
    """
    Build detection payload from Ultralytics YOLO validation result object.
    """
    ...
