# Improve support for collecting edit prediction training and eval examples \(\#45914\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9a79cb8ba1919773e809e08266874e6f8793279a

Requested commit: 9a79cb8ba1919773e809e08266874e6f8793279a

Commit: 9a79cb8ba1919773e809e08266874e6f8793279a

Tree: 517e1261f770b5cc26e0a8752d0c4259c28c486f

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Improve support for collecting edit prediction training and eval examples (#45914)

* Fix some bugs in capture of EP examples from running app
* Tweak markdown format for EP examples
    * Store repo and revision in TOML front matter
    * Represent cursor position using a comment line
* Allow multiple expected patches in evals
* Remove line-based scoring criteria for evals
* Add a `synthesize` subcommand to the EP cli that generates examples
from git commits

Release Notes:

- N/A
```

## Parents

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

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