diagnostics_to_metadata

diagnostics_to_metadata(before, after)

Serialize axis diagnostics for .dyf metadata.

Parameters

before : list[AxisDiagnostic] Diagnostics from the first pass. after : list[AxisDiagnostic] Diagnostics from the second pass.

Returns

metadata : dict[str, str] Keys axis_diagnostics_before and axis_diagnostics_after, each a JSON string.