format-diagnose