It does a before/after comparison. Fetch the LSP error state, apply all edits, fetch it again, diff