# Fix some issues with edit prediction CLI \(\#46197\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8ca638150a78a965629396f18705ee4736fa0167

Requested commit: 8ca638150a78a965629396f18705ee4736fa0167

Commit: 8ca638150a78a965629396f18705ee4736fa0167

Tree: f1d523d80111a3b982a0eae3a62cca1601c5e597

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix some issues with edit prediction CLI (#46197)

* Added `--repo` and `--name` flags for running only examples with a
specific name, or repo (substring matching)
* Fixed a race condition that caused hangs when running multiple
examples at the same repo and sha
* Fixed a bug where scoring was completely wrong because I had passed
the arguments to `apply_diff_to_string` in the wrong order
* The current evals now run quickly and without errors.

Release Notes:

- N/A
```

## Parents

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

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