# ep: Add LCS-based recall \(\#53509\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c788dc52174aa1d54cf987c0c61f9ad455dfda40)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c788dc52174aa1d54cf987c0c61f9ad455dfda40

Requested commit: c788dc52174aa1d54cf987c0c61f9ad455dfda40

Commit: c788dc52174aa1d54cf987c0c61f9ad455dfda40

Tree: c6ab08292e99d0eca2c61ebd215f0515b11fed1d

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
ep: Add LCS-based recall (#53509)

This PR adds the `correctly_deleted_chars` field and updates `kept_rate`
to account for it, not just inserted chars.

It also adds `recall_rate` to measure coverage of reference
insertions/deletions.

Finally, it renames "final" to "reference" and "prediction" to
"candidate".

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- N/A
```

## Parents

- [2d3f49e4b265c6d074b0d3316806a454fccabeb8](https://git.cafe/gitcafe/zed/commit/2d3f49e4b265c6d074b0d3316806a454fccabeb8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c788dc52174aa1d54cf987c0c61f9ad455dfda40?format=markdown)
