in scripts/metric_reporter/reporter/base_reporter.py [0:0]
def dict_with_fieldnames(self) -> dict[str, Any]:
"""Convert the result to a dictionary with field names.
Returns:
dict[str, Any]: Dictionary representation of the result.
"""
raise NotImplementedError("Subclasses must implement this method.")