# Make eval more resilient to bad input from LLM \(\#29703\) · gitcafe/zed

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

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

Visibility: public

Requested revision: afeb3d4fd94fae5cfc635e8a4f6eb56c8aae67fd

Requested commit: afeb3d4fd94fae5cfc635e8a4f6eb56c8aae67fd

Commit: afeb3d4fd94fae5cfc635e8a4f6eb56c8aae67fd

Tree: fe3cb5b256a7c49ec1500776a31587abfaef3035

Author: Richard Feldman

Committer: GitHub

## Message

```
Make eval more resilient to bad input from LLM (#29703)

I saw a slice panic (for begin > end) in a debug build of the eval. This
should just be a failed assertion, not a panic that takes out the whole
eval run!

Release Notes:

- N/A
```

## Parents

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

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