Skip to content

ep: Add LCS-based recall - #53509

Merged
osyvokon merged 2 commits into
mainfrom
ep-account-for-deleted-chars
Apr 10, 2026
Merged

osyvokon merged 2 commits into
mainfrom
ep-account-for-deleted-chars

Conversation

@osyvokon

@osyvokon osyvokon commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

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:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • N/A

This PR adds `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".
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Apr 9, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label Apr 9, 2026
@osyvokon

osyvokon commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

@probably-neb This change mostly adds metrics (recall and the number of correctly deleted chars), but it also renames telemetry keys you've just added. I hope it's fine, but let me know if it's not.

@osyvokon
osyvokon merged commit c788dc5 into main Apr 10, 2026
31 checks passed
@osyvokon
osyvokon deleted the ep-account-for-deleted-chars branch April 10, 2026 16:29
piper-of-dawn pushed a commit to piper-of-dawn/zed that referenced this pull request Apr 25, 2026
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
Zenor27 pushed a commit to Zenor27/zed that referenced this pull request Jul 4, 2026
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
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants