Data diagnostics and remedial measures